Need help

E

Excel

Please help me with creating formula:

Cell A1 = 1 value (example 5000)
Cell A2 has only 3 values: 40, 60, 80
Forumla in Cell A3:

If A2 = 40 then A1 - 140

A1=5000
A2=40
A3=4860

If A2 = 60 then A1 - 180

A1=5000
A2=60
A3=4820

If A2 = 80 then A1 - 220

A1=5000
A2=60
A3=4780

Please help me creating forumula in cell A3, but important is cell A2
because
it has only 3 values 40,60,80
 
B

Bob Phillips

=A1-(A2=40)*140-(A2=60)*180-(A2=80)*220

--
---
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