+ Reply to Thread
Results 1 to 2 of 2

Combine SUMPRODUCT and SUMIF?

Hybrid View

Soulkage Combine SUMPRODUCT and SUMIF? 02-17-2010, 05:24 AM
DonkeyOte Re: Combine SUMPRODUCT and... 02-17-2010, 05:26 AM
  1. #1
    Registered User
    Join Date
    02-17-2010
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2003
    Posts
    1

    Combine SUMPRODUCT and SUMIF?

    Hi Guys,

    Iv been working on a spreadsheet and by request it just got lot more complicated for me and i cant quite seem to figure it out. I have two formulas which i need to combine, the first been

    =SUMPRODUCT(--(tblExeTimes!$B$2:$B$6000>=B1),--(tblExeTimes!$B$2:$B$6000<C1),--ISNUMBER(SEARCH("Nathan",tblExeTimes!$G$2:$G$6000)))

    and the second

    =SUMIF(tblExeTimes!$G$2:$G$6000,"=Nathan",tblExeTimes!$F$2:$F$6000).

    What i want exactly is to incorporate (tblExeTimes!$B$2:$B$6000>=B1),--(tblExeTimes!$B$2:$B$6000<C1) into the SUMIF as a search criteria (cells B1 & C1 contain dates). I seem to have come up against a brick wall with this one so any help would be most appreciated.

    Many thanks in advance.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Combine SUMPRODUCT and SUMIF?

    Based on your SUMIF you should find the below works:

    =SUMPRODUCT(--(tblExeTimes!$B$2:$B$6000>=B1),--(tblExeTimes!$B$2:$B$6000<C1),--(tblExeTimes!$G$2:$G$6000="Nathan"),tblExeTimes!$F$2:$F$6000)

+ 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