if statement logic...help!

bluepenink

Well-known Member
Joined
Dec 21, 2010
Messages
585
Hello...i got a pretty basic if statement but im struggling with placing the logic behind my formula

basically, i trying to achieve the following:

=IF(N17>10,myArrowUp,myArrowdown),if(N17=0,myArrowEqual,))

so im trying to say, if N17 = 0 then myArrow Equal, but if N17>0, then my arrowup else my arrow down.


can someone help! thxs!!!
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Hello...i got a pretty basic if statement but im struggling with placing the logic behind my formula

basically, i trying to achieve the following:

=IF(N17>10,myArrowUp,myArrowdown),if(N17=0,myArrowEqual,))

so im trying to say, if N17 = 0 then myArrow Equal, but if N17>0, then my arrowup else my arrow down.


can someone help! thxs!!!
Unclear if N17 needs to be greater than 10 or 0 but try this sort of structure

=IF(N17>0,myArrowUp,if(N17=0,myArrowEqual,myArrowdown))
 
Upvote 0
Hello guys

thxs alot!

if i can add to Pete's point, can i implement a request in the formula so it only applies this logic if the variance is greater than 10%?

basically, i got two formulas

a) variance: M16-L16

b) if statment: =IF(N17>0,myArrowUp,if(N17=0,myArrowEqual,myArrowdown))

but if my variance, is it possible to place an if statement, so it only extracts a variance, if the variance exceeds 10% + or -?
 
Upvote 0
basically, i got two formulas

a) variance: M16-L16

b) if statment: =IF(N17>0,myArrowUp,if(N17=0,myArrowEqual,myArrowdown))

but if my variance, is it possible to place an if statement, so it only extracts a variance, if the variance exceeds 10% + or -?
One of those formulas refers to row 16, the other to row 17 but assuming they were both meant to refer to the same row, is this what you mean?

=IF(ABS(M17-L17)>0.1,IF(N17>0,myArrowUp,if(N17=0,myArrowEqual,myArrowdown)),"")

or if N17 contains the variance formula
=M17-L17
then try your original formula with 0.1 in place of the 10:

=IF(N17>0.1,myArrowUp,if(N17=0,myArrowEqual,myArrowdown))
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,719
Members
452,939
Latest member
WCrawford

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