+ Reply to Thread
Results 1 to 7 of 7

How to Sort Index Match Countif?

  1. #1
    Forum Contributor
    Join Date
    03-04-2015
    Location
    Jakarta
    MS-Off Ver
    15
    Posts
    154

    Lightbulb How to Sort Index Match Countif?

    Please, help me to sort the values from INDEX, MATCH, COUNTIF. I have the problem like the image below.
    Attached Images Attached Images

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How to Sort Index Match Countif?

    Aren't you also getting a circular error reference?

    Please upload the workbook. Pictures usually aren't sufficient.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,532

    Re: How to Sort Index Match Countif?

    This proposed solution uses a helper column which may be hidden for aesthetic purposes.
    The formula for the helper column is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    The formula that populates column D is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Note: Looking at the formula in the screenshot leads me to believe that you will need to replace the commas in the formulas above, with semicolons.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: How to Sort Index Match Countif?

    Another way similar to JeteMc's only without a helper. Array enter in D1 and fill down. If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  5. #5
    Forum Contributor
    Join Date
    03-04-2015
    Location
    Jakarta
    MS-Off Ver
    15
    Posts
    154

    Re: How to Sort Index Match Countif?

    @JeteMc & @FlameRetired: I'm sorry your codes are not sort from small to large dates. Please, help me.
    @iechard Buttrey, the file has been uploaded.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    03-04-2015
    Location
    Jakarta
    MS-Off Ver
    15
    Posts
    154

    Re: How to Sort Index Match Countif?

    the problem has been solved, thanks.

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: How to Sort Index Match Countif?

    Your initial post screen shot indicates sort by frequency of occurrence descending. JeteMc's does that.

    What the latest upload indicates is this?
    Formula: copy to clipboard
    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. [SOLVED] Using INDEX & MATCH to COUNTIF
    By kschmit1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-01-2017, 01:59 PM
  2. trying to do countif using index match
    By superchew in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-01-2016, 01:09 PM
  3. [SOLVED] Help with index match/countif?
    By ExcelNUBs in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-07-2013, 01:12 PM
  4. [SOLVED] VBA - Countif, Index and Match
    By ggentry in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-21-2013, 09:15 AM
  5. Countif/Match Index
    By skate1991 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-20-2013, 12:43 PM
  6. Replies: 2
    Last Post: 03-16-2012, 12:03 PM
  7. [SOLVED] Countif, Index, Match... not sure which to use
    By Amy via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-23-2005, 06:05 PM

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