Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 72
Default COUNT IF A VALUE FALLS WITHIN A RANGE IN A SINGLE CELL

example:
H/S 100's 50's 200's 300's 400's
57 1
is there a formula that can automatically sort the figure under H/S into the
respective groupings, e.g 57 would fall under 50's. return that figure also
as 1 as illustrated above.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default COUNT IF A VALUE FALLS WITHIN A RANGE IN A SINGLE CELL

What happens if the number is less then 50?
What happens if the number is greater then 499?
Can the fields be in numerical order without the < 's ,
50 100 200 300 400
?
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"roland" wrote in message
...
example:
H/S 100's 50's 200's 300's 400's
57 1
is there a formula that can automatically sort the figure under H/S into
the
respective groupings, e.g 57 would fall under 50's. return that figure
also
as 1 as illustrated above.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default COUNT IF A VALUE FALLS WITHIN A RANGE IN A SINGLE CELL

Try this:

List the boundaries in ascending order and drop the "s" :

...........A.....B......C......D.......E.....F
1...............50...100...200...300...400
2.......57........................................ ....

Enter this formula in B2 and copy across to F2:

=IF(OR($A2<$B1,$A2499),"",IF(B1=LOOKUP($A2,$B1:$F 1),1,""))

--
Biff
Microsoft Excel MVP


"roland" wrote in message
...
example:
H/S 100's 50's 200's 300's 400's
57 1
is there a formula that can automatically sort the figure under H/S into
the
respective groupings, e.g 57 would fall under 50's. return that figure
also
as 1 as illustrated above.



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
IF CELL VALUE FALLS WITHIN A RANGE OF VALUES Melvin Tang Excel Worksheet Functions 8 September 4th 07 04:59 AM
update cell only if now() falls in a given date range treyn1292 Excel Worksheet Functions 0 February 16th 06 08:54 PM
how to count if the value falls between a date range joe Excel Discussion (Misc queries) 3 September 28th 05 04:37 AM
get a count of numbers whose value falls within a given range LyleB_Austin Excel Worksheet Functions 5 August 3rd 05 04:38 PM
How to count a range of values in a single cell? nyc_doc Excel Worksheet Functions 3 August 3rd 05 12:30 AM


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