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

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

maxflia10

Well-known Member
Joined
May 20, 2002
Messages
890
Ryan,

If I'm not mistaken you'll run into a circular reference doing that. A macro however will do it.
 

The Idea Dude

Well-known Member
Joined
Aug 15, 2002
Messages
589
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
 

helpprod

New Member
Joined
Oct 13, 2002
Messages
9

ADVERTISEMENT

this is what i had for 2 numbers
=IF(B6=2,(B7*0.08),(B6=3)*(B7*0.09))
 

jmuscat

New Member
Joined
Apr 22, 2002
Messages
18
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)))))
 

helpprod

New Member
Joined
Oct 13, 2002
Messages
9

ADVERTISEMENT

Thanks but i need it to * a different cell
if d6=3*d7*9%
 

The Idea Dude

Well-known Member
Joined
Aug 15, 2002
Messages
589
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)))))
 

helpprod

New Member
Joined
Oct 13, 2002
Messages
9
That worked you guys rule

need help on another problem but will post new message
Thank you
Ryan
 

Forum statistics

Threads
1,144,056
Messages
5,722,256
Members
422,419
Latest member
Havok390

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