Conditioanl Sum Help with Multiple Sheets in a Workbook

C

Curtis

Column D Row 254 contains the text "C" in all worksheets (which have
different numeric names..i.e. 1400 thru 1423)

In a summary sheet in the same workbook I need to count the number of
instances "C" occurs.

I will later use this formula to count it the value is "D" or "E"

Thanks
 
S

Sean Timmons

Have a list of sheet names in a column of yoru summary sheet. Let's say in
cells D1 to D50

=SUMPRODUCT(COUNTIF(INDIRECT("'"&D1:D50&"'!D24"),"C"))
 
G

Gord Dibben

Summary sheet is first sheet.

Insert a new sheet to right of summary sheet......name it Start

Insert a new sheet at end of sheets.........name it End

In your summary sheet enter in a cell =COUNTIF(Start:End!D254,"C")

When adding more sheet make sure they are inserted between Start and End
sheets.


Gord Dibben MS Excel MVP
 
G

Gord Dibben

Duh! Senior moment.

You're correct Ashish

I will think about something else.

Gor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top