+ Reply to Thread
Results 1 to 6 of 6

Using HLOOKUP and MAX functions to find the most commonly occurring weekday in a list

  1. #1
    Registered User
    Join Date
    05-21-2013
    Location
    Toronto, Canada
    MS-Off Ver
    Office 2011 (Mac)
    Posts
    3

    Using HLOOKUP and MAX functions to find the most commonly occurring weekday in a list

    Hi all,

    I'm trying to create a single-line formula that will count the day of the week (from a list) that occurs most commonly. The catch is that I MUST use the MAX and HLOOKUP functions together in the formula.

    My outline defines it as so: "On the first worksheet develop a single line formula using the HLOOKUP and MAX functions to find the day of the week with the maximum number of customers."

    Attached is the spreadsheet of data. I'm attempting to do this for the days of the week from Column D (Scheduled Day).

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Using HLOOKUP and MAX functions to find the most commonly occurring weekday in a list

    It strikes me that if you HAVE to use certain functions then this is most likely to be a school assignment or homework, though you didn't state that above. How can you hope to learn to do these things yourself if someone just gives you the answer?

    Pete

  3. #3
    Registered User
    Join Date
    05-21-2013
    Location
    Toronto, Canada
    MS-Off Ver
    Office 2011 (Mac)
    Posts
    3

    Re: Using HLOOKUP and MAX functions to find the most commonly occurring weekday in a list

    You're correct, it is a school assignment. I've worked with Excel in vast amounts in my previous internships, as well as taken various courses on the program. This may be a simple fix, but I've attempted to solve it and cannot figure it out.

    Any input you have is appreciated.

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Using HLOOKUP and MAX functions to find the most commonly occurring weekday in a list

    In cell K12 put the formula given below and confirm it with Ctrl+Shift+Enter because its an array formula.
    Please Login or Register  to view this content.
    Hope it helps.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  5. #5
    Registered User
    Join Date
    05-21-2013
    Location
    Toronto, Canada
    MS-Off Ver
    Office 2011 (Mac)
    Posts
    3

    Re: Using HLOOKUP and MAX functions to find the most commonly occurring weekday in a list

    Thanks for the quick response!

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Using HLOOKUP and MAX functions to find the most commonly occurring weekday in a list

    well that doesn't use hlookup !!!!
    i dont normally do homework but its hard to point you in the right direction without giving an answer
    is the table J6:M8 already there? or did you add it?
    =HLOOKUP(MAX(K7:M7),K7:M8,2,FALSE)
    would work but it has drawbacks ,what if 2 values are the same?
    Last edited by martindwilson; 10-17-2013 at 08:08 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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. Return the most occurring name from a list
    By Nathaniel82 in forum Excel General
    Replies: 10
    Last Post: 07-03-2014, 09:06 PM
  2. Find and display the most occurring word in a row.
    By SMLTL in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-30-2013, 07:52 PM
  3. find most commonly occuring string values with a single formula
    By bennunn in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-20-2013, 06:51 AM
  4. Find most occurring text within a Table column
    By XxCMoneyxX in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-27-2012, 09:44 PM
  5. Creating a Top Occurring List
    By dpotter2113 in forum Excel General
    Replies: 7
    Last Post: 06-05-2010, 10:14 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