Help with IF

helpprod

New Member
Joined
Oct 13, 2002
Messages
9
Hi all

What I need to be able to do is if 1 or 2 is in B6 then * 8% if 3 is in B6 then *9% if 4 is in B6 * 10% and if 5 is in B6 * 11% if 6 is in B6 * by 12%. all has to be in one cell

If someone can help me out with this that would be great

Thanks
Ryan
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Ryan,

If I'm not mistaken you'll run into a circular reference doing that. A macro however will do it.
 
Upvote 0
On 2002-10-14 22:47, helpprod wrote:
Hi all

What I need to be able to do is if 1 or 2 is in B6 then * 8% if 3 is in B6 then *9% if 4 is in B6 * 10% and if 5 is in B6 * 11% if 6 is in B6 * by 12%. all has to be in one cell

If someone can help me out with this that would be great

Thanks
Ryan

Are you * a cell value by x% and not the value of B6?
This message was edited by The Idea Dude on 2002-10-14 23:06
 
Upvote 0
Note sure if this is what you want

=IF(B6<=2,B6*8%,IF(B6=3,B6*9%,IF(B6=4,B6*10%,IF(B6=5,B6*11%,IF(B6=6,B6*12%,FALSE)))))
 
Upvote 0
On 2002-10-14 23:16, helpprod wrote:
Thanks but i need it to * a different cell
if d6=3*d7*9%

Simply change the B6*8% to D7*8% etc

Does this help
 
Upvote 0
On 2002-10-14 23:16, helpprod wrote:
Thanks but i need it to * a different cell
if d6=3*d7*9%

So the formula would be

=IF(D6<=2,D7*8%,IF(D6=3,D7*9%,IF(D6=4,D7*10%,IF(D6=5,D7*11%,IF(D6=6,D7*12%,FALSE)))))
 
Upvote 0

Forum statistics

Threads
1,214,861
Messages
6,121,973
Members
449,059
Latest member
oculus

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