I've been asked the following question as a test:
Cell A1: 28.12.2018 - 09:00 111,1 02.01.2019 - 08:00 22222,22 08.01.2019 - 23:56 3333,33 20.01.2019 - 00:00 44,4 28.01.2019 - 00:00 55,55 08.02.2019 - 00:00 6666,66 15.02.2019 - 00:00 77,7
Same criteria is in cells A2, A3 and so on.
Given today's date 06.02.2019 (we can use now() or today() ), create a formula in B1, so that it will pull out a number corresponding to the date and time, 55,55 in our case (those dates represent categories, for all dates between 28.01.2019 00:00 and 08.02.2019 00:00 the value should be 55,55).
My logic when trying to solve this was to somehow use the MID function along with FIND() to return a specific text string (line) but I'm not sure on how to find the line corresponding to the current date. I don't even know where to start with that to be honest.
Thanks in advance!