+ Reply to Thread
Results 1 to 5 of 5

Can I count the number of items (customers) in a column without VBA?

  1. #1
    Registered User
    Join Date
    05-25-2016
    Location
    Hollywood, CA
    MS-Off Ver
    2016
    Posts
    79

    Can I count the number of items (customers) in a column without VBA?

    I run across this frequently, but haven't ever figured out how to count the number of different items (customers, in this instance) in a column/range of data. I want to count how many different customers are in the last column (thru row 254, in green). Is there a (relatively) simple way to accomplish this?
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor ron2k_1's Avatar
    Join Date
    09-30-2009
    Location
    Not the USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    606

    Re: Can I count the number of items (customers) in a column without VBA?

    If you want a formula to count cells filled with green color, then you need VBA.

    If you tell us what was the basis for those cells to be green, then we can see if the basis can be placed in a counting formula.
    Ron
    Knowledge is knowing that a tomato and pepper are fruits. Wisdom is knowing whether to put these in a fruit salad

    Kindly

    [1] Use code tags. Place "[code]" before the first line of code and "[/code"]" after the last line of code. Exclude quotation marks
    [2] Mark your post [SOLVED] if it has been answered satisfactorily by editing your original post in advanced mode.
    [3] Thank (using the little scale) those that provided useful help; its nice and its very well appreciated

  3. #3
    Registered User
    Join Date
    05-25-2016
    Location
    Hollywood, CA
    MS-Off Ver
    2016
    Posts
    79

    Re: Can I count the number of items (customers) in a column without VBA?

    I just did that to highlight the range I wanted to count customers in, otherwise it means zilch...

  4. #4
    Valued Forum Contributor ron2k_1's Avatar
    Join Date
    09-30-2009
    Location
    Not the USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    606

    Re: Can I count the number of items (customers) in a column without VBA?

    I'm still not sure why they are green to give you a bulletproof formula. If the criteria is the break in line, then this formula will give you a count within a column until the first blank cell. Confirm with Ctrl Shift Enter:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Can I count the number of items (customers) in a column without VBA?

    This will count the number of different, non-blank entries in the range I3:I254:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Hope that does what you want.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

+ 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. count number of like items in a column
    By SharpiePen in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-22-2013, 02:47 PM
  2. [SOLVED] Count the number of items sold in one column based on the quantity in another column
    By mike_m1 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-20-2013, 05:48 AM
  3. Replies: 12
    Last Post: 09-06-2012, 07:24 PM
  4. Replies: 8
    Last Post: 06-27-2012, 03:47 PM
  5. Replies: 3
    Last Post: 04-05-2011, 07:09 PM
  6. [SOLVED] Count number of items in one column that have a value in another?
    By onthefritz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-10-2005, 12:25 PM
  7. Count number of unique items in a column that contains duplicates
    By Steembeem in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-01-2005, 09: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