search multiple worksheets for an item and return the Wsheets name
I have 12 worksheets (Jan.. Dec). I want to enter a unique ref. number and
then search the worksheets in turn Jan.. Dec. If found return the worksheet
name or return 'Not found'. I've tried this
=IF(COUNTIF(January!K5:K20,Q5)0,"January","No match")
Where January is my worksheet name
K5:K20 is the range to look at
Q5 is the cell that I have entered my unique No.
I've also listed my worksheet names in a named range on another sheet but
cannot get this to work either.
Thanks
Chris
|