Consulting

Results 1 to 3 of 3

Thread: SUMIFS help please

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    SUMIFS help please

    Hi,

    PHP Code:
    =SUMIFS(AF10:AF2000,U10:U2000,U1,AP10:AP2000,U5
    I need for this formula to count only positive numbers - AF10:AF10 being the column with numbers in of course.

    and also separately negative numbers

    Any help much appreciated

    thanks
    Jon
    Last edited by Aussiebear; 04-27-2023 at 12:16 PM. Reason: Added code tags

  2. #2
    VBAX Expert shrivallabha's Avatar
    Joined
    Jan 2010
    Location
    Mumbai
    Posts
    744
    Location
    What do you want to do, SUM or COUNT?
    Regards,
    --------------------------------------------------------------------------------------------------------
    Shrivallabha
    --------------------------------------------------------------------------------------------------------
    Using Excel 2016 in Home / 2010 in Office
    --------------------------------------------------------------------------------------------------------

  3. #3
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,445
    Location
    Try

    PHP Code:
    =SUMIFS(AF10:AF2000,U10:U2000,U1,AP10:AP2000,U5,AF10:AF2000,">0"
    and

    PHP Code:
    =SUMIFS(AF10:AF2000,U10:U2000,U1,AP10:AP2000,U5,AF10:AF2000,"<0"
    Last edited by Aussiebear; 04-27-2023 at 12:16 PM. Reason: Added code tags
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

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