Hi everyone. I would be extremely grateful if someone could help me with a counting formula?
In A1:A100 I have a list of locations (London, Sheffield, Leeds .... etc) - (non-unique)
In B1:B100 I have a list of colours + numbers (Red 1, Blue 15, Green 22 .... etc) - (unique)
In C1:C20 I have a unique list of the 20 locations.
In D1:D20 I have a column that looks up the location in C1:C20 and counts how many rows contain that location in column A and the word “blue” in column B.
Examples:
D1 contains how many rows contain the location (looked up in C1) in column A AND the word “Blue” in column B.
D2 contains how many rows contain the location (looked up in C2) in column A AND the word “Blue” in column B.
Columns E, F, G .... etc would count the totals for the other colours.
I have tried using COUNTIF, COUNT, SUMPRODUCT, Array Formulas (I still can’t get my head around array formulas!), but I just can’t seem to find anything that works.
(I’m using “*blue*” as the search for the colour to exclude the numbers in the cell.)
I THINK I have explained it OK.
Many thanks in anticipation of anyone’s help.
Bookmarks