ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Limelight Media - ExcelTip.com Books > F1 Get the most out of Excel Formulas & Functions

Notices

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 11-02-2006, 11:25 AM
meyerstc meyerstc is offline
Registered User
 
Join Date: 07 Sep 2006
Posts: 4
meyerstc is on a distinguished road
If Nested?

I need to write a forumla that calculates the following:
- if the value of cell B6 is greater than 0 but less than 1,000 = 2.6
- if the value of cell B6 is greater than 1,000 but less than 2,000 = 2.4
- if the value of cell B6 is greater than 2,000 but less than 5,000 = 2.0

If you can give me help in writing this formula, it will be greatly appreciated.

Thank you
Reply With Quote
  #2  
Old 11-02-2006, 12:11 PM
oldchippy's Avatar
oldchippy oldchippy is offline
"Eagle Eyed" Forum Moderator
 
Join Date: 14 Feb 2005
Location: Worcester, UK
Posts: 5,934
oldchippy will become famous soon enough oldchippy will become famous soon enough
Thumbs up

Quote:
Originally Posted by meyerstc
I need to write a forumla that calculates the following:
- if the value of cell B6 is greater than 0 but less than 1,000 = 2.6
- if the value of cell B6 is greater than 1,000 but less than 2,000 = 2.4
- if the value of cell B6 is greater than 2,000 but less than 5,000 = 2.0

If you can give me help in writing this formula, it will be greatly appreciated.

Thank you
Hi meyerstc,

Try this,

=IF(AND(A1<1000,A1>0),2.6)+IF(AND(A1<2000,A1>1000),2.4)+IF(AND(A1<5000,A1>2000),2)

oldchippy
Reply With Quote
Reply

Bookmarks

New topics in F1 Get the most out of Excel Formulas & Functions


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


All times are GMT -4. The time now is 05:09 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0