Nested If Statement with Calculations

PTori82

Board Regular
Joined
Dec 5, 2012
Messages
64
I need to enter a formula in a cell that does the following:

If S2= ‘L’ then multiply V2 by W2, If S2=’R’ then multiply T2 by U2, If R2 =’S’ then multiply X2 by Y2.

Thank you very much to anyone that can help with this!
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Maybe:
Code:
[TABLE="width: 510"]
<colgroup><col width="510"></colgroup><tbody>[TR]
   [TD="width: 510"]=IF($S$2="L",$V$2*$W$2,IF($S$2="R",$T$2*$U$2,IF($R$2="S",$X$2*$Y$2)))[/TD]
 [/TR]
</tbody>[/TABLE]

What should the result be if S2="L" and R2="S"?
 
Upvote 0
The result is a calculation. If a batter is facing a left handed pitcher then S2 will read "L" and calculate the batter strike out percentage weighted for the pitcher's strike out rate versus the batters handedness. This formula works and I greatly appreciate it!
 
Upvote 0

Forum statistics

Threads
1,214,875
Messages
6,122,040
Members
449,063
Latest member
ak94

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top