+ Reply to Thread
Results 1 to 6 of 6

T-Shirt Order Lists

  1. #1
    Registered User
    Join Date
    07-06-2014
    Location
    El Paso, Texas
    MS-Off Ver
    Office for Mac
    Posts
    4

    Unhappy T-Shirt Order Lists

    I created a table in Excel that I am using to add up orders of T-Shirts. I created lists for the various t-shirt sizes and used the count if function to give me a total of the respective size ordered by each person. Now my problem is people that ordered more than one of a certain size. For example, I have someone who ordered 2 Adult Smalls, but in the total it only adds 1. Is there any way to be able to multiply this to give me a correct total using this list style. I'm pretty new when it comes to using excel and just learned about making lists and using the countif function. Thank you for your help!

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

    Re: T-Shirt Order Lists

    Instead of COUNTIF, perhaps you need to switch to SUMIF(). Or SUMIFS(). Read up on these two functions in the Excel Help files. (F1)
    _________________
    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!)

  3. #3
    Registered User
    Join Date
    07-06-2014
    Location
    El Paso, Texas
    MS-Off Ver
    Office for Mac
    Posts
    4

    Re: T-Shirt Order Lists

    I'm attaching my excel sheet. Maybe it's easier to understand by looking at it?Order List.xlsx

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

    Re: T-Shirt Order Lists

    Yes, SUMIF is what you want to switch to. Have you read those examples in Excel help file?


    =SUMIF(H3:H168,"YXL", G3:G168)
    Last edited by JBeaucaire; 09-04-2014 at 01:59 AM.

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: T-Shirt Order Lists

    I suggest you use pivot table for this kind of work.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  6. #6
    Registered User
    Join Date
    07-06-2014
    Location
    El Paso, Texas
    MS-Off Ver
    Office for Mac
    Posts
    4

    Re: T-Shirt Order Lists

    Thank You, All! The SumIF function solved it!

+ 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. Need help with a function to add up shirt orders
    By Mulezsti in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-27-2014, 02:27 AM
  2. Shirt sizing and numbering
    By skatedoktor in forum Excel General
    Replies: 5
    Last Post: 10-21-2012, 08:13 AM
  3. Getting two lists in the same order
    By emiller1182 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-25-2011, 09:39 AM
  4. [SOLVED] lists in alphabetical order
    By Bacchus in forum Excel General
    Replies: 1
    Last Post: 06-08-2005, 11:05 AM
  5. [SOLVED] Custom lists - not following defined order
    By [email protected] in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-21-2005, 09:06 AM

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