Challenge of the day part 2

G

Guest

Thanks now here is second part of question: Do I need it to match as the
range
will be from C6:C14 (apple,banana, pear etc that it needs to match so does
L35:
=IF(G35=$C$6:$C$14,$AA$2,"") work then? i have numerous areas i would like
to do this in.
 
B

Bernie Deitrick

You really need to explain your layout better. Do you have a table of values in G35 :H126 that
associate values with words?

If that is the case, perhaps:

=VLOOKUP(C6, $G$35:$H$126, 2, False)

Which can be copied down.

HTH,
Bernie
MS Excel MVP
 
G

Guest

Ok

C6 Banana
(AA 2) Banana (AB 2) 3
C7 Orange
(AA 3) Apple (AB 3) 2
C8 apple
(AA 4) Onion (AB 4) 1
C9 Onion
(AA 5) Orange (AB 5) 0





data here doesnt matter C35 Banana D35 Orange E 35 ( answer for
C35) F 35 Answer for D35. continues down list.
 
B

Bernie Deitrick

In E35:

=VLOOKUP(C35,$AA$2:$AB$5,2,FALSE)

Copy to F35, then copy E35:F35 down to match your list....

HTH,
Bernie
MS Excel MVP
 

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