+ Reply to Thread
Results 1 to 3 of 3

SUMPRODUCT, Dual Condition, Expense Type Query

  1. #1
    Registered User
    Join Date
    08-08-2005
    Posts
    76

    SUMPRODUCT, Dual Condition, Expense Type Query

    Hi all,

    I have a partially solved Excel problem. All the details and queries are as per attached example.xls.

    The data comes in the following columns:
    * Date (dd-mmm)
    * Expense Type
    * 3 different accounts where the expenses can be charged to

    The idea is to be able to sum a specific expense type for a particular month.

    I solved the problem provided the specific expense type is paid with a specific account. However reality is quite different - the expense type can be paid with any of the 3 available accounts.

    How can the formula be modified to search all 3 accounts?
    Attached Files Attached Files

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: SUMPRODUCT, Dual Condition, Expense Type Query

    Hello heatwave,

    try this

    =SUMPRODUCT((TEXT($B$3:$B$7,"MMM")=C$9)*($C$3:$C$7=$B10)*$D$3:$F$7)

    cheers

  3. #3
    Registered User
    Join Date
    08-08-2005
    Posts
    76

    Re: SUMPRODUCT, Dual Condition, Expense Type Query

    That fits the bill PERFECTLY! Thanks tevlyn for the lightning fast response :D

+ 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