+ Reply to Thread
Results 1 to 3 of 3

Header Name output

  1. #1
    Registered User
    Join Date
    02-24-2011
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    2

    Header Name output

    Hello,

    Probably a nice easy request, but I am looking for a Formula that can lookup a client name then pull back the nearest date in the future to todays date and then return the column heading.

    I hope if makes sense.
    Attached Files Attached Files

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Header Name output

    Try these array formulae (commit with Ctrl-Shift-Enter)

    =MIN(IF(($A$4:$A$9=A15)*($B$4:$G$9>TODAY()),$B$4:$G$9))

    =INDEX($B$3:$G$3,MATCH(MIN(IF(($A$4:$A$9=A15)*($B$4:$G$9>TODAY()),$B$4:$G$9)),INDEX($B$4:$G$9,MATCH(A15,$A$4:$A$9,0),0),0))

  3. #3
    Registered User
    Join Date
    02-24-2011
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Header Name output

    Hello Bob,

    its work!!!!!

    Thanks a lot!!!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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