Here's the setup of my spreadsheet:
A1 = 1/1/2011
A2:A10 = names
B1 = 1/2/2011
B2:B10 = names
Elsewhere in the worksheet, I have all the names listed. I am trying to write a formula that would list next to each name the max date whose column the name is in at the top of the sheet. I've tried several things, including:
=max(if(countif(A2:A5,"name")=1,A1,if(countif(B2:B5,"name")=1,B1)*A1,B1)
No luck and unfortunately, no idea where I'm going wrong.
Thanks for any advice you may have.
A1 = 1/1/2011
A2:A10 = names
B1 = 1/2/2011
B2:B10 = names
Elsewhere in the worksheet, I have all the names listed. I am trying to write a formula that would list next to each name the max date whose column the name is in at the top of the sheet. I've tried several things, including:
=max(if(countif(A2:A5,"name")=1,A1,if(countif(B2:B5,"name")=1,B1)*A1,B1)
No luck and unfortunately, no idea where I'm going wrong.
Thanks for any advice you may have.