+ Reply to Thread
Results 1 to 2 of 2

Lookup a column header based on first column with value greater than zero

Hybrid View

  1. #1
    Registered User
    Join Date
    01-30-2009
    Location
    seattle, wa
    MS-Off Ver
    Excel 2003
    Posts
    8

    Lookup a column header based on first column with value greater than zero

    Hello,

    I trying to write a formula that finds the first number in a row that is greater than zero and return the column header, which in my document is a date.

    In the attached example I want cell K3 to return the date 1/4/2009.

    Thanks for your help!
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Lookup a column header based on first column with value greater than zero

    one way...

    the following entered as an array with CTRL + SHIFT + ENTER

    K3:=MIN(IF($B3:$J3>0,$B$2:$J$2))

    Once array set the above will appear encased within { } ... copy down for remaining rows (above assumes dates listed in asc order from left to right ... if not you can alter to an INDEX approach)

+ 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