if statement--issue

bluepenink

Well-known Member
Joined
Dec 21, 2010
Messages
585
Hello,

this is the if statement I have currently...

=IF(P10>'Summary 2011'!$M$25,myArrowUp,IF(AND(P10>='Summary 2011'!$P$33,P10<='Summary 2011'!$P$35),MyArrowEqual,myArrowdown))

basically, it stating that:
if P10 > 10% of value, then arrow up
if P10 => 0 ..and...P10 <= -9.99% then arrow equal

for all others, arrowdown

CHANGE to be made:
I was wondering if someone can help me with the logic placement, basically, i want to insert in there,

if P10 is between -9.99% to 0, then show arrow equal.

im struggling with incorporating that portion into my statement; any help?

cheers
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
You can certainly define it into an IF statement.
But it's never going to return TRUE, so why bother ?

Look at it this way

Value of P......... >=0 ? ...... <-9.99 ? ...... Combined ?
1.......................TRUE........FALSE.............FALSE
0.......................TRUE........FALSE.............FALSE
-5.....................FALSE.......FALSE.............FALSE
-10....................FALSE.......TRUE..............FALSE
 
Upvote 0
I think the most important thing is for you to be really clear about what you want to do.
In your original post, did you mean to say

if P10 => 0 ..and...P10 <= 9.99% then arrow equal

See the difference ?
 
Upvote 0
Hello

thx for your response; and sorry for the confusion.

bascially i would like everything to remain the same, EXCEPT for

if this portion can be incorporated as well, the between portion

P10 <= -0.1....and P10 <= -9.99, then "equal sign"
(basically between -0.1 and -9.99)

im having trouble placing that into my if statement

original if statement
=IF(P10>'Summary 2011'!$M$25,myArrowUp,IF(AND(P10>='Summary 2011'!$P$33,P10<='Summary 2011'!$P$35),MyArrowEqual,myArrowdown))
 
Upvote 0
Hello Gerald

thxs for the help but ive managed to solve it

=IF(P91>10%,myArrowUp,IF(AND(P91<=9.99%,P91>= -9.99%),MyArrowEqual,myArrowdown))
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,286
Members
452,902
Latest member
Knuddeluff

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