Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Really bad with formulas... need help please :-)

Hello everyone,

I'm really bad with formulas but I am sure this is possible. I hope this is
possible

I need a formula that will look at a text value in any given cell, A2 of
Sheet 2 for example, and search and tell me if that same text value appears
in ANY row of Column B on sheet 1, and if so return a 1(yes) or 2(no) type
result,

Is this possible? Looking around it seems like VLOOKUP coul be used to do
what I need but I don't follow the logic required.

Any help greatly appreciated






  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Really bad with formulas... need help please :-)


assuming your reference text is in column B1:B100 of Sheet1

formula is as follows:
=IF(ISERROR(VLOOKUP(Sheet2!A2,Sheet1!B1:B100,1,FAL SE)),"No","Yes")
=IF(ISERROR(VLOOKUP(Sheet2!A3,Sheet1!B1:B100,1,FAL SE)),"No","Yes")
=IF(ISERROR(VLOOKUP(Sheet2!A4,Sheet1!B1:B100,1,FAL SE)),"No","Yes")



"cwinship" wrote:

Hello everyone,

I'm really bad with formulas but I am sure this is possible. I hope this is
possible

I need a formula that will look at a text value in any given cell, A2 of
Sheet 2 for example, and search and tell me if that same text value appears
in ANY row of Column B on sheet 1, and if so return a 1(yes) or 2(no) type
result,

Is this possible? Looking around it seems like VLOOKUP coul be used to do
what I need but I don't follow the logic required.

Any help greatly appreciated






  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Really bad with formulas... need help please :-)

Since you're only look for a match, you can use =match() instead of =vlookup().

=if(isnumber(match(a2,sheet1!b:b,0)),1,2)

or if you could live with true/false
=isnumber(match(a2,sheet1!b:b,0))



cwinship wrote:

Hello everyone,

I'm really bad with formulas but I am sure this is possible. I hope this is
possible

I need a formula that will look at a text value in any given cell, A2 of
Sheet 2 for example, and search and tell me if that same text value appears
in ANY row of Column B on sheet 1, and if so return a 1(yes) or 2(no) type
result,

Is this possible? Looking around it seems like VLOOKUP coul be used to do
what I need but I don't follow the logic required.

Any help greatly appreciated





--

Dave Peterson
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
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
lookup formulas dependent upon lookup formulas Skibee Excel Worksheet Functions 1 July 20th 07 01:06 PM
automatically copy formulas down columns or copy formulas all the HowlingBlue Excel Worksheet Functions 1 March 16th 07 11:11 PM
Formulas not evaluated, Formulas treated as strings Bob Sullentrup Excel Discussion (Misc queries) 0 November 27th 06 08:01 PM
formulas for changing formulas? creativeops Excel Discussion (Misc queries) 4 January 26th 06 03:07 AM


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

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

About Us

"It's about Microsoft Excel"