+ Reply to Thread
Results 1 to 8 of 8

Lookup matching txt in one column then sum same row in three other columns

  1. #1
    Registered User
    Join Date
    01-30-2013
    Location
    Whakatane NZ
    MS-Off Ver
    Excel 2013
    Posts
    9

    Lookup matching txt in one column then sum same row in three other columns

    I want to look up the word "cash" in one column then on the same row, in three other columns to the left, sum those three figures. There may be more than one "cash" row so the total of all the rows need to be added together to give a. total for each of the three columns and b. one nett total.

  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Lookup matching txt in one column then sum same row in three other columns

    I would want to see a sample workbook for something like this, showing some sample data, expected output and description of why the out put should look like that
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  3. #3
    Registered User
    Join Date
    01-30-2013
    Location
    Whakatane NZ
    MS-Off Ver
    Excel 2013
    Posts
    9

    Re: Lookup matching txt in one column then sum same row in three other columns

    Pls see attached
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    01-30-2013
    Location
    Whakatane NZ
    MS-Off Ver
    Excel 2013
    Posts
    9

    Re: Lookup matching txt in one column then sum same row in three other columns

    So I need to find "cash"in the column marked Final Payment (Col M) and then in Cols E, F & G add the figs together on the same row. Then sum each of the same figs in each column (E F G)

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,736

    Re: Lookup matching txt in one column then sum same row in three other columns

    You could use this formula:

    =SUMPRODUCT(($M$3:$M$9="cash")*($E$3:$G$9))

    Hope this helps.

    Pete

  6. #6
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Lookup matching txt in one column then sum same row in three other columns

    This applies to your sample:

    for your row totals put this in T3
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    drag down

    in T10:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    in T11: use Pete's formula

    this will give you a cross check to make sure ther is nothing going strange on you..

    Hope this helps

  7. #7
    Registered User
    Join Date
    01-30-2013
    Location
    Whakatane NZ
    MS-Off Ver
    Excel 2013
    Posts
    9

    Re: Lookup matching txt in one column then sum same row in three other columns

    Pete and Dred... you guys are my heros! Such intellect and so easily available! You've savedme so much hassle and consternation.

  8. #8
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,736

    Re: Lookup matching txt in one column then sum same row in three other columns

    Thanks for the kind words.

    If you think this thread has now been solved please mark it as such - click on Thread Tools above your first post, then Mark as Solved.

    Pete

+ 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