I have a column of data (A) like this:
1111
1231
1333
1112
1121
1122
1311
1333
And I have sets of these numbers which need to be COUNTIF'd they match each of the sets, for example:
1111, 1112
1221, 1321, 2432
3131, 2323
I need to get the total from column A of each set of the longer numbers. I tried using a COUNTIF like this
=COUNTIF(A$2:A$127,1111)
BUT, when I add the comma to add the next set, Excel is converting the number into 11,111,112 rather than allowing the COUNTIF function to COUNTIF both of those (1111, 1112) exist in column A. And the function breaks by adding the other numbers separated by a comma. So I need to know how to tell this formula to look for the SET of these numbers in column A.
How can I do this? Thanks SO much for your help!!
1111
1231
1333
1112
1121
1122
1311
1333
And I have sets of these numbers which need to be COUNTIF'd they match each of the sets, for example:
1111, 1112
1221, 1321, 2432
3131, 2323
I need to get the total from column A of each set of the longer numbers. I tried using a COUNTIF like this
=COUNTIF(A$2:A$127,1111)
BUT, when I add the comma to add the next set, Excel is converting the number into 11,111,112 rather than allowing the COUNTIF function to COUNTIF both of those (1111, 1112) exist in column A. And the function breaks by adding the other numbers separated by a comma. So I need to know how to tell this formula to look for the SET of these numbers in column A.
How can I do this? Thanks SO much for your help!!
