#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 367
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Get Cell Address From Lookup (Alternative to Lookup) ryguy7272 Excel Worksheet Functions 12 September 28th 07 10:36 PM
Variable Lookup/Double Lookup Ryan[_2_] Excel Worksheet Functions 8 May 14th 07 09:44 PM
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup JBush Excel Worksheet Functions 3 January 3rd 07 11:14 PM
Sumproduct - Condition based on lookup of a Lookup Hari Excel Discussion (Misc queries) 12 May 31st 06 09:28 AM
Pivot table doing a lookup without using the lookup function? NGASGELI Excel Discussion (Misc queries) 0 August 2nd 05 05:08 AM


All times are GMT +1. The time now is 02:02 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"