Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
carl
 
Posts: n/a
Default Help with a Formula

Hi. For some reason when "K1232-L1232;M1232-K1232" is equal to the threshold,
the formula does not return "check". For example in:

IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.25). In this case, if I1232
does not equal "sell" and M1232-K1232 equals -.25 the formula does not return
"check".

Here's the entire formula:

=IF(OR(AND(K1232<2;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.25);AND(K1232=2;K1232<=5;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.4);AND(K12325;K1232<=10;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.5);AND(K123210;K1232<=20;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.8);AND(K123220;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-1)); "Check";"")

Thank you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duke Carey
 
Posts: n/a
Default Help with a Formula

Try rounding, i.e.,

IF(I1232="sell",round(K1232-L1232),round(M1232-K1232))<=-0.25)


"carl" wrote:

Hi. For some reason when "K1232-L1232;M1232-K1232" is equal to the threshold,
the formula does not return "check". For example in:

IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.25). In this case, if I1232
does not equal "sell" and M1232-K1232 equals -.25 the formula does not return
"check".

Here's the entire formula:

=IF(OR(AND(K1232<2;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.25);AND(K1232=2;K1232<=5;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.4);AND(K12325;K1232<=10;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.5);AND(K123210;K1232<=20;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.8);AND(K123220;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-1)); "Check";"")

Thank you in advance.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Help with a Formula

I think Duke means

IF(I1232="sell",round(K1232-L1232,0),round(M1232-K1232,0))<=-0.25)


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Duke Carey" wrote in message
...
Try rounding, i.e.,

IF(I1232="sell",round(K1232-L1232),round(M1232-K1232))<=-0.25)


"carl" wrote:

Hi. For some reason when "K1232-L1232;M1232-K1232" is equal to the

threshold,
the formula does not return "check". For example in:

IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.25). In this case, if I1232
does not equal "sell" and M1232-K1232 equals -.25 the formula does not

return
"check".

Here's the entire formula:


=IF(OR(AND(K1232<2;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.25);AND(K123
2=2;K1232<=5;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.4);AND(K12325;K1
232<=10;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.5);AND(K123210;K1232<=
20;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.8);AND(K123220;IF(I1232="se
ll";K1232-L1232;M1232-K1232)<=-1)); "Check";"")

Thank you in advance.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duke Carey
 
Posts: n/a
Default Help with a Formula

I have to correct Bob's correction or my error

IF(I1232="sell",round(K1232-L1232,2),round(M1232-K1232,2))<=-0.25)

I hope we're all done with this subject


"Bob Phillips" wrote:

I think Duke means

IF(I1232="sell",round(K1232-L1232,0),round(M1232-K1232,0))<=-0.25)


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Duke Carey" wrote in message
...
Try rounding, i.e.,

IF(I1232="sell",round(K1232-L1232),round(M1232-K1232))<=-0.25)


"carl" wrote:

Hi. For some reason when "K1232-L1232;M1232-K1232" is equal to the

threshold,
the formula does not return "check". For example in:

IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.25). In this case, if I1232
does not equal "sell" and M1232-K1232 equals -.25 the formula does not

return
"check".

Here's the entire formula:


=IF(OR(AND(K1232<2;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.25);AND(K123
2=2;K1232<=5;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.4);AND(K12325;K1
232<=10;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.5);AND(K123210;K1232<=
20;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.8);AND(K123220;IF(I1232="se
ll";K1232-L1232;M1232-K1232)<=-1)); "Check";"")

Thank you in advance.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duke Carey
 
Posts: n/a
Default Help with a Formula

OK, I wasn't done:

shorter version:

ROUND(IF(I1232="sell",K1232-L1232,M1232-K1232),2)<=-0.25


"Duke Carey" wrote:

I have to correct Bob's correction or my error

IF(I1232="sell",round(K1232-L1232,2),round(M1232-K1232,2))<=-0.25)

I hope we're all done with this subject


"Bob Phillips" wrote:

I think Duke means

IF(I1232="sell",round(K1232-L1232,0),round(M1232-K1232,0))<=-0.25)


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Duke Carey" wrote in message
...
Try rounding, i.e.,

IF(I1232="sell",round(K1232-L1232),round(M1232-K1232))<=-0.25)


"carl" wrote:

Hi. For some reason when "K1232-L1232;M1232-K1232" is equal to the

threshold,
the formula does not return "check". For example in:

IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.25). In this case, if I1232
does not equal "sell" and M1232-K1232 equals -.25 the formula does not

return
"check".

Here's the entire formula:


=IF(OR(AND(K1232<2;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.25);AND(K123
2=2;K1232<=5;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.4);AND(K12325;K1
232<=10;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.5);AND(K123210;K1232<=
20;IF(I1232="sell";K1232-L1232;M1232-K1232)<=-0.8);AND(K123220;IF(I1232="se
ll";K1232-L1232;M1232-K1232)<=-1)); "Check";"")

Thank you in advance.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 07:46 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"