Results 1 to 8 of 8

Need help with an array formula using 2 tables.

Threaded View

  1. #1
    Registered User
    Join Date
    01-16-2014
    Location
    washington
    MS-Off Ver
    Excel 365 version 4209
    Posts
    89

    Need help with an array formula using 2 tables.

    Hi everyone,
    I have a workbook that has many sheets and I want to combine totals from all the sheets onto one sheet. I have received alot of help with this workbook already but have run into another situation that I think should be simple but can't figure it out.

    In the attached workbook on the Jan 2016 Tabl3 6 7 sheet, is Table 6 A14:H22,
    Dbl CK Totals sheet is where the formula I am using is located K4 (highlighted).
    K4 has the correct answer. K6 should be 546.52. Using table 6 and 7 (A23:G30) it should be (E16*F16)+(E18*G18)+(C25*F25).

    Everything works fine with my formula IF the name in table 6 is only there one time. When I have to put it in 2 times (example BL) then the formula reads table 6 twice. I don't know why!

    I am using the array (CTRL+SHIFT+ENTER) but still no luck. Here is the formula I am trying to use

    {=SUMIF(Table6[COST OF CARE /Add-ons / Staff Trainings / Trainer],'Dbl Ck Totals'!$B6,Table6[Column4])*SUMIF(Table6[COST OF CARE /Add-ons / Staff Trainings / Trainer],'Dbl Ck Totals'!$B6,Table6[Jan])+SUMIF(Table7[ADD-ONS],'Dbl Ck Totals'!$B6,Table7[Column2])*SUMIF(Table7[ADD-ONS],'Dbl Ck Totals'!$B6,Table7[Jan])+SUMIF(Table6[COST OF CARE /Add-ons / Staff Trainings / Trainer],'Dbl Ck Totals'!$B6,Table6[Column4])*SUMIF(Table6[COST OF CARE /Add-ons / Staff Trainings / Trainer],'Dbl Ck Totals'!$B6,Table6[Jan2])+SUMIF(Table7[ADD-ONS],'Dbl Ck Totals'!$B6,Table7[Column2])*SUMIF(Table7[ADD-ONS],'Dbl Ck Totals'!$B6,Table7[Jan2])}

    Also if I remove the BL from A18 then the formula works fine.

    I am so confused!! Thank you everybody for your help with this.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Dynamic Sub Tables Based On Master Sheet Array formula & drilling through
    By pamela16 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-16-2019, 05:48 AM
  2. [SOLVED] lookup data in the database of Excel Tables WITHOUT AN ARRAY FORMULA
    By carsto in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 10-20-2015, 06:42 PM
  3. Replies: 3
    Last Post: 03-31-2015, 03:07 PM
  4. Pivot tables and array variables
    By JAdamJ in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-12-2005, 11:30 AM
  5. Replies: 0
    Last Post: 07-27-2005, 11:05 AM
  6. [SOLVED] Array or Pivot Tables???
    By Lonnie M. in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2005, 01:06 PM

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