IF
If you are going to have many different multipliers, you could set up a
table. I like to set up tables on a separate tab named Tables.
In A1 type Value, in B1 type Multiplier.
In A2 type 3, in B2 type .376
In A3 type 4, in B3 type .668
etc.
Highlight selected Table area, and name it Tbl_Multiplier (or something to
that effect) go to menu Insert|Name|Define.
Then, on your original sheet, say you have A1=3, B1=4.5, type the following
into cell C1:
=ISERROR(VLOOKUP(A1,Tbl_Multiplier,2,FALSE),"",VLO OKUP(A1,Tbl_Multiplier,2,FALSE)*B1)
--
John C
"Karen6175" wrote:
I need to create a formula for the following scenario ... any help would be
appreciated!
If value in cell is 3, then multiply another cell by .376, If 4, multiply by
.668, and so on. For instance:
A1 = 3
B1 = 4.5
Formula Cell C1 should return 1.69
OR
A1 = 4
B1 = 4.5
Formula Cell C1 should return 3.01
Can this be done?
|