• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

sumifs multiple worksheets with 2 variables

melvin

Member
Hi all,

I have been trying different formulas from the forum for similar queries, but couldn't get it to work.

I am trying to consolidate data from multiple worksheets, using 2 variables as intersection

i.e. Store id & Sales. tried sumif, indirect, but couldn't get it to work.

Appreciate any help

Melv.
 

Attachments

The Store ID isn't in a field on any tabs or in any Tab Names ?

where to find that ?
 
N7: =SUMPRODUCT(SUMIFS(OFFSET(INDIRECT("'"&TabList&"'!B5:B14"),,MATCH(N$6,$N$6:$FP$6,0)-1),INDIRECT("'"&TabList&"'!A5:A14"),$D7))

Copy across and down

See attached file:
 

Attachments

Champion mate.
What does this part of the formula do
MATCH(N$6,$N$6:$FP$6,0)-1), How does this gets information from all the sheets

INDIRECT("'"&TabList&"'!A5:A14") - Not sure what this does. Appreciate your guidance. No rush mate.

Have a great weekend.

Melv.
 
Back
Top