1
00:00:00,080 --> 00:00:04,201
Excel can display a date-looking value while storing it as text.

2
00:00:04,201 --> 00:00:09,009
Then a sort may behave like A to Z rather than oldest to newest.

3
00:00:09,009 --> 00:00:12,787
In our fictional five-order workbook, the order dated October twentieth,

4
00:00:12,787 --> 00:00:14,847
twenty twenty-five should come first.

5
00:00:14,847 --> 00:00:18,625
We will prove the storage type, convert only the copied practice

6
00:00:18,625 --> 00:00:21,372
column, and verify every order ID after sorting.

7
00:00:21,972 --> 00:00:24,814
Open the Orders sheet in the practice workbook.

8
00:00:24,814 --> 00:00:27,301
Column B holds five imported U.S.

9
00:00:27,301 --> 00:00:31,209
date strings, column C holds the amounts, and columns D and

10
00:00:31,209 --> 00:00:33,341
E are blank for your work.

11
00:00:33,341 --> 00:00:35,473
Do not retype the source dates.

12
00:00:35,473 --> 00:00:40,447
Keep the order IDs beside their amounts when sorting so the records remain intact.

13
00:00:41,047 --> 00:00:45,679
In a spare cell, enter equals ISNUMBER open parenthesis B two close parenthesis.

14
00:00:45,679 --> 00:00:48,887
It should return FALSE for the supplied text date.

15
00:00:48,887 --> 00:00:52,451
This is a better test than alignment or date formatting.

16
00:00:52,451 --> 00:00:57,440
A format change can make a cell look different without converting its stored value.

17
00:00:57,440 --> 00:01:01,360
Leave the original B column untouched so you can compare it

18
00:01:01,360 --> 00:01:02,785
with the converted result.

19
00:01:03,385 --> 00:01:08,302
Select D two and enter equals DATEVALUE open parenthesis B two close parenthesis.

20
00:01:08,302 --> 00:01:13,975
Microsoft documents DATEVALUE for converting text dates to date serial numbers. In a U.S.

21
00:01:13,975 --> 00:01:18,136
date setting, the first result represents February fifteenth, twenty twenty-six.

22
00:01:18,136 --> 00:01:22,296
If you see a serial number, apply a Date number format

23
00:01:22,296 --> 00:01:26,456
to D two; that changes the display of the converted number,

24
00:01:26,456 --> 00:01:27,969
not the underlying value.

25
00:01:28,569 --> 00:01:32,351
Fill the D two formula through D six and format D

26
00:01:32,351 --> 00:01:34,413
two through D six as dates.

27
00:01:34,413 --> 00:01:38,195
In E two, enter equals ISNUMBER open parenthesis D two close

28
00:01:38,195 --> 00:01:40,257
parenthesis and fill through E six.

29
00:01:40,257 --> 00:01:42,320
All five checks should read TRUE.

30
00:01:42,320 --> 00:01:47,133
If DATEVALUE returns a value error, stop and check the workbook's U.S.

31
00:01:47,133 --> 00:01:51,258
month slash day date text against your Excel regional settings before sorting.

32
00:01:51,858 --> 00:01:56,384
Select the entire table A one through E six, including headers.

33
00:01:56,384 --> 00:01:59,675
Sort by Converted date from oldest to newest.

34
00:01:59,675 --> 00:02:04,201
Do not select only column D, because that would detach each

35
00:02:04,201 --> 00:02:07,081
date from its order ID and amount.

36
00:02:07,081 --> 00:02:12,429
The first three records should be ORD-304, ORD-302, and ORD-303,

37
00:02:12,429 --> 00:02:15,309
followed by ORD-301 and ORD-305.

38
00:02:15,909 --> 00:02:21,430
Compare the final ID order with the independent answer check: ORD-304,

39
00:02:21,430 --> 00:02:25,110
ORD-302, ORD-303, ORD-301, ORD-305.

40
00:02:25,110 --> 00:02:30,171
The associated amounts should be sixty, eighty, two hundred fifteen, one

41
00:02:30,171 --> 00:02:37,072
hundred twenty-five, and one hundred fifty-five dollars, still totaling six hundred thirty-five.

42
00:02:37,072 --> 00:02:40,292
All converted-date checks should remain TRUE.

43
00:02:40,292 --> 00:02:45,813
This confirms both date order and record integrity in the fictional exercise.
