#1   Report Post  
Posted to microsoft.public.excel.newusers
H H is offline
external usenet poster
 
Posts: 57
Default Vlookup

Is it possible to do a lookup that allows you to look at another tab and say
if it's in that list then tag it with a yes? and if its not leave it blank?

for example:

Column A Column B
A Y
B
C Y

the corresponding tab will have some that match Column A -- if there is one
corresponding can Column B show a Y

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,346
Default Vlookup

Hi,

Not enought info, best to show us a sample of the data

Suppose the letters A, B, C are located in Sheet2 range A1:A10 then

=IF(ISNA(VLOOKUP(A1,Sheet2!A$1:A$10,1,FALSE)),""," Y")

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"H" wrote:

Is it possible to do a lookup that allows you to look at another tab and say
if it's in that list then tag it with a yes? and if its not leave it blank?

for example:

Column A Column B
A Y
B
C Y

the corresponding tab will have some that match Column A -- if there is one
corresponding can Column B show a Y

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,722
Default Vlookup

If you combined it with a IF function, yeah, you could do that. Shorter
function (and more clear what your doing) would be to use MATCH

=IF(ISNUMBER(MATCH(A1,'Sheet1'!A:A,0)),"Y","")
placed into B1 and copied down will let you know if the value in column A is
in column A of Sheet1.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"H" wrote:

Is it possible to do a lookup that allows you to look at another tab and say
if it's in that list then tag it with a yes? and if its not leave it blank?

for example:

Column A Column B
A Y
B
C Y

the corresponding tab will have some that match Column A -- if there is one
corresponding can Column B show a Y

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.newusers
H H is offline
external usenet poster
 
Posts: 57
Default Vlookup

thank you -- works perfectly :)

"Luke M" wrote:

If you combined it with a IF function, yeah, you could do that. Shorter
function (and more clear what your doing) would be to use MATCH

=IF(ISNUMBER(MATCH(A1,'Sheet1'!A:A,0)),"Y","")
placed into B1 and copied down will let you know if the value in column A is
in column A of Sheet1.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"H" wrote:

Is it possible to do a lookup that allows you to look at another tab and say
if it's in that list then tag it with a yes? and if its not leave it blank?

for example:

Column A Column B
A Y
B
C Y

the corresponding tab will have some that match Column A -- if there is one
corresponding can Column B show a Y

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Vlookup

One way:

=IF(COUNTIF(Sheet2!A:A,A1),"Y","")

Copy down as needed.


--
Biff
Microsoft Excel MVP


"H" wrote in message
...
Is it possible to do a lookup that allows you to look at another tab and
say
if it's in that list then tag it with a yes? and if its not leave it
blank?

for example:

Column A Column B
A Y
B
C Y

the corresponding tab will have some that match Column A -- if there is
one
corresponding can Column B show a Y

Thanks



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
VLookUp - Does the VLookUp return the exact information? Cpviv Excel Worksheet Functions 2 October 28th 08 09:57 AM
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 01:56 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"