• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

find first instance of blank cell

Sallylou92000

New Member
I am setting up a spreadsheet to record payments in a work lotto.
Names of each participant are in a column, dates due are in the heading row.
As payment is made a Y is entered into the corresponding cell.
I would like to show when each person paid up to - my thinking was to use a formula to find the first blank cell in their row, and return the date from the heading row.
Sample attached - the cells I'm looking to populate are highlighted in yellow.
I have tired all sorts of formula's etc but can't get anything to work.
Thanks for your help
Sally
 

Attachments

  • Lotto payment sample sheet.xlsx
    17 KB · Views: 3
Hi:

use the following array formula
Code:
=IFERROR(INDEX($K$1:$BP$1,1,MATCH(99^99,1/($K3:$BP3<>""))+1),$K$1)
Execute by pressing Control+Shift+Enter keys.

Thanks
 

Attachments

  • Lotto payment sample sheet.xlsx
    14.8 KB · Views: 3
Try this (non-array formula),

=IFERROR(INDEX(K$1:BP$1,MATCH(1,INDEX(0+(K3:BP3=""),0),0)),"")

or,

=IFERROR(INDEX(K$1:BP$1,MATCH("zz",K3:BP3)+1),K$1)

Regards
Bosco
 

Attachments

  • Lotto payment.xlsx
    14.5 KB · Views: 7
Last edited:
Back
Top