Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Sue
 
Posts: n/a
Default Assign one number to a number range

For example,
-assign 1 to any number between 50 and 64
-assign 2 to any number betwen 65 to 79
-assign 3 to any number between 80-100
So that 62 (in column 1) will be coded as a 1 (in column 2), whereas 67
would be coded a 2 and 83 would be coded a 3.

  #2   Report Post  
CLR
 
Posts: n/a
Default

In cell B1 put this formula and copy down..........

=IF(OR(A1<50,A1100),"Out of range",IF(A1=80,3,IF(A1=65,2,IF(A1=50,1))))

Vaya con Dios,
Chuck, CABGx3



"Sue" wrote in message
...
For example,
-assign 1 to any number between 50 and 64
-assign 2 to any number betwen 65 to 79
-assign 3 to any number between 80-100
So that 62 (in column 1) will be coded as a 1 (in column 2), whereas 67
would be coded a 2 and 83 would be coded a 3.



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
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
How do I assign a text value to a variable number of rows? Jday Excel Worksheet Functions 6 June 20th 05 01:46 PM
How can I assign a number value to a letter grade in Excel? BlackBond Excel Worksheet Functions 3 April 5th 05 10:12 PM
Select same range from large number of workbooks BillC Excel Worksheet Functions 2 February 18th 05 09:59 PM
How to add one number to a range of numbers BatonRougeguy Excel Worksheet Functions 1 February 16th 05 07:47 AM


All times are GMT +1. The time now is 03:58 PM.

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"