How can I add dates to column but repeat each 24 times, in Excel?

前端 未结 2 948
独厮守ぢ
独厮守ぢ 2021-01-26 00:06

Here is a sample from the data that I am looking at.

Hour Index  Visits
    0   67
    1   22
    2   111
    3   22
    4   0
    5   0
    6   22
    7   44
           


        
2条回答
  •  长发绾君心
    2021-01-26 00:29

    Please try: =UPPER(TEXT(DAY(2+A2/24),"ffffdd")). The first 2 is to control when the sequence starts.

提交回复
热议问题