+ Reply to Thread
Results 1 to 7 of 7

Sumproduct for mutiple tabs

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-24-2006
    Location
    Sevenoaks, Kent
    MS-Off Ver
    Office 365 ProPlus
    Posts
    459

    Sumproduct for mutiple tabs

    I need a formula for looking for a specific word in the same column on all tabs,i know how to do the formula for 1 tab
    =SUMPRODUCT((FEB!$A$15:$A$1000=SUMMARY!A4)*(FEB!$F$15:$F$1000=FEB!$AF$3))
    but over muliple tabs i have to repeat it for each tab. Example
    =SUMPRODUCT((FEB!$A$15:$A$1000=SUMMARY!A6)*(FEB!$F$15:$F$1000=FEB!$AF$3))+SUMPRODUCT((MAR!$A$15:$A$1000=SUMMARY!A6)*(MAR!$F$15:$F$1000=FEB!$AF$3))+SUMPRODUCT((APR!$A$15:$A$1000=SUMMARY!A6)*(APR!$F$15:$F$1000=FEB!$AF$3))
    The must be an easier way.

    Thanks

    DJ

  2. #2
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    SUMPRODUCT(('Feb:April'!A15:A10000=Your value)*etc

    Ed

  3. #3
    Forum Contributor
    Join Date
    09-25-2004
    Posts
    269
    May we see a sample workbook?

  4. #4
    Forum Contributor
    Join Date
    08-24-2006
    Location
    Sevenoaks, Kent
    MS-Off Ver
    Office 365 ProPlus
    Posts
    459
    Still not getting this to work does anyone have any ideas why?

    =SUMPRODUCT(('Feb:[DEC]DEC'!A15:A10000=A4)*(FEB!F15:F1000="PPP"))

  5. #5
    Forum Contributor
    Join Date
    09-25-2004
    Posts
    269
    List your worksheets names in cells B2:B4

    Select B2

    Insert > Name > Define

    Name: wks

    Refers to:

    =TRANSPOSE(Sheet1!$B$2:$B$4)

    Click Ok

    Then try...

    =SUMPRODUCT((T(OFFSET(INDIRECT("'"&wks&"'!A15:A1000"),ROW(INDIRECT("15:1000")),0))=A4)*(T(OFFSET(INDIRECT("'"&wks&"'!F15:F1000"),ROW(INDIRECT("15:1000")),0))=$AF$3))

    If it doesn't work please post a sample workbook.
    Last edited by vane0326; 02-06-2008 at 02:31 PM.

  6. #6
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    Hi,

    You have different range sizes 15:1000, 15:10000 - try with both the same.

    Ed

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1