+ Reply to Thread
Results 1 to 3 of 3

Sum formula

  1. #1
    Registered User
    Join Date
    10-09-2014
    Location
    Ellenville, NY
    MS-Off Ver
    2013
    Posts
    3

    Sum formula

    I would like to know if there is a way to SUM information up in one cell if text matches in another cell. I know there is the SUMIF function however this requires you to put in the text you want to match but for my application that would mean creating like 3000 different formulas. So basically want I want is the
    Store Employee Sales
    Best Buy Jason 10
    Best Buy John 5
    Best Buy Jim 8
    Walmart Tom 5
    Walmart Tim 5
    Walmart Tina 7
    Sears Nick 6
    Best Buy Jason 11
    Best Buy John 3

    What I would want to show is that Best buy, Jason, 21 in one row. In the actual data Im working with the names in column 2 will match and always have the same information in column 1, IE Jason only works at best buy and no other store so I only need to add if up if Text in column 2 matches but want my information to come out with all the columns. I can do the adding with a pivot table however if I copy and paste it out I will loose the information in the first column. Does this make sense?

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

    Re: Sum formula

    No, it doesn't make much sense to me.

    Create a unique list of the stores and employees in two other columns (e.g. columns D and E) and then in F2 you could have this formula:

    =SUMIFS(C:C,A:A,D2,B:B,E2)

    then copy down your subsidiary table.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    10-09-2014
    Location
    Ellenville, NY
    MS-Off Ver
    2013
    Posts
    3

    Re: Sum formula

    Thanks for the reply. Im not sure how this will work for my situation but it has given me an idea.

    Thanks,
    Jason

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  2. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM

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