Hey @oeldere! Thought you might be interested, someone in another forum answered my post as well and gave the formula
"Let A:D house the above sample.
Let F2 house 3, a REF # of interest.
G2, just enter:
=MATCH(1,INDEX($B$2:$D$4,MATCH($F2,$A$2:$A$4,0),0),0)
If you want the date in the headers row...
=INDEX($B$1:$D$1,MATCH(1,INDEX($B$2:$D$4,MATCH($F2,$A$2:$A$4,0),0),0))
Duplicate records change the nature of the task (if more than one REF# present in column A):
G2, control+shift+enter, not just enter:
Code:
=MIN(IF(IF($A$2:$A$5=$F2,$B$2:$D$5)=1,$B$1:$D$1))
Thought this may be of interest! All the best
~Charlie
(from http://www.mrexcel.com/forum/excel-q...ml#post3567302 )
Bookmarks