Multiply a cell by one of three others, based on first cell's value

MADIME39

New Member
Joined
Jan 15, 2020
Messages
4
Platform
  1. Windows
Hi there, I have never been good at Excel formulas, so grateful for this site. I am looking to multiply a cell by one of three others, based on the value in the first cell. If I enter the number 1 in E28, I want to multiply E28 by cell F28, with the results in I28. If E28 has a number 2 I want to multiply it by G28. If E28 has a number 3 I want to multiply it by H28. Thanks so much in advance!

1579105253134.png
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Hi there. Put this formula into I28:
Book1
I
2815
Sheet1
Cell Formulas
RangeFormula
I28I28=E28*--INDEX(F28:H28,1,E28)
The double minus is to stop a#value error occurring if any of F,G or H are empty
 
Upvote 0
Hi & welcome to MrExcel.
How about
=IF(E28<>"",E28*CHOOSE(E28,F28,G28,H28),"")
 
Upvote 0
Both worked, thank you so much! I wish the formulas weren't so confusing lol. Thank you again!
 
Upvote 0
Glad we could help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,279
Members
449,075
Latest member
staticfluids

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