+ Reply to Thread
Results 1 to 2 of 2

Lookup Or Index, Match then Sum with several criteria.

  1. #1
    Registered User
    Join Date
    10-10-2010
    Location
    Dhaka
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    4

    Lookup Or Index, Match then Sum with several criteria.

    Hi, please help me.

    I have SO #, RV #, RV Date and Amount (in column A, B, C and D). And copied SO #, DO #, DO Date (in column F, G and H).

    Now i want to return the Voucher Amount and sum it based on SO # and DO Date into column I.
    Some Amount is for several DO, thus it didn't need to add from the previous amount. Just return the same amount as the previous one. In other words: Different DO, same DO Date, same amount.

    I used lookup:
    Code:
    =LOOKUP(2;1/(($A$2:$A$18=F4)*($C$2:$C$18<=H4));$D$2:$D$18)
    But some amount didn't showed up! And i've used sumif to sum the amount, but it didn't work!

    I'm sorry if it's confusing. Thank you.

    And here's my worksheet with expected result.
    Attached Files Attached Files
    Last edited by borissinga; 10-15-2010 at 08:31 AM. Reason: Solved it

  2. #2
    Registered User
    Join Date
    10-10-2010
    Location
    Dhaka
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    4

    Re: Lookup Or Index, Match then Sum with several criteria.

    I solved it using Sumproduct.

    Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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