+ Reply to Thread
Results 1 to 4 of 4

HLOOKUP plus COUNTIFS?

  1. #1
    Registered User
    Join Date
    08-20-2013
    Location
    Edinburgh
    MS-Off Ver
    Excel 2016
    Posts
    6

    HLOOKUP plus COUNTIFS?

    Hi everyone, I hope you can shed some light on my calculation!

    I want to combine a LOOKUP with a COUNTIFS, but I am not sure which order to nest it, or if maybe there is another formula that would complete my calculation easier.

    I want to find a column of data based on the header text (like HLOOKUP does), then count rows if criteria matches in the column next to it and criteria matches in the column itself (like COUNTIFS). I made an example with an explanation in the attached. Hope it makes sense.

    Book1.xlsx

    Any help would be great. Thanks.

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: HLOOKUP plus COUNTIFS?

    Do you also need to find the happiness column? If not, then try:

    Please Login or Register  to view this content.
    Cheers,
    Last edited by ConneXionLost; 08-27-2015 at 03:13 PM.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Registered User
    Join Date
    08-20-2013
    Location
    Edinburgh
    MS-Off Ver
    Excel 2016
    Posts
    6

    Re: HLOOKUP plus COUNTIFS?

    That is perfect. Thanks very much. The happiness column is static, so I don't need to 'find' it.

    It works brilliantly in the example sheet. I just need to make it work in the real thing (getting #VALUE error). I have changed "Life", 1, and 4 to a cell reference, but otherwise it is identical. Any thoughts?

  4. #4
    Registered User
    Join Date
    08-20-2013
    Location
    Edinburgh
    MS-Off Ver
    Excel 2016
    Posts
    6

    Re: HLOOKUP plus COUNTIFS?

    Sorry, I got it! It was a syntax error. Many, many thanks for your help!

+ 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] Countifs + Countifs - replacement?
    By JulieQ in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-05-2015, 03:02 PM
  2. COUNTIFS OR COUNTIFS needs to work
    By joshbellfi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-23-2013, 10:55 AM
  3. HLOOKUP Help. HLOOKUP links to Drop down list problems
    By finalmike in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-02-2013, 07:08 PM
  4. COUNTIFS OR...multiple countifs without duplication in the numbers
    By HooligaD in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-21-2012, 09:53 AM
  5. Replies: 0
    Last Post: 12-16-2011, 09:01 AM
  6. HLOOKUP in HLOOKUP, Base Estimate Table in Excel
    By gqdallas in forum Excel General
    Replies: 20
    Last Post: 10-19-2009, 01:41 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