Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default if statement with a range without a cell reference ie, #s 1100 to

=IF(G2=1200,12,IF(G2=1100,11,IF(G2=1000,10,IF(G2=6 00,6,""))))

I am trying to get the statement to calculate the numbers between 1100 and
1199; 1000 and 1999, and 600 thru 999. That if a number is put into cell g2
that is between 1100 and 1199, 11 will be in cell d. It won't take the range
without having a cell reference.
--
Dorothy J
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 96
Default if statement with a range without a cell reference ie, #s 1100 to

assuming that G2 may contain uncertain number beyond your sample

=if(or(g21199,g2<600),"then
what!",if(g2=1100,11,if(g2=1000,10,if(g2=600,6, "why?"))))

--
*****
birds of the same feather flock together..



"Dorothy J" wrote:

=IF(G2=1200,12,IF(G2=1100,11,IF(G2=1000,10,IF(G2=6 00,6,""))))

I am trying to get the statement to calculate the numbers between 1100 and
1199; 1000 and 1999, and 600 thru 999. That if a number is put into cell g2
that is between 1100 and 1199, 11 will be in cell d. It won't take the range
without having a cell reference.
--
Dorothy J

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
Excel - copy absolute cell references (within the range) as relati Merf1013 Excel Discussion (Misc queries) 1 October 10th 06 07:46 AM
Cell reference in a range nick Excel Worksheet Functions 5 September 13th 06 06:16 PM
Help with this conditional IF statement C-Dawg Excel Discussion (Misc queries) 3 May 15th 06 06:01 PM
use a cell to reference a range in a vlookup Dan Excel Discussion (Misc queries) 4 July 27th 05 07:36 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM


All times are GMT +1. The time now is 05:10 AM.

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

About Us

"It's about Microsoft Excel"