|
Excel Magic Trick 488: VLOOKUP with 2 Lookup Values Return Table of Values & Track Down Errors
Video | Similar Helpful Excel Resources
Formula for VLOOKUP with Two Lookup Values that must return all values in a table that has the lookup values as row and column headers. See how add extra column with unique identifier to data set using ampersand concatenate.
Also see how to track down errors in spreadsheet by: 1)Check Formula 2)Check data source 3)Sort to visually check data 4)Check Formulas Inputs 5)Run Formula Evaluator 6)Check For Spaces in Formula Inputs 7)Discover that extra spaces cause formula errors
Also see this video title:
Excel Magic Trick 398: VLOOKUP with Two Lookup Values (IFERROR function also)
Got a Question? Ask it Here in the Forum.
Similar Helpful Excel Resources
Hello,
I'm trying to solve this for days, with no succes.
I've attached a jpeg for making my question more clear.
In the first column (column A6:A11) I have 7 values.
In the table B6:I11there are random numbers.
If I fill in a number in cell B16.
I would like to find a formula (in cell B17) that is looking up that number in the table.
If it finds the exact number, it gives the value in the same row in column A.
If it finds the number more times, all the corresponding values in column A must add up.
I hope someone can help me with this one.
greetz,
Owen
Good morning,
trying to find out what to do with my spreadsheet and the formulas in it.
If you look into the file 369. I can get to the stage where it outlines the mismatch figure. In the example it is 6 Mismatches.
But I cannot seem to get the table belwo right. Everytime I try and copy past the formula, the first set of data is the one from the first line and then I get a #NUM error, due to the fact that there seems to be a number reoccurence somewhere.
I took the youtube tutorial, but even copying that formula did not work.
My table consist of 2 sets of 600 values each.
Can someone tell me why I am getting this error and help me resolve the issue that the result is an existing set of data?
THANK YOU
BayerStars23
[IMG]file:///C:/Users/BINGLE%7E1/AppData/Local/Temp/moz-screenshot.png[/IMG][IMG]file:///C:/Users/BINGLE%7E1/AppData/Local/Temp/moz-screenshot-1.png[/IMG]
I am following this tutorial from youtube. It is a search function to search for a specefic word in an entire row. Here is the first part of the code:
Code:
=SEARCH(C$3,Table2[[#This Row],[DESCRIPTION]])
except i only get a value in the cell that i typed this in, instead of it searching the rest of the row like in the tutorial. i can't figure out how to fix this. anyone know what im doing wrong?
Hello there.
First, and before all, I must admit that I am a kind a "dumb" for Excel, because I always were using it, only for better look's of simple tables, schedule's and similar. Although, I was all the time aware of great power's of this program, but newer tested it.
So, finally after few years of tempting, I decided to make a proper "order-list" for the shop in which I work. What I needed is to ,based on products and their prices, make a drop-down box, with list of the products, and after choosing one , proper price will be shown in next column. I find out how to do it with "Excel magic trick #5" on Youtube.
This is what i achieved:
http://i49.tinypic.com/dorzgn.jpg
However,
You see that in row 16, or line 2 in the order box ,we have #N/A below Cena (Price), Iznos PDV (amount of VAT), Cena sa PDV (Amount with VAT), and Iznos (Total amount). If we choose one of the product from drop-down box (now, as You can see none is chosen) and type number in Kolicina(Quantity) column, all this would be automatically changed into proper value.
But what if we have only one thing in order box, instead of 2 or all of 10 ? How to avoid those #N/A, and make instead to be blank cell, which is to be counted as 0, because of final calculation?
In this order-form we have only line 1 and 2 programed to have drop-down box in line Naziv robe (Name of the product). If I putted same drop-down boxes in rest 8 columns, #N/A would be shown in all programed cells bellow, like in line 2...
Kind regards from Serbia
Hello,
I am constructing a make-shift database in excel but can't seem to find a way to get magic trick #213 to work.
What I am trying to do is create a dynamic filter via 16 criteria. I would like any results that match all criteria that I specify and then displays results in a separate table to the right.
Thank you so much for your help - I would attach my spreadsheet to this message if I knew how.
BR,
PR
Looking for a little help tweaking Excel Magic Trick 185. I've reached what is probably just a mental block.
I'm trying to adjust a spreadsheet for work using the processes described in Excel MagicTrick 185. (Great series, by the way...) The catch is that the source data table can not be modified under any circumstances (we've already asked).
The problem is different than EMT_185 in that there are 9 columns that can potentially define a match as opposed to just the one shown in EMT_185. There are two user options ('I-III' and 'A-C') which in combination establish the headings for the 9 possible conditions (I-A, II-A, III-A ...) .
(See the linked spreadsheet) I've been able to:
determine if a row in the source matches user provided conditions (col Y),
get the count of matched source rows (row 26),
determine the match instance (col AA), and
place the source data in the output table (col AC)
What I can't quite get my mind around is suppressing the blanks in the output (i.e.:getting match 1 on row 1, match 2 on row 2, etc.)
What am I missing? Please help. A spreadsheet showing what I have so far is located on google docs. Perhaps you could make a new EMT out of it!
BTW.. this used to be done via vba, however that is no longer an option (don't ask... It just isn't, and it's not a topic that is open to discussion -- we tried).
http://www.youtube.com/watch?v=tqCEY5YMyqw
I am trying to duplicate the concept on my spreadsheet. It is conceptually the same, the formula is slightly different.
Mine is as follows:
{=IF(ROWS(A$5:A5)>$B$2,"",
INDEX(US!A$5:A$72,
SMALL(IF(US!$AU$5:$AU$72=Sheet1!$A$2,ROW(US!$AU$5:$AU$72)-ROW(US!$AU$5)+1),ROWS(A$5:A5))))}
Resulting in a #VALUE! error. Can anybody advise me what should the formula me?
Thank a million!
Long
So I used Excel Magic Trick 185 to dynamically pull content from a spreadsheet: http://www.youtube.com/watch?v=6bGKhbUYOas
However,
It is only working for a few of my columns though and I am getting reference errors, http://www.mediafire.com/?gje8srbp8x2j48w
Can anyone check into my spreadsheet and help me understand why I get these ref errors? Is it because I have spaces in the column names or within the cells? I know a macro is probably a better way to do this, or an auto-filter, but I need it to dynamically update. Any ideas on how to fix this problem or a better way to solve it?
Thanks!
Hi
I have a set of data that gives me the customer account number (vertical / column) and what products they have ordered (horizontal / row). I need to be able to use these values to look up another sheet that tells me how much they have spent on each product. Trouble is I have about 5k customers ordering about twenty products at a time!
Is there a way of looking this up? Is it if and?
thanks
kate
Hi All,
I have spent a lot of time fighting with a solution and even more time browsing posts here to try to find an answer to this question. I am trying to semi automate a worksheet, any help is much appreciated.
I have two sheets in which I am working in
1) lookup
2) pivot
Lookup consists of a single column that has header titles with spaces between each header title. In the spaces between the titles, I would like to write an equation for each header title. The equation would search the pivot table located in the pivot tab for all non zero entries. The equation would match the header title to the same value in the first column of a pivot table and return two things for all non zero entries (in separate columns).
1) The title from the pivot table column where the value is greater than zero
2) The corresponding non zero value
I have found equations for returning the title from the pivot table column for the first non zero entry, but I have not been able to increment it in such a way that I can get more than 1 result.
=(INDEX(Pivot!$B$4:$D$4,MATCH(TRUE,INDEX(INDEX(Pivot!$B$5:$D$8,MATCH(lookup!A15,Pivot!$A$5:$A$8,0),0)>0,0),0)))
Thanks for any help!
lookup pivot.xls
|
|