+ Reply to Thread
Results 1 to 4 of 4

Sum, Sort, Count an Array

  1. #1
    Registered User
    Join Date
    10-15-2023
    Location
    Chicago, Illinois, USA
    MS-Off Ver
    Office 365
    Posts
    2

    Sum, Sort, Count an Array

    I want to count how many true conditions exist for an array.
    Then, I want to sort those values and hits.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,410

    Re: Sum, Sort, Count an Array

    Try this formula copied down...

    =SUMIF(C$2:M$2,E11,C$7:M$7)

    Note: Your count for 4520 is incorrect (there are two columns headed by that number).

  3. #3
    Registered User
    Join Date
    10-15-2023
    Location
    Chicago, Illinois, USA
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Sum, Sort, Count an Array

    Rick:

    Thank you.
    I've updated my spreadsheet using your SumIF and created a macro for copying the range and Sorting it as I wanted.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,847

    Re: Sum, Sort, Count an Array

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. [SOLVED] Bubble sort to sort array of file names by file extension
    By ByteMarks in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-20-2020, 01:13 PM
  2. [SOLVED] Help - Dynamically Create an Array, Based on Key Cell, and Count Text within Array
    By mattsmit87 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-30-2017, 03:44 PM
  3. Loop through list, add to Array, count number of occurrences, clear array
    By HalPlz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-11-2016, 09:42 PM
  4. [SOLVED] Sort and Count Unique List Across Multiple Columns - Student Count
    By BuntyMac in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 08-17-2014, 07:00 AM
  5. [SOLVED] Create 1-col array identifying occurrence count in a 1-col array
    By empsall in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-26-2013, 12:50 PM
  6. sort an array by the dates in a different array
    By dvb_24 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-28-2012, 04:04 PM
  7. [SOLVED] Sort an array:buble sort,
    By Gary''s Student in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-07-2006, 10:50 AM

Tags for this Thread

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