Not sure if this is possible?

rickwardyy

New Member
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
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
Another option...
=iferror(I7*CHOOSE(MATCH(A3,{"Bottom","Middle","Top"},0),0.5,0.75,1),"")

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.

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.

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

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