If and Vlookup

H

Honey

Hi,

I know this sounds basic but it driving me crazy!

I need to do the following

If a1=0 then I want C1 = 0


If A1 =1 I want C1 to = the value from a lookup table ( solver will
add the value)

Thanks in advance,
Lyndsey
 
B

Bob Phillips

=IF(A1=0,0,IF(A1=1,lookup_formula,""))

in C1

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

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