oops, that must be:
=SUMPRODUCT(
COUNTIF(INDIRECT("Sheet"&ROW(INDIRECT("1:50"))&"!C 6:F40");"jack"))
or =SUM( countif() ) entered as array function
--
keepITcool
|
www.XLsupport.com | keepITcool chello nl | amsterdam
keepITcool wrote :
Nope,
no VBA needed.
Try a worksheetfunction:
=COUNTIF(INDIRECT("Sheet"&ROW(INDIRECT("1:50"))&"! C6:F40");"jack")
--
keepITcool
www.XLsupport.com | keepITcool chello nl | amsterdam
hans wrote :
I want to know how often a name (say jack) occurs in a spreadsheet.
The name has to be found in the range c6:f40 but.........
i have 50 sheets. named 1, 2, 3, 4, .......50
and i want to know the sum of how often a name occurs in all sheets
together.
I think this has to be done in vba!
Can someone help me?
Greetings Hans