Lookup question

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

I want to be able to take the value of A2, and lookup in a range of cells on
another sheet, and if it finds the value of a2 in that range, then display
"open". If it doesn't find the value of A2 in the range, I want it to
display "closed". Is it possible to make this happen?
 
oops, sorry, replace ampersand with comma

here comes the correct one:

=IF(ISNUMBER(MATCH(A2,lookup_range,)),"open","closed")
 
Try something like this:

=IF(COUNTIF(Sheet2!A1:A100,A2),"Open","Closed")

Where Sheet2!A1:A100 is the range to check.
 
Jarek

Typo maybe?

That is a semi-colon(;).....not an ampersand(&)


Gord
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

More on text in Comment Boxes......... 2
Average problem 1
SUMIF, use List as a Range 2
Case Sensitive Lookup 6
Array Formula 11
Sum / Lookup 9
Problem creating named ranges in a Macro! 2
Modified ACOS function 2

Back
Top