+ Reply to Thread
Results 1 to 10 of 10

Multiple headers when data is the same on a Index Match!!

  1. #1
    Registered User
    Join Date
    12-16-2014
    Location
    Houston
    MS-Off Ver
    2013
    Posts
    24

    Multiple headers when data is the same on a Index Match!!

    I am trying to get multiple headers to show such as (Mon-Sun) if the total amount being highest or lowest is the same.
    What I am trying to achieve is that I need it to show Wens & Thurs or for the lowest Mon and Tues also if I could get the blanks to not calculate with the formulas. If cell is empty it still calculates which I need it to not calculate unless data is entered into the cell.

    =INDEX($B$7:$B$15,MATCH(MAX(K7:K15),K7:K15,0))
    =INDEX($B$7:$B$15,MATCH(MAX(K7:K15),K7:K15,0))
    =INDEX($C$6:$I$6,0,MATCH(MIN($C19:$I19),$C19:$I19,0))

    B C D E F G H I J K L
    Beat Mon Tues Wens Thurs Fri Sat Sun Total Highest Lowest
    W10 0 0 0
    W20 1 10 13 13 1 3 3 44 13 1
    W30 0 0 0
    W40 0 0 0
    W50 0 0 0
    W60 0 0 0
    W70 0 0 0
    W80 0 0 0
    W90 0 0 0

    Highest Beat W20
    Highest Day Wens
    Lowest Day Mon

    Thanks - J

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    Re: Multiple headers when data is the same on a Index Match!!

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    12-16-2014
    Location
    Houston
    MS-Off Ver
    2013
    Posts
    24

    Re: Multiple headers when data is the same on a Index Match!!

    here is the attached file. - J
    It is not letting me upload the sheet

    Capture1.JPG

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    Re: Multiple headers when data is the same on a Index Match!!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

  5. #5
    Registered User
    Join Date
    12-16-2014
    Location
    Houston
    MS-Off Ver
    2013
    Posts
    24

    Re: Multiple headers when data is the same on a Index Match!!

    here is the file
    Attached Files Attached Files

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    Re: Multiple headers when data is the same on a Index Match!!

    You need this code for the Concatall UDF in a module:

    Please Login or Register  to view this content.
    and this array formula in K15, copied down:

    =ConcatAll(IF($B15:$H15=MAX($B15:$H15),$B$3:$H$3,""),", ")



    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-16-2014
    Location
    Houston
    MS-Off Ver
    2013
    Posts
    24

    Re: Multiple headers when data is the same on a Index Match!!

    You are a GENIUS!

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    Re: Multiple headers when data is the same on a Index Match!!

    No, sorry. I'm merely an experienced plagiarist....

  9. #9
    Registered User
    Join Date
    12-16-2014
    Location
    Houston
    MS-Off Ver
    2013
    Posts
    24

    Re: Multiple headers when data is the same on a Index Match!!

    How can i make it where it does not count the blanks and just the data entered fron b4:h12

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    Re: Multiple headers when data is the same on a Index Match!!

    Sorry. I don't understand. can you amend my sheet and repost to show what you mean??

+ 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. VBA Code for Index Match (multiple criteria) on Customer Data Sheet - Data Enrichment
    By JPaint005 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-20-2017, 10:05 AM
  2. Populate Combo box with Index/Match using horizontal headers
    By EimearC in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-12-2015, 08:25 PM
  3. [SOLVED] Vlookup/Index/Match on multiple sheets data
    By yabi0823 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-30-2014, 03:47 PM
  4. Index/Match formula to find multiple data
    By fastballfreddy in forum Excel General
    Replies: 2
    Last Post: 02-05-2010, 10:25 PM
  5. Index data that match multiple conditions
    By razaas in forum Excel General
    Replies: 10
    Last Post: 12-30-2009, 04:23 AM
  6. Returning headers using index match
    By dmr316 in forum Excel General
    Replies: 2
    Last Post: 12-03-2009, 12:53 PM
  7. Index Match Multiple Colums Headers
    By smigom in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-18-2008, 04:49 AM

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