geffchang
geffchang

Reputation: 3340

excel function to get value of another cell

Image describing the problem http://img215.imageshack.us/img215/3725/20100314235127schedule2.jpg

I hope the image above can explain what I need. :)

Problem 1: Get the date where it is the first value in the row

Problem 2: Get the date where the value is 100

I would also attach the actual excel file, but I am limited to posting only 1 link.

Upvotes: 3

Views: 5300

Answers (1)

geffchang
geffchang

Reputation: 3340

Function for left blue cell:

=IF(COUNTIF(L11:BJ11,">0"),INDEX($L$2:$BJ$2,MATCH(TRUE,INDEX(L11:BJ11>0,0),0)),"")

Function for right blue cell:

=IF(COUNTIF(L11:BJ11,100),INDEX($L$2:$BJ$2,MATCH(100,L11:BJ11,0)),"")

Upvotes: 5

Related Questions