+ Reply to Thread
Results 1 to 5 of 5

SUMIFS Formula (Syntax question)

Hybrid View

  1. #1
    Registered User
    Join Date
    06-21-2014
    Location
    Sydney
    MS-Off Ver
    2011
    Posts
    92

    SUMIFS Formula (Syntax question)

    Sorry All,

    I have it working now but cant delete the post?


    ..........

    Hi all,

    I have a relatively tricky sum formula that works perfectly (there was a bit of trial and error on my part as I am no big expert)

    =SUMIFS(INDEX(MATRIX!$BD$1:$CN$2000,0,MATCH(D$53&D$54,MATRIX!$BD$1:$CN$1&MATRIX!$BD$2:$CN$2,0)),MATRIX!$Q$1:$Q$2000,'Marketing Profile'!$B73,MATRIX!$K$1:$K$2000,$B$54)

    However I realised that I now need to exclude some records from the sum. These records are flagged as Contractors in Column O of the spreadsheet but I cant get the syntax right

    =SUMIFS(INDEX(MATRIX!$BD$1:$CN$2000,0,MATCH(E$53&E$54,MATRIX!$BD$1:$CN$1&MATRIX!$BD$2:$CN$2,0)),MATRIX!$Q$1:$Q$2000,'Marketing Profile'!$B72,MATRIX!$K$1:$K$2000,$B$54,MATRIX!$O$1:$O$2000,"<> Contractors")

    Does anyone know what the right syntax would be for this?

    Thanks,

    Keelin
    Last edited by Keelin; 07-29-2014 at 05:36 AM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: SUMIFS Formula (Syntax question)

    Try removing the space and using just

    "<>Contractors"
    Audere est facere

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,730

    Re: SUMIFS Formula (Syntax question)

    Difficult to know for sure without any data. However, those (as far as I can tell) should be Array Formulae and committed with Ctrl-Shift-Enter.

    Just putting them into and empty workbook and naming the sheets appropriately, I get 0 for both but, as I say, no data to check it.

    Short story, as Array Formulae, they produce a result, just don't know if it's the right result.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    06-21-2014
    Location
    Sydney
    MS-Off Ver
    2011
    Posts
    92

    Re: SUMIFS Formula (Syntax question)

    Thank-you all,

    Daddylonglegs (love the name I think you were right about the spacing.

    And as you said TMS I 'think' I have it working now but must go through all the checks...although at least now it is bringing back data - and hopefully fingers crossed its the right data!

    Thanks so much

    K

  5. #5
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: SUMIFS Formula (Syntax question)

    Quote Originally Posted by Keelin View Post
    I have it working now but cant delete the post?
    Don't delete it, marked it [SOLVED] instead.

    Quote Originally Posted by FAQ
    To mark your thread solved do the following:
    New Method
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    Old Method
    - Go to the first post
    - Click edit
    - Click Advance
    - Just below the word "Title:" you will see a dropdown with the word No prefix.
    - Change to Solve
    - Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Vlookup & multiple sumifs formula question
    By lilsnoop in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-27-2014, 07:42 PM
  2. [SOLVED] =SUMIFS Formula Question
    By Jsimpson19 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-10-2013, 11:01 PM
  3. Trouble with proper syntax for SUMIFS
    By JRay0108 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-21-2012, 08:24 PM
  4. [SOLVED] Looking for correct SUMIFS syntax
    By peri1224 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-20-2012, 11:16 AM
  5. EZ Formula Syntax Question
    By McManCSU in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-17-2005, 12:58 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