Traditional Culture Encyclopedia - The 24 Solar Terms - Display and operation of Excel cross-day time difference
Display and operation of Excel cross-day time difference
Excel function TEXT(value, famat) displays the time difference in a specified format.
It can not only display the number of hours across days, but also calculate the time difference four times.
prerequisite
Excel date column, right-click to set the format-the custom format is: yyyy/mm/dd h:mm:ss.
formula
=TEXT(C2-B2,“h”:mm:ss”)
pay attention to
C2-B2: indicates the time difference (days) "end time-start time"
[h]: indicates hours. Parentheses [] can display more than 24 digits ([mm] displays more than 60 digits).
"[h]:mm:ss": means to display in the format of time: minute: second. Which company you want to display can be set flexibly.
formula
=TEXT((C2-B2)*24*3600," 0.00")/E2
pay attention to
(C2-B2)*24*3600: indicates the time difference (seconds)
"0.00": it means to display in the format of two decimal places (which can be set flexibly). Because the value of the time difference will be used for later calculation, it is displayed in decimal format instead of in hours, minutes and seconds.
- Previous article:Methods and skills of breath adjustment in singing
- Next article:What is the date of the long summer in 2023?
- Related articles
- Who are the upright people in the history of China?
- Introduction to the Plot Diversity of Jinyi
- I don't know the name of an English song that begins with "doctor"
- Can Fox completely change the carbon deposit by adjusting the throttle angle?
- Xiaoshengchu Chinese must be archaeological poetry.
- What season is depicted in The Riverside Scene at Qingming Festival?
- Can I move into beginning of winter at 202 1? May I come in today?
- What poems are there in the winter solstice solar terms?
- How many solar terms are there this year?
- What happened to the weather in the Millennium? Will it be hot afterwards? What are the phenological characteristics?