+ Reply to Thread
Results 1 to 5 of 5

COUNT and MATCH Column Heading

  1. #1
    Registered User
    Join Date
    04-13-2019
    Location
    Oregon, USA
    MS-Off Ver
    Microsoft Office Home & Student 2019 Version 2301
    Posts
    70

    COUNT and MATCH Column Heading

    I am having a problem with my spreadsheet. i enter numbers from 1 to 36 in cells C3:F22. So when I type 29 in cell C3 it should lookup the corresponding number in cell O31. Then in P31 is the number 4, which matches with the column heading K2 so K3 should have a count of 1 now.

    Then in cell E3 I have the number 30. So that should lookup and match the number 30 in cell O32. In P32 is the number 4, which matches the column heading in K2 which also has a 4 so now the count in K3 should go to 2. Thanks for your help.
    Attached Files Attached Files

  2. #2
    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,916

    Re: COUNT and MATCH Column Heading

    Are you still using Excel 2019, or have you upgraded to 365, perhaps?
    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.

  3. #3
    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,916

    Re: COUNT and MATCH Column Heading

    You could try this:

    =SUMPRODUCT(($C3:$F3>=MINIFS($O$3:$O$38,$P$3:$P$38,H$2))*(($C3:$F3<=MAXIFS($O$3:$O$38,$P$3:$P$38,H$2))))
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-13-2019
    Location
    Oregon, USA
    MS-Off Ver
    Microsoft Office Home & Student 2019 Version 2301
    Posts
    70

    Re: COUNT and MATCH Column Heading

    that is amazing! Thank you very much for your help... Again Ali!

  5. #5
    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,916

    Re: COUNT and MATCH Column Heading

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    If you have not already done so, remember that you can reward 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.
    Last edited by AliGW; 03-25-2024 at 03:01 AM.

+ 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] count items in column chosen by column heading
    By ab0ajh in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-26-2023, 01:17 PM
  2. [SOLVED] Paste by Column Heading Date Match
    By Wheelie686 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-10-2021, 11:11 PM
  3. Count specific wording in column heading
    By morerockin in forum Excel General
    Replies: 5
    Last Post: 09-24-2016, 10:40 AM
  4. [SOLVED] VBA Sum Figure Which Match Both Column & Row Heading
    By hobbiton73 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-19-2014, 12:47 PM
  5. [SOLVED] Only count data from column with a particular heading
    By codyryan in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-18-2014, 07:09 PM
  6. [SOLVED] VBA Count Records Which Match Column Heading
    By hobbiton73 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-20-2014, 05:24 AM
  7. Count if column heading is
    By nd2828 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-09-2012, 03:08 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