NEED HELP in Writing a FORMULA in colum D

G

Guest

Hi

I need help in writing a formula in column D. I'd like to look up the city
and rate in column A & B; if the city matches to column C, then get the rate
or fill in the correct rate in column D. For example, the city of Agoura
Hills matches in column (C), therefore, the rate should be 8.25% in column (D)

Thanks
Soth

A(City) B (rate) C(City) D(Fill
in rate)

Acampo 7.750% Agoura Hills ( What is the formula here to
Acton 8.250% Thousand Oaks show 8.25% for Agoura Hills)
Adelaida 7.250% ALAMEDA
Agoura 8.250% BREA
Agoura Hills* 8.250% BRISBANE
Agua Caliente 7.750% BURBANK
Al Tahoe 7.250% CAMPBELL
Alameda* 8.750% CARLSBAD
 
B

Bob Phillips

=VLOOKUP($C2,$A$2:$B$20,2,FALSE)

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)
 
B

Bearacade

Assuming your data is in A and B:

=VLOOKUP(C1,A:B,2)

Understand that
1) you need to formula column D to be in percentage format
and
2) the *s in Agoura Hills and Alameda will cause you problems
 
G

Guest

You all the best ! Thank you

Bob Phillips said:
=VLOOKUP($C2,$A$2:$B$20,2,FALSE)

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)
 

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