If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
Vlookup Function
I think, all i need is a match in any of the cells, either A1,B1,C1 etc.
So, if there is a match in A1, then it would populate the relevant values on sht2. If A1 does not match, then it should check B1, if B1 does not match then it should check C1 etc. Thanks Spike --- Message posted from http://www.ExcelForum.com/ |
#12
|
|||
|
|||
Vlookup Function
Hi Spike
in that case i would say the easiest way to achieve what you want is to insert a column in both sheet 1 & 2 (column D) and type for both =IF(A1="",IF(B1="",C1,B1),A1) and fill down for all rows then on sheet 2 for column E type =IF(VLOOKUP($D1,Sheet1!$D$1:$I$4,2,FALSE)=0,"",VLO OKUP($D1,Sheet1!$D$1:$I$4, 2,FALSE)) copy across to rows F, G, H, I changing the ,2, to ,3, for column F; ,4, for column G; ,5, for column H & ,6, for column I (ie the third parameter) in both VLOOKUP statements and then fill down all rows i'm not sure it will work for all combinations and variations possible but might get you somewhere -hopefully someone else will have a more generic solution if required. Cheers JulieD "=BA=Spike " wrote in message ... I think, all i need is a match in any of the cells, either A1,B1,C1 etc. So, if there is a match in A1, then it would populate the relevant values on sht2. If A1 does not match, then it should check B1, if B1 does not match then it should check C1 etc. Thanks Spike --- Message posted from http://www.ExcelForum.com/ |
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
IF statements in a VLOOKUP function | Eric | Worksheet Functions | 1 | June 30th, 2004 01:31 AM |
VLOOKUP Function (Hide Zero Value) | Jay | Worksheet Functions | 3 | June 21st, 2004 08:58 PM |
sum1 plz help me understand vlookup function | flick | Worksheet Functions | 2 | October 6th, 2003 03:29 AM |
Pocket Excel vlookup function | P | Worksheet Functions | 2 | September 24th, 2003 06:20 PM |