Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 81
Default Value within a range

I want a lookup where I type in a number in a a cell ie 50 I get an answer of
4, but when I enter 150 where the answer should be 7 ie(6+1).

Range Number
1 to 15 1
16-30 2
31-45 3
46-60 4
61-75 5
75-100 6
above 100 6+ for every 50

Any ideas

Saintsman
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Value within a range

=IF(A1<=75,INT((A1-1)/15)+1,IF(A1<=100,6,6+INT((A1-101)/50)+1))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Saintsman" wrote in message
...
I want a lookup where I type in a number in a a cell ie 50 I get an answer

of
4, but when I enter 150 where the answer should be 7 ie(6+1).

Range Number
1 to 15 1
16-30 2
31-45 3
46-60 4
61-75 5
75-100 6
above 100 6+ for every 50

Any ideas

Saintsman



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
Duplicate Range Names by worksheet FlaAl Excel Discussion (Misc queries) 0 May 24th 06 05:14 PM
Help with using range names in sum function soteman2005 Excel Worksheet Functions 2 November 28th 05 04:43 PM
How to Select a relative range with Using "Find" and Offset() Dennis Excel Discussion (Misc queries) 7 July 27th 05 03:57 PM
Can a formula check for a certain value in a range? Lee IT Excel Discussion (Misc queries) 3 April 8th 05 07:36 AM
can a formula check for a certain value in a range? Lee IT Excel Discussion (Misc queries) 1 April 7th 05 04:31 PM


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