+ Reply to Thread
Results 1 to 14 of 14

Counting Instances on Columns

  1. #1
    Registered User
    Join Date
    05-28-2020
    Location
    United States
    MS-Off Ver
    MS Office 365 (2016?)
    Posts
    13

    Counting Instances on Columns

    Hello everyone,

    So I have this table I have made from my source information. Filtered out as much irrelevant information as I could and am left with this.

    Now what I would like to do is find some way that I can count up each instance of Observation, Major, and Minor for each column and deposit them in their corresponding rows (J,K, and L) for quick counting. If someone could tell me how to do that I would greatly appreciate it.
    Attached Images Attached Images

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Counting Instances on Columns

    Is Office version 2001 a MAC version?

    I don't know if the function exists on that version but COUNTIFS would come in handy for this using the column header as the criterium to count.
    Make sure you have a column for each of the options you want to count and in the cells below you can do the COUNTIFS and the column header as criterium

    Hope it makes sens en if the '2001' supports that function
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Registered User
    Join Date
    05-28-2020
    Location
    United States
    MS-Off Ver
    MS Office 365 (2016?)
    Posts
    13

    Re: Counting Instances on Columns

    Thank you! I will look into this. I believe my excel version is 2016, I just had that set incorrectly.

  4. #4
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Counting Instances on Columns

    Attach a sample file, makes it easier that me retyping your screenshot

  5. #5
    Registered User
    Join Date
    05-28-2020
    Location
    United States
    MS-Off Ver
    MS Office 365 (2016?)
    Posts
    13

    Re: Counting Instances on Columns

    Sure!

    So I did what you said by using countif and it worked like a dream.
    Attached Files Attached Files

  6. #6
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Counting Instances on Columns

    Great to hear, it's simpler than you think.
    I'd just format those cells as non decimal number with a custom format like 0 ;; so the 0 values don't show, makes it faster to see
    Don't forget to mark the post solved.
    Happy coding

  7. #7
    Registered User
    Join Date
    05-28-2020
    Location
    United States
    MS-Off Ver
    MS Office 365 (2016?)
    Posts
    13

    Re: Counting Instances on Columns

    Quote Originally Posted by Keebellah View Post
    I'd just format those cells as non decimal number with a custom format like 0 ;; so the 0 values don't show, makes it faster to see

    Could you expand upon this? I'm pretty new so I don't understand. But that was my next goal, eliminating the 0's. Thank you again! You are a godsend.

  8. #8
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Counting Instances on Columns

    I'v reattached your file , and please don't quote the post when answering, makes it messy.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    05-28-2020
    Location
    United States
    MS-Off Ver
    MS Office 365 (2016?)
    Posts
    13

    Re: Counting Instances on Columns

    I see that, but how did you remove all of the 0's?

  10. #10
    Registered User
    Join Date
    05-28-2020
    Location
    United States
    MS-Off Ver
    MS Office 365 (2016?)
    Posts
    13

    Re: Counting Instances on Columns

    Nevermind! I figured it out. Thank you.

    One last question. As you've noticed in my data range I have 8A 8B etc. Is there a way to compile 8A 8B 10A 10B into a single cell with their values added together?

  11. #11
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Counting Instances on Columns

    Check the cell formatting; you'll see it there

  12. #12
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Counting Instances on Columns

    Probably , but add? what ? the numbers or the count of 8 , 10?
    If it's just a part you can use
    Please Login or Register  to view this content.
    in the countif as criterium with the double quotes.

  13. #13
    Registered User
    Join Date
    05-28-2020
    Location
    United States
    MS-Off Ver
    MS Office 365 (2016?)
    Posts
    13

    [SOLVED] Counting Instances on Columns

    On the table I have two instances of 8 and two instances of 10 in the # row. What I would like to do is add the major, minor, and observation of those columns (and any column that have the same # value) so that when I graph them I don't have multiple 8's or 10's or whatever # is duplicated.
    Attached Images Attached Images
    Last edited by MaxwellM; 06-08-2020 at 12:32 PM.

  14. #14
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Counting Instances on Columns

    Maybe add helper columns?

+ 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: 3
    Last Post: 01-30-2017, 02:39 PM
  2. [SOLVED] counting instances
    By bzl in forum Excel General
    Replies: 8
    Last Post: 08-02-2014, 11:14 AM
  3. Replies: 0
    Last Post: 04-11-2013, 10:18 AM
  4. Counting Instances of A String in Non-Contiguous Columns
    By robertmdvs in forum Excel General
    Replies: 6
    Last Post: 10-25-2011, 02:47 PM
  5. Replies: 3
    Last Post: 04-05-2007, 09:24 AM
  6. Counting multiple instances - same value
    By polishmf in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 12-15-2006, 11:08 AM
  7. [SOLVED] Counting instances that 2 different columns match
    By Cheech is Lost in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-03-2006, 11:50 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