+ Reply to Thread
Results 1 to 3 of 3

Get Count Based on Header and Lookup Value

  1. #1
    Registered User
    Join Date
    03-26-2015
    Location
    UAE
    MS-Off Ver
    Office 365
    Posts
    37

    Get Count Based on Header and Lookup Value

    Hi,

    I am trying to look up count of feedback received by Matching headers in Result Sheet with Data sheet. Also, trying to lookup and get the count of value. For Example

    In the sheet attached, I am trying to match Objectives Header in Dashboard with Objectives Header in AQGH & AQWCH Feedback sheet. And on the left I have the rating. I want to get count of "Strongly Disagree" in Column G3 from column N in AQGH & AQWCH Feedback sheet matching with the headers.

    Help is appreciated on this. Thank You!
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,372

    Re: Get Count Based on Header and Lookup Value

    You can't do a matrix lookup with COUNTIFS. Try:

    =SUMPRODUCT(('AQGH & AQWCH Feedback'!$N$2:$N$26=[@Rating])*('AQGH & AQWCH Feedback'!$N$1:$T$1=Table3[[#Headers],[Objectives]]))
    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
    Registered User
    Join Date
    03-26-2015
    Location
    UAE
    MS-Off Ver
    Office 365
    Posts
    37

    Re: Get Count Based on Header and Lookup Value

    Quote Originally Posted by AliGW View Post
    You can't do a matrix lookup with COUNTIFS. Try:

    =SUMPRODUCT(('AQGH & AQWCH Feedback'!$N$2:$N$26=[@Rating])*('AQGH & AQWCH Feedback'!$N$1:$T$1=Table3[[#Headers],[Objectives]]))
    Thank you that worked!

+ 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. Lookup based on header data
    By T.Turner in forum Excel General
    Replies: 3
    Last Post: 02-01-2022, 03:27 PM
  2. VBA to Lookup all Rows based on Column Header
    By matt85webb in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-14-2018, 07:23 PM
  3. [SOLVED] Lookup UP Based on name of header
    By Jhon Mustofa in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-23-2018, 06:36 PM
  4. Replies: 6
    Last Post: 07-23-2014, 06:41 PM
  5. Replies: 2
    Last Post: 10-13-2012, 03:30 AM
  6. Lookup based header in different sheet
    By lukestkd in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-01-2012, 06:20 AM
  7. Lookup Column Header based on cell value
    By kingcal in forum Excel General
    Replies: 4
    Last Post: 08-13-2009, 03:56 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