0

enter image description here

How do I return the first time I emailed each customer by date? For example, I want B3 to read "20-May-13" C3 to read "02-Oct-15" and D3 to read "26-May-16".

Thanks!

1 Answer 1

1

Use this formula in B3, then copy over and down:

=IFERROR(INDEX($G$2:$K$2,AGGREGATE(15,6,(COLUMN($G3:$K3)-COLUMN($G3)+1)/($G3:$K3=1),COLUMN(A:A))),"")

enter image description here


If your column header is a true date then you can use this formula:

=IFERROR(AGGREGATE(15,6,$G$2:$K$2/($G3:$K3=1),COLUMN(A:A)),"")
Sign up to request clarification or add additional context in comments.

4 Comments

@Scott Craner thanks! But I keep getting "41332" come up - even though I adjusted the formula to my spreadsheet? imgur.com/c6vsUwK
@Christian you need to format the cells as a date. Right now it is formatted as "General" and it is showing the numeric value of the date. So format them the way you want.
@Scott Craner - Thank you so much!
@Christian please mark as correct by clicking the check mark by the answer. It is something only you can do.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.