+ Reply to Thread
Results 1 to 4 of 4

Update on multiple query formula please

  1. #1
    Forum Contributor
    Join Date
    10-13-2011
    Location
    Australia
    MS-Off Ver
    Office 16
    Posts
    329

    Update on multiple query formula please

    I require an additional Data/Formula in Cell Y3 of the attached Result Data Sheet please.

    The criteria is the same as the array formula in Cell X3 with the following variation and addition:
    Date is to be greater than which I have changed to ">" already,

    But I also need additional criteria to include Cell Reference $B$2. That is, it will be looking for any entries with an ST beyond the date shown in P2 of the GOIT907 report. When this is done - (another formula, sorry) -

    Is it also possible to include the same formula shown at Cells X3 and Y3 but also adding the GOIT907!$K$2:$K$10000="SR" criteria in Cell Reference X21 and Y 21 respectively? (Based on the same criteria in X3 and Y3 but with the additionsl query.)

    Seems like a big ask, and I thank anyone in advance who can amend this for me.

    Regards - Chris
    Attached Files Attached Files
    Last edited by Christopherdj; 05-08-2012 at 07:03 PM.

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Update on multiple query formula please

    First of all, I would recommend that you use SUMIFS() instead of your current array formulae. Your profile indicates Excel 2003 but your file is Excel 2007+ so SUMIFS() is available to you.
    So, in X3 (and copied down) you could use:
    =SUMIFS(GOIT907!$O:$O,GOIT907!$D:$D,"<="&$X$2,GOIT907!$F:$F,$A3,GOIT907!$G:$G,W$1&"")
    (I have used whole columns for sake of clarity - you can use actual ranges if you wish)
    Then, in Y3 (and copied down) this:
    =SUMIFS(GOIT907!$O:$O,GOIT907!$D:$D,">"&$Y$2,GOIT907!$F:$F,$A3,GOIT907!$G:$G,W$1&"")

    Your new formulas to add the SR criteria would simply be:
    =SUMIFS(GOIT907!$O:$O,GOIT907!$D:$D,"<="&$X$2,GOIT907!$F:$F,$A3,GOIT907!$G:$G,W$1&"",GOIT907!$K:$K,"SR")
    and
    =SUMIFS(GOIT907!$O:$O,GOIT907!$D:$D,">"&$Y$2,GOIT907!$F:$F,$A3,GOIT907!$G:$G,W$1&"",GOIT907!$K:$K,"SR")

  3. #3
    Forum Contributor
    Join Date
    10-13-2011
    Location
    Australia
    MS-Off Ver
    Office 16
    Posts
    329

    Re: Update on multiple query formula please

    Thank you - I have amended my profile (work has upgraded recently). Formulas seem to be working ok. Thank you so much.

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Update on multiple query formula please

    You're welcome. Thanks for the 'star tap'.

+ 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