Not sure if this is possible?

rickwardyy

New Member
Joined
Mar 5, 2013
Messages
34
Ok so in cell I6 if it contains the word ‘’bottom’’ I need a sum in cell O3 to work out 50% of cell I7.. if it contains the word ‘’Middle’’ I need it to work out 75% of cell I7 and finally if it says ‘’top’’ to work out 100% of cell I7..

Is that possible?

Cheers!
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

63falcondude

Well-known Member
Joined
Jan 15, 2016
Messages
3,572
How's this?


Excel 2010
IJKLMNO
350
4
5
6bottom
7100
Sheet1
Cell Formulas
RangeFormula
O3=IF(I6="bottom",I7*0.5,IF(I6="middle",I7*0.75,IF(I6="top",I7,"")))
 

FDibbins

Well-known Member
Joined
Feb 16, 2013
Messages
6,723
Another option...
=iferror(I7*CHOOSE(MATCH(A3,{"Bottom","Middle","Top"},0),0.5,0.75,1),"")
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,167,923
Messages
5,856,311
Members
431,805
Latest member
mts91

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
Top