+ Reply to Thread
Results 1 to 4 of 4

Help Summing Data from Table Based on Multiple Criteria

  1. #1
    Registered User
    Join Date
    12-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Post Help Summing Data from Table Based on Multiple Criteria

    Hi.

    This is my first request for help on Excel Forum but I have been reading the threads for a while and it is a great community.

    I have attached a file with two worksheets to illustrate my dilemma. I am trying to create a reservation ticket where I can dump data from a sales order on the first sheet and sort/summarize it on the 2nd sheet which becomes the ticket.

    On the Sales Orders, some items are reserved to purchase orders and some are reserved to item ledger entries. For purchase orders, I want to always show the unique purchase order on the ticket, but for item ledger reservations, I only want to show a summary line with the total quantity reserved to the item ledger. All Item Ledger entries are unique, but start with "Item Ledger" and then a number that follows (e.g. Item Ledger 25, 26, etc.)

    I think that the solution is a combination of creating a column that assigns a 1 or 0 based on whether the Reservation field starts with the text "Item Ledger" and then some combination of IF and SUMPRODUCT formulas but I can't figure out how to do this.

    Any help is appreciated.

    D. from So Cal

    reservation ticket example.xlsx

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    2,903

    Re: Help Summing Data from Table Based on Multiple Criteria

    I change the formula in column C
    Can you live with this solution?
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Registered User
    Join Date
    12-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Help Summing Data from Table Based on Multiple Criteria

    Willem,

    Thanks for the help. I think I can live with that solution because I can put in a pivot table to get the sum of the item ledgers now.

    Thanks for the quick solution.

    D. from So Cal

  4. #4
    Administrator JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Help Summing Data from Table Based on Multiple Criteria

    I've marked this thread as SOLVED for you.
    Next time, select Thread Tools from the links above to mark a thread as SOLVED. Thanks.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    “None of us is as good as all of us” - Ray Kroc
    “Actually, I *am* a rocket scientist.” - JB (little ones count!)

+ 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. Summing Based on Multiple Criteria
    By SJT in forum Excel General
    Replies: 4
    Last Post: 02-12-2015, 01:31 AM
  2. Help with summing based on multiple criteria
    By blaugrana9 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-15-2014, 03:50 AM
  3. Summing based on multiple criteria
    By Environment in forum Excel General
    Replies: 2
    Last Post: 08-23-2011, 10:19 AM
  4. Summing Based on Multiple Criteria
    By SJT in forum Excel General
    Replies: 1
    Last Post: 09-23-2007, 01:34 PM
  5. summing table values with multiple criteria from a dynamic table
    By griffith in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-06-2005, 05:51 PM

Tags for this Thread

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