+ Reply to Thread
Results 1 to 10 of 10

I need to count how many times a row had the smallest number in a column

  1. #1
    Registered User
    Join Date
    03-15-2021
    Location
    Henderson, Nevada
    MS-Off Ver
    365
    Posts
    6

    I need to count how many times a row had the smallest number in a column

    So I have a fairly large sheet of data. Roughly 100 rows and 1000 columns of data. I need to count how many times a row had the smallest number in THAT column.
    I'm familiar with the Countif function but I'm not sure how to configure it to count the smallest number for multiple columns.

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,498

    Re: I need to count how many times a row had the smallest number in a column

    Assum row A6:H6
    smallest number: SMALL($A$6:$H$6,1)
    then countif:

    =COUNTIF($A$6:$H$6,SMALL($A$6:$H$6,1))

    I guess thing might be more complicated, but just give a shot.
    Quang PT

  3. #3
    Registered User
    Join Date
    03-15-2021
    Location
    Henderson, Nevada
    MS-Off Ver
    365
    Posts
    6

    Re: I need to count how many times a row had the smallest number in a column

    Quote Originally Posted by bebo021999 View Post
    Assum row A6:H6
    smallest number: SMALL($A$6:$H$6,1)
    then countif:

    =COUNTIF($A$6:$H$6,SMALL($A$6:$H$6,1))

    I guess thing might be more complicated, but just give a shot.
    hmmm.... every row spat out an answer of 1. that can't be right

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,498

    Re: I need to count how many times a row had the smallest number in a column

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  5. #5
    Registered User
    Join Date
    03-15-2021
    Location
    Henderson, Nevada
    MS-Off Ver
    365
    Posts
    6

    Re: I need to count how many times a row had the smallest number in a column

    Quote Originally Posted by bebo021999 View Post
    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Ok sorry. I whipped up a quick example. Each column is a simulation. Each row is a person. I need to know how many times each person posted the lowest number in a simulation.
    Attached Files Attached Files

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,498

    Re: I need to count how many times a row had the smallest number in a column

    Try in L2:

    Please Login or Register  to view this content.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    03-15-2021
    Location
    Henderson, Nevada
    MS-Off Ver
    365
    Posts
    6

    Re: I need to count how many times a row had the smallest number in a column

    that worked! What changes would I need to make it for each row. example L3 thru L7?

  8. #8
    Registered User
    Join Date
    03-15-2021
    Location
    Henderson, Nevada
    MS-Off Ver
    365
    Posts
    6

    Re: I need to count how many times a row had the smallest number in a column

    I believe this will work. THank you! I'm testing it now

  9. #9
    Registered User
    Join Date
    03-15-2021
    Location
    Henderson, Nevada
    MS-Off Ver
    365
    Posts
    6

    Re: I need to count how many times a row had the smallest number in a column

    I appear to have made an error converting over to my chart. I copied a small portion for you to see.
    Attached Files Attached Files

  10. #10
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,498

    Re: I need to count how many times a row had the smallest number in a column

    Actual table starts from column B (the sample starts from column A), then new sequence numbers range should be:
    COLUMN($B:$F)-COLUMN($B:$B)+1
    instead of COLUMN($B:$F)

    G11:
    Please Login or Register  to view this content.

+ 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: 1
    Last Post: 02-19-2014, 10:12 PM
  2. [SOLVED] Count number of times names appear in a column
    By jeremysayshi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-06-2014, 01:24 PM
  3. [SOLVED] count the number of times each string appears in a column and make a summary column
    By intothewild in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-04-2012, 08:02 AM
  4. Help with using VBA to count number of times different values appear in a column
    By compto in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-06-2012, 12:47 PM
  5. [SOLVED] Count number of times of name appears in a column
    By Ness78 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 08-01-2012, 08:14 AM
  6. [SOLVED] How to count the number of times column B is greater than column A
    By scorpiogirl in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-06-2012, 02:40 AM
  7. Replies: 3
    Last Post: 08-22-2011, 11:58 AM
  8. How to count the number of times a date appears in a column
    By smellsgood in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-31-2010, 06:35 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