Hi all. Any help is greatly appreciated on this:
I'm working with a database consisting of one and two digit numbers, if more than one number, it is separated by the || characters.
One column of the database looks something like this:
DATA
1
1||2
2
1||2||3||4||5||6
1||2||3||4||5||7
1||2||3||4||5||6||8
1||2||3||4||5||6||9
To do my analysis, I needed to count all the 1's in this column, all the 2's etc.etc.
I've been using this formula to do this:
=SUMPRODUCT((ISNUMBER(SEARCH("||"&1&"||","||"&A1:A9&"||"))+0))
My dilemma now is that I need to filter this by using a database formula of some sort and add criteria. If these were single numbers I'd use a formula such as =DCOUNT(A1:D9,1,G1:G2) where G1:G2 is my criteria range.
Does anyone have any suggestions for a database formula I can use that would do the same thing as my SUMPRODUCT formula above?
Again, any help is GREATLY appreciated. Thanks!
I'm working with a database consisting of one and two digit numbers, if more than one number, it is separated by the || characters.
One column of the database looks something like this:
DATA
1
1||2
2
1||2||3||4||5||6
1||2||3||4||5||7
1||2||3||4||5||6||8
1||2||3||4||5||6||9
To do my analysis, I needed to count all the 1's in this column, all the 2's etc.etc.
I've been using this formula to do this:
=SUMPRODUCT((ISNUMBER(SEARCH("||"&1&"||","||"&A1:A9&"||"))+0))
My dilemma now is that I need to filter this by using a database formula of some sort and add criteria. If these were single numbers I'd use a formula such as =DCOUNT(A1:D9,1,G1:G2) where G1:G2 is my criteria range.
Does anyone have any suggestions for a database formula I can use that would do the same thing as my SUMPRODUCT formula above?
Again, any help is GREATLY appreciated. Thanks!