Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default IF Formula problem

I have a formula that appears to be giving two different results for no
explainable reason. My table is listed first, followed by the same thing
with formulas shown.

Can anyone help?

041 5,597.76 041 5,719.76 -122.00 FEE - OK
029 4,010.93 029 4,133.93 -123.00 VARIANCE


41 5597.76 41 5719.76 =B1-D1 =IF(OR((E1-(ROUNDUP(E1,0)))0,(E1-(ROUNDUP(E1,0)))<0),"VARIANCE","FEE - OK")
29 4010.93 29 4133.93 =B2-D2 =IF(OR((E2-(ROUNDUP(E2,0)))0,(E2-(ROUNDUP(E2,0)))<0),"VARIANCE","FEE - OK")

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default IF Formula problem

You could have some hidden decimals. Are the values in B and D manually
entered, or are they coming from somewhere else? I'm thinking that if the
value of E2 is actually -123.00001 (or similar) your formula is correct,
there is a variance. If you're just checking for decimals, perhaps:
=IF(RIGHT(TEXT(ROUNDUP(G11,2),"0.00"),2)<"00","VA RIANCE","FEE - OK")
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Erika Renicker" wrote:

I have a formula that appears to be giving two different results for no
explainable reason. My table is listed first, followed by the same thing
with formulas shown.

Can anyone help?

041 5,597.76 041 5,719.76 -122.00 FEE - OK
029 4,010.93 029 4,133.93 -123.00 VARIANCE


41 5597.76 41 5719.76 =B1-D1 =IF(OR((E1-(ROUNDUP(E1,0)))0,(E1-(ROUNDUP(E1,0)))<0),"VARIANCE","FEE - OK")
29 4010.93 29 4133.93 =B2-D2 =IF(OR((E2-(ROUNDUP(E2,0)))0,(E2-(ROUNDUP(E2,0)))<0),"VARIANCE","FEE - OK")

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
Formula Problem Confused at Work Excel Discussion (Misc queries) 4 April 11th 08 10:18 PM
What is the problem with this formula? Teethless mama Excel Worksheet Functions 1 January 21st 07 06:18 PM
formula problem John48 Excel Worksheet Functions 8 August 7th 06 05:17 PM
formula problem legepe Excel Discussion (Misc queries) 5 August 6th 06 07:12 PM
Formula Problem J.C.De New Users to Excel 1 January 21st 05 04:22 PM


All times are GMT +1. The time now is 05:53 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"