LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default if formula with between value as a criteria

What formula do I use if I'd like to use the if formula but set the criteria
between 2 values? Below is my example.
=IF(R29=T29, "OK", IF(R29-T29<1, "OK", "Off by $"&ROUND(R29-T29,0)))

If I add a 3rd criteria to display "OK" when it's greater than -1, the
formula doesn't calculate right. I'd like the second if statement to be
between 1 and -1. Is there any way to modify this existing formula so that
it only says "OK" when it's equal to each other or when the difference is
between 1 and -1? Please let me know if there is a way to modify this
formula.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200812/1

 
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
if formula - multi criteria Belinda7237 Excel Worksheet Functions 6 September 3rd 08 03:35 AM
Sum formula for multiple criteria... help? Bob Excel Discussion (Misc queries) 1 April 16th 08 04:43 PM
Sum If Formula with 3 criteria Peanut Excel Worksheet Functions 4 October 12th 07 08:49 PM
multiple criteria formula scott Excel Worksheet Functions 1 September 18th 06 09:08 PM
2 Criteria Formula Coltsfan Excel Discussion (Misc queries) 6 January 16th 06 08:08 PM


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