Forum Discussion
Time format problem in index formula
Change the formula in C6 to
=CONCATENATE(TEXT(B6,"hh:mm")," – ",TEXT(B6+TIME(0,1,0),"hh:mm"))
(note that the dash is not the ordinary hyphen but the en-dash) and the formula in D6 to
=INDEX(data!$B$2:$AE$1441,MATCH($C6,data!$A$2:$A$1441,0),MATCH($A6,data!$B$1:AE$1,0))
The ,0 makes the matches exact.
- esztermOct 13, 2023Copper Contributor
I've tried your formula, but now all the hours are just 01 and doesn't even add the + minute to it. Also it thinks the seconds are the minutes in the formula. I understand the formula but honestly don't get it, what is the problem.
https://1drv.ms/x/s!AhR-IjyrXUwUgiscT40_8dXE1a9F?e=xsFeKC
TX Date New start time Time frame AMR% 2023.09.02 22:27:35 01:35 – 01:35 #N/A 2023.09.03 01:19:19 01:19 – 01:19 #N/A 2023.09.03 19:57:42 01:42 – 01:42 #N/A - HansVogelaarOct 13, 2023MVP
- esztermOct 13, 2023Copper Contributor
I think the problem is with my system time settings... I use Hungarian and if I switch to English (US), it works. But the problem is, everybody else use Hungarian in the office so they cannot see the working formula.
I will try to find some solution for it, but I really appreciate your help!!!
Thank you!