I'm working on something just now that requires info from different excel sheets, here goes...
sheet 1 has 2 cells, cell a is a drop down with a choice of "unique" and "team"
Where "unique" is chosen, I want cell b to display the data from a seperate workbook
Where "team" is chosen, I want cell b to display the data from a cell on the same sheet
is this possible? does it even make sense?
Al
Related
I'm sure this is simple, but I can't figure it out and am not very familiar with macros...
I have a workbook that has 5 sheets.
Sheet 1 - Has all employee name (2 cells - first and last name) with a lot of info
Sheet 2 to 4 - Has the employees divided up across these three sheets.
What I want to do:
If the employee first,last name on Sheet 1 matches the first,last name on sheet 2,3 or 4 then copy cells f,g,h,i,j,k,l from that row in sheet 1 to corresponding sheet 2-4 where name is found.
I hope that makes sense.... Basically, transfer/copy employee row from main sheet to sheet 2, 3, or 4.
If sheet1 a2 and b2=sheet2 b15 and c15 then copy sheet 1 f2,g2,h2,i2,j2,k2,l2 to sheet2's n15,o15,p15,q15,r15,s15,t15.
I've tried: =INDEX(RN!All_Original!F,MATCH(C3:D3,All_Original!C:D,0))
Thanks!!
I think you're getting there with the Index/Match you showed. I don't know how your data is laid out, but I think you're just a few small keys.
I have "Sheet1", which is this:
And in "Sheet2", we have:
So, we want to fill in, automatically, the "Fun Fact" for whoeever the person is, in this case Kobe Bryant. You can use this formula:
=INDEX(Sheet1!$C$2:$D$5,MATCH($A2&$B2,Sheet1!$A$2:$A$5&Sheet1!$B$2:$B$5,0),MATCH(C$1,Sheet1!$C$1:$D$1,0))
(Enter as an array, with CTRL+SHIFT+ENTER)
If you change "Fun Fact" to "Favorite Food", it will update with "Italian". You can use this formula on your other sheets. Obviously, you will need to adjust the range(s) as necessary.
Edit: Note that the range sizes in the formula must be the same size, for it to work properly. My last row is always 5. So, always use that range.
I have a massive excel document with multiple sheets I need help importing data with from one sheet to another.
In sheet 1 there is a list of entities and what the affiliation's of those entities are. On sheet 2 there is the same list of entities and column name describing each affliction. My goal is to have a formula which looks at each affiliation's and marks a Yes where the Colum name representing the affliction is.
An example of what I mean is:
There is one sheet (sheet 1) which has a column named "Student", and another column next to it named "Favorite color" there are about 4000 (rows) student's information. Some students might have more then one favorite color, but in that case there are 2 entries of the student in the sheet. On another sheet(sheet 2) there is the same column "Student" but there are several columns with each color of the rainbow (Red, Blue, Green etc) these columns have to be marked with a yes or a no. I need to read back into sheet 1 and mark a yes on the 2nd sheet depending on the color described on sheet one.
A VLOOKUP will not suffice when the student can have two "favourite colours". Instead, assuming the same sheet format as #Nelly27281, you can use a COUNTIFS in the following way:
=IF(COUNTIFS(Sheet1!$A:$A,$A2,Sheet1!$B:$B,B$1)>0,"YES","NO")
This counts the number of instances in Sheet1 where Column A contains the student and Column B contains the colour. If it's greater than 0, we associate the student with the colour.
EDIT: sorry, I've assumed here that Column A of Sheet2 contains a list of the students without any duplicates.
Here is the formula that you can use. Place the formula in cell B2 and drag it across the columns and rows that you want to cover:
=IF(VLOOKUP($A2,Sheet1!$A:$B,2,FALSE)=B$1,"YES","")
Assuming your data are presented like:
I have an Excel workbook where on one sheet I have two columns of data.
For example:
ColumnA ColumnB
1000 DescriptionFor1000
1001 DescriptionFor1001
1002 DescriptionFor1002
1003 DescriptionFor1003
...
On another sheet, I have one column set with Data Validation so that each cell value must equal a value from ColumnA above (ex. 1000 or 1001 or 1002 etc).
When the user selects a value from the drop down list of ColumnA values, I would like the column next to it be autopopulated with ColumnB value from above.
For example, if the user selected 1001, the cell right next to it would automatically fill with "DescriptionFor1001"
I do not have code here because there is none to display (all controlled through Excel so far). Is there a way to do this? I do not mind writing VBA code if need be.
A VLOOKUP formula should do the trick. Let's assume the dropdown in in cell A1, and the data for the dropdown is in Sheet2!A1:B10, the formula would be:
=VLOOKUP(A1,Sheet2!A1:B10,2,FALSE)
Good day. I will start by providing the purpose for my request which should make it a little more understandable.
I am attempting to create a Meal Planner in Excel that allows the user to select a variety of meals from a drop down list. Once the meal is selected (and here is where I have trouble), I want the ingredients which are listed over multiple rows on another sheet to import into a desired column (ideally each returned ingredient will still have it's own cell but this is not critical).
So it would be something like. If 'Hot Dog' from the list on A2 sheet 1 and then the ingredients: buns, hot dogs, ketchup, etc. from sheet 2 cells: x2t through x5 populate in A3 through A5 on sheet 1.
Using excel 2010.
Thank you.
Sounds like you want to use a PIVOT TABLE. Your ingredients would be the row labels and the meal name would be the report filter which would give you your drop-down list above your ingredients.
I don't understand from sheet 2 cells: x2t through x5 but assuming data such as shown in Sheet2 below, then
=INDIRECT("Sheet2!"&CHAR(64+MATCH(A$2,Sheet2!$A$1:$B$1,0))&ROW()-1)
in Sheet1 A3 and copied down to suit may be what you require.
Note that this would not work for more than 26 receipts.
A2 is the cell with validation (from Row1 of Sheet2).
I'm trying to compare binary values between two sheets in Excel. Here's a quick snapshot of what the data might look like for row 1, columns A-D on the two sheets.
A B C D
1 1 1 1 1 <--- Sheet 1
A B C D
1 1 1 0 0 <--- Sheet 2
What I would like to do is Conditionally Format sheet 2. I'm only concerned about the cells where the values are not the same, so in the example above cells C1 and D1 on Sheet 2 do not match the values on Sheet 1, so I want to either change the font or background. At this point I don't care. If I were just comparing these 4 cells I could do this easily enough. But I've actually got 160 rows and about 1000 columns of binary data, so I don't want to condition each cell individually. What I can't figure out is how to conditionally format the entire sheet using a formula that references the current cell vs the current cell on the other sheet.
For excel 2010:
Select the area on sheet 2 you want to compare
Select conditional formatting under the "home" ribbon, then "new rule"
Select "use a formula to determine which cells to format"
Type the following, but replace "A1" with the top left cell in your selection range, and replace the sheet names with your sheet names
=IF(Sheet1!A1=Sheet2!A1,FALSE,TRUE)
Select your desired format
Hit "OK" on both dialogs
In general, you could use a comparison utility like BeyondCompare. Ensure each sheet is saved into its own file, then throw them at the utility.