Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Lookup Help
I am trying to look up UPC values in column B. If a UPC listed in Column B
is also listed anywhere in Column C, then I want to return 'Yes" in column D. If not I want to return 'no". I am sure this is simple, but I can't figure it out from Lookup help. Thanks! example: Column B Colum C Column D 77777 11111 YES 22222 77777 NO 55555 66666 NO |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Lookup Help
Hi jgundel
in Column D (i started with row1) you enter following formula: =if(iserror(vlookup(B1,C:C,1,false)),"no","yes") hth Carlo On Nov 19, 9:11 am, jgundel wrote: I am trying to look up UPC values in column B. If a UPC listed in Column B is also listed anywhere in Column C, then I want to return 'Yes" in column D. If not I want to return 'no". I am sure this is simple, but I can't figure it out from Lookup help. Thanks! example: Column B Colum C Column D 77777 11111 YES 22222 77777 NO 55555 66666 NO |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Lookup Help
Hi,
Try this: =IF(COUNTIF($C$1:$C$1000,B1)0,"Yes","No") copy down HTH Jean-Guy "jgundel" wrote: I am trying to look up UPC values in column B. If a UPC listed in Column B is also listed anywhere in Column C, then I want to return 'Yes" in column D. If not I want to return 'no". I am sure this is simple, but I can't figure it out from Lookup help. Thanks! example: Column B Colum C Column D 77777 11111 YES 22222 77777 NO 55555 66666 NO |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Get Cell Address From Lookup (Alternative to Lookup) | Excel Worksheet Functions | |||
Variable Lookup/Double Lookup | Excel Worksheet Functions | |||
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup | Excel Worksheet Functions | |||
Sumproduct - Condition based on lookup of a Lookup | Excel Discussion (Misc queries) | |||
Pivot table doing a lookup without using the lookup function? | Excel Discussion (Misc queries) |