+ Reply to Thread
Results 1 to 4 of 4

SUMPRODUCT (or other search/sum, i.e. SUMIF)

  1. #1
    Registered User
    Join Date
    08-24-2006
    Posts
    48

    SUMPRODUCT (or other search/sum, i.e. SUMIF)

    Hi Folks:

    I need assistance with a SUMPRODUCT or similar type of function, but to use it in a vertical fashion.

    For example:

    I need to search column E (E23:E753). In all rows where it finds a certain text value that I define "P.M. Well" I need to skip down 2 rows and SUM the total hours found (in the entire column).

    So, if it finds "P.M. Well" in cell E41, I need the formula to do down two rows to cell E43 and start adding the total (let's say 6.50). If it also finds another "P.M. Well" in cell E300, I need it to add the total numberical value in E302 (let's say 8.00).

    So, in this example it found two, so the total output would be 14.50.

    How would I write this function?

    Thank you!


  2. #2
    Forum Contributor
    Join Date
    10-14-2004
    Location
    San Diego, CA
    Posts
    213
    Hello ExcelJunkie

    In cell BB1 enter the ROW() function and copy down as far as needed, hide this column. This should work.

    =SUM(INDIRECT("E"&INDEX($BB$23:$BB$753,MATCH("P.M. Well",$E$23:$E$753))+2))


    Matt
    Last edited by Flintstone; 09-30-2006 at 07:08 PM.

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    =SUMIF(E23:E753,"P.M. Well",E25:E755)

  4. #4
    Registered User
    Join Date
    08-24-2006
    Posts
    48
    Thank you both!

    Problem solved! Works great! Much appreciated!


+ 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