Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Help with If and Vlookup
Hi all
I think this could be a nice easy one, I have a spreadsheet across columns A to G, with a vlookup working nicely, relating to a data worksheet with Columns A to C: =vlookup(A2,Data!A:C,2,false) this gives results of either a or b What I need it to do is if the result is a then I want column c to go into the cell but if it is b then leave blank. Many thanks in advance |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Help with If and Vlookup
One way:
=IF(VLOOKUP(A2,Data!A:B,2,FALSE)="a",VLOOKUP(A2,Da ta!A:C,3),"") Regards, Paul "petes_girl" <u28569@uwe wrote in message news:68a7ed8817473@uwe... Hi all I think this could be a nice easy one, I have a spreadsheet across columns A to G, with a vlookup working nicely, relating to a data worksheet with Columns A to C: =vlookup(A2,Data!A:C,2,false) this gives results of either a or b What I need it to do is if the result is a then I want column c to go into the cell but if it is b then leave blank. Many thanks in advance |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Help with If and Vlookup
Thats great Paul, I knew if would be something simple.
It works just fine. Petes_girl PCLIVE wrote: One way: =IF(VLOOKUP(A2,Data!A:B,2,FALSE)="a",VLOOKUP(A2,D ata!A:C,3),"") Regards, Paul Hi all [quoted text clipped - 11 lines] Many thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
VLookup a Vlookup | Excel Worksheet Functions | |||
VLOOKUP Problem | Excel Discussion (Misc queries) | |||
VLOOKUP Limitations | Excel Worksheet Functions | |||
Have Vlookup return a Value of 0 instead of #N/A | Excel Worksheet Functions | |||
vlookup data hidden within worksheet | Excel Worksheet Functions |