filmov
tv
Excel - Three Tips for Separating Date From Time | Split cell data
![preview_player](https://i.ytimg.com/vi/GAwDTH20WLU/maxresdefault.jpg)
Показать описание
We frequently have the date and time in Excel in the same cell. For example, 8/20/2023 9:30 pm. If you want to split them into two columns, there are several methods in Excel. Flash Fill, one of my favorite Excel features, will work, another option is to use the INT function in Excel. INT is for Integer. Using a PivotTable, we can also summarize the data, even with the date and time together.
Split date and time with the INT function
If the date and time are in cell A2, B2, to get the date, type =INT(A2). The INT function gives your whole numbers. The date and time together are decimals. When you use INT it gives you the whole number and ignores the decimal or the time.
Example: 8/5/2023 6:00 PM is 45,158.75. Using INT returns 45158.00 or 8/5/2023.
Flash Fill Videos by Chris Menard
One difference between using Flash Fill and INT is INT function will update if the original cell changes; Flash Fill will not automatically update.
#msexcel #exceltraining #chrismenardtraining #chrismenard
And make sure you subscribe to my channel!
Chapters:
00:00 Introduction
00:39 Method 1
02:00 Method 2
06:09 Method 3
08:57 Closing remarks
-- EQUIPMENT USED ---------------------------------
-- SOFTWARE USED ---------------------------------
DISCLAIMER: Links included in this description might be affiliate links. If you purchase a product or service with the links I provide, I may receive a small commission. There is no additional charge to you! Thank you for supporting my channel, so I can continue to provide you with free content each week!
Split date and time with the INT function
If the date and time are in cell A2, B2, to get the date, type =INT(A2). The INT function gives your whole numbers. The date and time together are decimals. When you use INT it gives you the whole number and ignores the decimal or the time.
Example: 8/5/2023 6:00 PM is 45,158.75. Using INT returns 45158.00 or 8/5/2023.
Flash Fill Videos by Chris Menard
One difference between using Flash Fill and INT is INT function will update if the original cell changes; Flash Fill will not automatically update.
#msexcel #exceltraining #chrismenardtraining #chrismenard
And make sure you subscribe to my channel!
Chapters:
00:00 Introduction
00:39 Method 1
02:00 Method 2
06:09 Method 3
08:57 Closing remarks
-- EQUIPMENT USED ---------------------------------
-- SOFTWARE USED ---------------------------------
DISCLAIMER: Links included in this description might be affiliate links. If you purchase a product or service with the links I provide, I may receive a small commission. There is no additional charge to you! Thank you for supporting my channel, so I can continue to provide you with free content each week!
Комментарии