Consulting

Results 1 to 9 of 9

Thread: Solved: SUMIF

  1. #1
    VBAX Regular
    Joined
    Oct 2005
    Posts
    20
    Location

    Solved: SUMIF

    HI,

    I need sum of Amounts of a party on a specific date within a range. I have attached my work file. Please help me to solve this!

    Thanks

  2. #2
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    Hi, can you be a bit more specific about what your requirements are?

  3. #3
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Quote Originally Posted by 070968
    HI,

    I need sum of Amounts of a party on a specific date within a range. I have attached my work file. Please help me to solve this!

    Thanks
    =SUMIF(B:B,--"2005-08-01",D) that is D : D
    ____________________________________________
    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

  4. #4
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    Okay, read requiremnts in your file ..

    Quote Originally Posted by 070968
    I need sum of Amounts of a party say "AIR TRANSPORT COMPANY", On a specific date say Sum of amounts on 1st Aug 2005 = 19992
    In G3 enter:
    AIR TRANSPORT COMPANY
    
    In H3 enter:
    8/1/05
    
    In I3 enter:
    =SUMPRODUCT((B2:B312=H3)*(C2:C312=G3),D2:D312)
    Note the ranges must be exactly the same and this particular formula does not grow with your data. As it wasn't a specified requirement I didn't add it, but it can be done.

  5. #5
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    Quote Originally Posted by xld
    =SUMIF(B:B,--"2005-08-01",D) that is D : D
    A second qualifier existed, only specified in the workbook..

  6. #6
    VBAX Regular
    Joined
    Oct 2005
    Posts
    20
    Location
    Hi,

    I want to add all common data from a given range.

    example:

    in c1:c200 search a party name,
    in B1:B200 search similar dates of searched party from C1:C200

    now add all corresponding amounts from D1200 of a date.

    thanks

  7. #7
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    That is what my formula does.

  8. #8
    VBAX Regular
    Joined
    Oct 2005
    Posts
    20
    Location
    Hi,

    I have used Autofilter & then the SUMPRODUCT formula given by you, it worked very well.
    Thanks a lot for your help.

    Regards

    Garima

  9. #9
    What the Formula would be if Vlookup is to be applied on the same problem
    i.e if someone wants to look the amount of air transport company on a specific date i.e. 1-8-5 what would be the formula

Posting Permissions

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