#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bsmile29
 
Posts: n/a
Default Formula help

I'm trying to create a formula that will involves a range of numbers. For
instance, if a A1 is between 100-119, then result should be 1, if A1 is
between 120-139, then then the result should be 2 and so on. I can't figure
out the right combination to make it work. Thanks in advance for your help!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Formula help

=IF(A199,INT((A1-100)/20)+1,"")

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"bsmile29" wrote in message
...
I'm trying to create a formula that will involves a range of numbers. For
instance, if a A1 is between 100-119, then result should be 1, if A1 is
between 120-139, then then the result should be 2 and so on. I can't

figure
out the right combination to make it work. Thanks in advance for your

help!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bpeltzer
 
Posts: n/a
Default Formula help

Check vlookup. The range form of that function (set the final argument to
TRUE or just leave it out) should do what you need.

"bsmile29" wrote:

I'm trying to create a formula that will involves a range of numbers. For
instance, if a A1 is between 100-119, then result should be 1, if A1 is
between 120-139, then then the result should be 2 and so on. I can't figure
out the right combination to make it work. Thanks in advance for your help!

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
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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