+ Reply to Thread
Results 1 to 6 of 6

Help Counting items based on category

  1. #1
    Registered User
    Join Date
    07-23-2015
    Location
    Melbourne, Australia
    MS-Off Ver
    2013
    Posts
    10

    Help Counting items based on category

    Hi,

    Thank you in advance!

    I need to count how many of a category to get a total.

    This is for transport and logistic spreadsheet.

    I had 'X' amount of 'pallet type' come in on a range of different days. I want to know the total amount of 'pallet type' that has come in.

    Please see screen shot below:spreadsheet.jpg

    Thanks very much!

    Dan

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Help Counting items based on category

    Something like this...

    A1 = Chep Timber

    =COUNTIF(E:E,A1)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

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

    Re: Help Counting items based on category

    Use this:

    =SUMIF(E:E,"Chep Timber",C:C)

    or, if you put Chep Timber in a cell somewhere (e.g. M2) and Locsam Timber in M3, then you can have this formula in N2:

    =SUMIF(E:E,M2,C:C)

    and copy it down.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    07-23-2015
    Location
    Melbourne, Australia
    MS-Off Ver
    2013
    Posts
    10

    Re: Help Counting items based on category

    Thanks Pete,

    I have now tried both of your suggestions, but I am receiving a error about circular references and it is returning a '0'....

    do you know what I am doing wrong?

    Cheers,

    Dan

  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,794

    Re: Help Counting items based on category

    Ensure that the formula is not placed within column E or column C, as it is using full-column references.

    Hope this helps.

    Pete

  6. #6
    Registered User
    Join Date
    07-23-2015
    Location
    Melbourne, Australia
    MS-Off Ver
    2013
    Posts
    10

    Re: Help Counting items based on category

    Thanks Pete!

    Solved!

    Many Thanks,

    Dan

+ 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. Counting items based on a list of items
    By jbaumrind in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-01-2015, 12:56 PM
  2. [SOLVED] Count items of only one category
    By nooredein in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 05-06-2014, 04:18 PM
  3. Replies: 0
    Last Post: 04-09-2014, 04:21 PM
  4. Counting unique items on a list based on date in adjacent column
    By Mafoo17 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-30-2013, 04:24 PM
  5. [SOLVED] Counting number of items based on two columns
    By lukka in forum Excel General
    Replies: 3
    Last Post: 04-18-2012, 05:14 AM
  6. Sort menu items in quadrants based on a category
    By pdhawan in forum Excel General
    Replies: 0
    Last Post: 11-24-2011, 01:19 AM
  7. [SOLVED] Counting unique items in a list based on a condition
    By George Lynch in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-11-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