Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count the number of values in a list that meet certain criteria
I would like to count the number of values that are greater than a cell
reference value. For example I have the following list in a spreadsheet: 242 318 743 426 174 397 108 75 And would like to compare the following numbers to see how many numbers in the first list are greater than each of the numbers in the list below: 242 218 194 169 145 121 97 73 48 24 in other words there are 4 numbers in the first list greater than 242 in the second list. I can do this by the following formula: =COUNTIF(G8:G17,"=242") but it means manaually changong the formula each time with the number in the second list e.g. 242, 218 etc. I would like to automate this so I don't have to manually make these changes. How do I do this as I have over 30 lists each with 10 values to compare? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count the number of values in a list that meet certain criteria
Try
=COUNTIF($G$8:$G$17,"="&A8) where A8 is the cell with 242 copy down -- Regards, Peo Sjoblom "Fudgy" wrote in message ... I would like to count the number of values that are greater than a cell reference value. For example I have the following list in a spreadsheet: 242 318 743 426 174 397 108 75 And would like to compare the following numbers to see how many numbers in the first list are greater than each of the numbers in the list below: 242 218 194 169 145 121 97 73 48 24 in other words there are 4 numbers in the first list greater than 242 in the second list. I can do this by the following formula: =COUNTIF(G8:G17,"=242") but it means manaually changong the formula each time with the number in the second list e.g. 242, 218 etc. I would like to automate this so I don't have to manually make these changes. How do I do this as I have over 30 lists each with 10 values to compare? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
count rows that meet certain criteria | Excel Discussion (Misc queries) | |||
How do I count 2 columns of data that meet a certain criteria? | Excel Discussion (Misc queries) | |||
Count Cells that meet Criteria | Excel Worksheet Functions | |||
how do I count the numbers of row that meet 2 criteria | Excel Worksheet Functions | |||
count records which meet filter criteria | Excel Discussion (Misc queries) |