ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Conditional Formula help required (https://www.excelbanter.com/excel-worksheet-functions/92779-conditional-formula-help-required.html)

TomGill

Conditional Formula help required
 
I am looking for a single formula for excel 2003 to do the following:
If A1=R then A10=400/0.99, If A2=H then A10=400/0.9 if neither is true then
A10=400.

bpeltzer

Conditional Formula help required
 
The formula goes in the cell where the result is to appear, A10 in your case.
=if(A1="R",400/0.99,if(A2="H",400/0.9,400))


"TomGill" wrote:

I am looking for a single formula for excel 2003 to do the following:
If A1=R then A10=400/0.99, If A2=H then A10=400/0.9 if neither is true then
A10=400.


Bob Phillips

Conditional Formula help required
 
=IF(A1="R",400/0.99,IF(A"="H",400/0.9,400))

and put that in A10

--

HTH

Bob Phillips

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

"TomGill" wrote in message
...
I am looking for a single formula for excel 2003 to do the following:
If A1=R then A10=400/0.99, If A2=H then A10=400/0.9 if neither is true

then
A10=400.




MyVeryOwnSelf

Conditional Formula help required
 
I am looking for a single formula for excel 2003 to do the following:
If A1=R then A10=400/0.99, If A2=H then A10=400/0.9 if neither is true
then A10=400.



One way is to put this in A10
=400/IF(A1="R",0.99,IF(A1="H",0.9,1))




All times are GMT +1. The time now is 02:31 PM.

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