+ Reply to Thread
Results 1 to 3 of 3

Formula to Populate Dates Based on First Value Greater than 0

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    09-09-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    162

    Formula to Populate Dates Based on First Value Greater than 0

    Hi All,

    I'm looking for a forumla to be able to determine the date from 1st row of the excel (header) based on the data in the rows below.

    Have attached the excel data sample along with the required result in Colum Q. Bassically, I need to get the date in every row where the first value greater than 0appears.

    Look forward to your assistance!

    Thank you!

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Formula to Populate Dates Based on First Value Greater than 0

    jai.anand@aol.in,

    Using your provided workbook, in cell Q2 and copied down:
    =INDEX($B$1:$P$1,MATCH(TRUE,INDEX(B2:P2>0,),0))

    If the numbers can only be 1 or 0 as implied, then this simplified version will work:
    =INDEX($B$1:$P$1,MATCH(1,B2:P2,0))
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Contributor
    Join Date
    09-09-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    162

    Re: Formula to Populate Dates Based on First Value Greater than 0

    This worked brilliantly. Thanks!

    Closing it as "solved"

+ 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