ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Need help (https://www.excelbanter.com/excel-worksheet-functions/188005-need-help.html)

Excel[_2_]

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




Bob Phillips

Need help
 
=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)



"Excel" wrote in message
...
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






Gary''s Student

Need help
 
=A1-(2*A2+60)
--
Gary''s Student - gsnu2007i


All times are GMT +1. The time now is 10:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com