ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I write a formula in excel where 1 = .05 and 2 = .75 etc. (https://www.excelbanter.com/excel-worksheet-functions/263176-how-do-i-write-formula-excel-where-1-%3D-05-2-%3D-75-etc.html)

carolb

How do I write a formula in excel where 1 = .05 and 2 = .75 etc.
 
How do I write a formula in excel where 1 = .05 and 2 = .75 and 3 = 1.23?
So, if the number entered in the cell is 1 then .05 is muliplied by another
cell.

Eduardo

How do I write a formula in excel where 1 = .05 and 2 = .75 etc.
 
Hi,
let's assume you enter 1 in A2, and in B2 you want 0.5 multiplied by cell
A12, so in B2 enter

=if(A2=1,A12*0.05)

to complete your example , if none of the 3 numbers are entered I assume you
want blank

=if(A2=1,A12*0.05,if(A2=2,your cell*0.75,if(A2=3,your cell*1.23,"")))

"CarolB" wrote:

How do I write a formula in excel where 1 = .05 and 2 = .75 and 3 = 1.23?
So, if the number entered in the cell is 1 then .05 is muliplied by another
cell.


Mike H

How do I write a formula in excel where 1 = .05 and 2 = .75 etc.
 
hi,

Maybe this

=CHOOSE(A1,0.5,0.75,1.23)
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"CarolB" wrote:

How do I write a formula in excel where 1 = .05 and 2 = .75 and 3 = 1.23?
So, if the number entered in the cell is 1 then .05 is muliplied by another
cell.



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

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