I want to count a name match in multiple sheets (range is the same) but don't want it to count the names that are in italics. Count Smith but not Smith
Using this at the moment..
a2:a4 are the names of the sheets etc.
j4:w60 is my range on each sheet
c2 is my text search. i.e. Smith
Any ideas to avoid it counting the text in italics please
Using this at the moment..
Code:
=SUMPRODUCT(COUNTIF(INDIRECT("'"&A2:A4&"'!J4:w60"),C2))
a2:a4 are the names of the sheets etc.
j4:w60 is my range on each sheet
c2 is my text search. i.e. Smith
Any ideas to avoid it counting the text in italics please