Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
nyc_doc
 
Posts: n/a
Default How to count a range of values in a single cell?

This should be SO simple, but I just can't figure it out!
I've got a column in which each cell has a different list of numbers
separated by commas. I need to count how many numbers in a cell are greater
than or equal to 15:

4,14,16,15,15.3 -- 3
10,10.5,14.9 -- 0
0 -- 0
19, 15.1 -- 2

Anybody got any ideas??? Thanks for your help!

  #2   Report Post  
Gary's Student
 
Posts: n/a
Default

Try to do it in two steps:

1. Use Data Text to Columns... to take each string of numbers and convert
it into a row of single numbers.

2. Use COUNTIF on each row based upon your criteria
--
Gary's Student


"nyc_doc" wrote:

This should be SO simple, but I just can't figure it out!
I've got a column in which each cell has a different list of numbers
separated by commas. I need to count how many numbers in a cell are greater
than or equal to 15:

4,14,16,15,15.3 -- 3
10,10.5,14.9 -- 0
0 -- 0
19, 15.1 -- 2

Anybody got any ideas??? Thanks for your help!

  #3   Report Post  
Jai
 
Posts: n/a
Default

Thanks "Gary's Student". I did the same thing in a more round about way. I
copied the string from the cell to a text file and imported back to get the
same result. Learnt something useful from this. Thanks both of you


"Gary's Student" wrote:

Try to do it in two steps:

1. Use Data Text to Columns... to take each string of numbers and convert
it into a row of single numbers.

2. Use COUNTIF on each row based upon your criteria
--
Gary's Student


"nyc_doc" wrote:

This should be SO simple, but I just can't figure it out!
I've got a column in which each cell has a different list of numbers
separated by commas. I need to count how many numbers in a cell are greater
than or equal to 15:

4,14,16,15,15.3 -- 3
10,10.5,14.9 -- 0
0 -- 0
19, 15.1 -- 2

Anybody got any ideas??? Thanks for your help!

  #4   Report Post  
nyc_doc
 
Posts: n/a
Default

Thanks GS- that's certainly simple... anyway to do this without dividing the
numbers into individual columns? there's gotta be some fun, fancy formula
that can separate out each number....


"Gary's Student" wrote:

Try to do it in two steps:

1. Use Data Text to Columns... to take each string of numbers and convert
it into a row of single numbers.

2. Use COUNTIF on each row based upon your criteria
--
Gary's Student


"nyc_doc" wrote:

This should be SO simple, but I just can't figure it out!
I've got a column in which each cell has a different list of numbers
separated by commas. I need to count how many numbers in a cell are greater
than or equal to 15:

4,14,16,15,15.3 -- 3
10,10.5,14.9 -- 0
0 -- 0
19, 15.1 -- 2

Anybody got any ideas??? Thanks 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
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
Reveal cell formats and extendable range in tool/statusbar/icon. Danny O'Hern ([email protected]) Excel Worksheet Functions 0 April 29th 05 01:16 PM
Toggle multiple values in single cell Chandni Excel Worksheet Functions 5 February 10th 05 12:48 AM
Function to determine if any cell in a range is contained in a given cell [email protected] Excel Worksheet Functions 3 February 7th 05 04:19 PM
Paste rows of numbers from Word into single Excel cell BecG Excel Discussion (Misc queries) 1 December 8th 04 04:55 PM


All times are GMT +1. The time now is 06:28 PM.

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"