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

Forum statistics

Threads
1,214,646
Messages
6,120,720
Members
448,986
Latest member
andreguerra

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