Forum Discussion

Vishal_Shukla's avatar
Vishal_Shukla
Copper Contributor
Apr 01, 2020
Solved

Change time to specific time frame

Hi, I want to add some condition however it is for Time.   I am working on a report which has to be shown in hourly basis.   Let's take an example : -  Below are the timings and i want them to b...
  • mathetes's avatar
    Apr 01, 2020

    Vishal_Shukla 

     

    I plugged this formula into your cell E93 and it worked.

    =TEXT(HOUR(C93),"00")&":00 TO "&TEXT(HOUR(C93)+1,"00")&":00"

     

    The key to it is the HOUR function. That, along with the need to turn all the numbers into text and format them appropriately, and then concatenate the text strings.