I have about 40 pages of data - each containing a table with the date and time of day (in even numbered, military hours).
There is a corresponding cell on the main page for each data page. The user selects a time (cell C1) and date (cell A1) and each cell returns a value from it's respective data page.
I'm having trouble with the Time of Day. Here's my whole equation:
=INDEX(y01data,MATCH($C$1,'008Y01'!$B$5:$B$28,1),MATCH(VALUE($A$1),'008Y01'!$C$1:$AO$1,0))
The Time of Day match is where it's messed up:
MATCH($C$1,'008Y01'!$B$5:$B$28,1)
I have to use "1" as my match type because "0" returns a #N/A
In using "1", when I select a different time of day, it sometimes won't switch rows (when I switch from 1:00 to 2:00 or 16:00 to 17:00 nothing happens).
I think the Match function with the 1 as the match type is thinking that the row above the one I'm wanting is close enough and not going to the correct row.
Any ideas?
There is a corresponding cell on the main page for each data page. The user selects a time (cell C1) and date (cell A1) and each cell returns a value from it's respective data page.
I'm having trouble with the Time of Day. Here's my whole equation:
=INDEX(y01data,MATCH($C$1,'008Y01'!$B$5:$B$28,1),MATCH(VALUE($A$1),'008Y01'!$C$1:$AO$1,0))
The Time of Day match is where it's messed up:
MATCH($C$1,'008Y01'!$B$5:$B$28,1)
I have to use "1" as my match type because "0" returns a #N/A
In using "1", when I select a different time of day, it sometimes won't switch rows (when I switch from 1:00 to 2:00 or 16:00 to 17:00 nothing happens).
I think the Match function with the 1 as the match type is thinking that the row above the one I'm wanting is close enough and not going to the correct row.
Any ideas?