IF Function, Further Complexities (more newbie help)

C

Chris Olson

Using the following formula:

IF(COUNTIF(B$1:B$45,A1)=1,"Yes","No")

I have been able to populate my cells with the appropriate "yes" or "no".

Is there a way now to say if the value (A1) has been found at B:45, to then
have it check D:45 and input the text that is in D:45 into the formula
result as well, or perhaps in a standalone formula.

For instance, if D:45 were the text of a date, the formula would display:
"Yes, 12/29/2003"
 
J

J.E. McGimpsey

One way:

=IF(COUNTIF(B$1:B$45,A1)=1,"Yes, " & VLOOKUP(A1, $B$1:$D$45, 3,
FALSE), "No")
 

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

Top