Ravindra BagaleCourses & study guides मराठी Track your progress

5. Data Cleaning A–Z

Excel

5.7 Text Dates and Mixed Date Formats

1. Confirm the calendar date before choosing its display

A student crew packs books for a fictional online store. It pulls a delivery sheet from two partners and needs to count arrivals each month. The first report says 06/10/2026. The crew schedules work in June, but the partner actually meant 6 October. The visible digits and separators never changed. The interpretation did. A spreadsheet can return a valid date for either meaning, so removing errors alone does not correct the report.

Think of the way shoppers use Amazon to check delivery dates. In this fictional exercise, one source records a promised day and a second records the day a parcel arrived. Those are different fields even when both happen on the same date. Before fixing the format, decide which event you are measuring and which convention each export uses. The examples are invented and do not describe Amazon's data systems. Once you know the correct day, month and year, convert them to a real spreadsheet date and set its appearance afterward.

Separate three decisions. Confirm which day the text means, store its numeric calendar result, then format the result for the audience.

An input of 06/10/2026 reads as 6 October in day-month-year order or June 10 in month-day-year order. A missing source convention requires review.
Both interpretations may pass a calendar check. The source convention decides which one belongs in your data.

Recognise date text, serial values and date display

  • Date-like text. A cell preformatted as Text, or data imported with an explicit Text type, can preserve 06/10/2026 as a string. Excel generally compares text using text rules. Sorting fixed-width ISO-style text may happen to match date order, but the string has not become a numeric date. Other date-looking formats can sort in a different order from the calendar.
  • Numeric date. Excel stores a normal worksheet date as a serial number within the workbook's date system. For an ordinary recent date, a difference of one whole unit is one day. A timestamp can have a fraction representing a time within the day. When you want to calculate a day difference, first confirm that both fields have the same intended units and interpretation.
  • Display format. A real date can display as 14-03-2026, 14 Mar 2026 or Saturday, 14 March 2026. Applying a display format to a text string does not resolve its date order or necessarily turn it into a numeric date. On a work copy, a temporary General format can reveal the serial for an already numeric date.
  • Numeric check. ISNUMBER on a typed date returns TRUE. It also returns TRUE for a price, the integer 20260317 or another unrelated number. Field type, date system, expected range and date parts together give more useful evidence. A FALSE result may be text, a blank or another type.
  • Day precision. An integer date and a timestamp are related but can answer different questions. Preserve a timestamp until you know whose local date is requested. A time zone changes the calendar day for some records near midnight.

Get the date order from a known source

D, M and Y in a source label refer to day, month and year. DMY means the first two characters identify the day in a fixed-width string such as 15/11/2026. In MDY the same positions identify the month. YMD places the year first. A separator such as slash, dash or full stop tells you where the parts sit. It does not identify their meaning. Rows from a proven single-format file can share its rule. Do not learn a rule from one unambiguous record and apply it blindly to a combined export.

An obvious value like 15/11/2026 is useful evidence because 15 cannot be a Gregorian month. It is still not proof that every row comes from the same format. Ask the exporter which convention each column or feed follows. Where rows come from several workbooks, add a source label during import before combining them. That label lets you repeat the interpretation on refresh, including for values like 06/10/2026 that are individually ambiguous.

2. Lab. Take a fixed day-first column apart and check it

Goal. Turn three original practice rows into valid November dates and keep three negative controls visible. Open a blank workbook and enter A1:B7. Make B2:B7 Text before typing the values. Leave the last Raw date cell truly blank. The exercise's source specifies two digits for the day, two for the month and four for the year, separated by slashes. Save Raw and make a Work copy.

Fictional day-first export and expected calendar results
DeliveryRaw dateExpected verified dateStatus
N0102/11/20262026-11-02Valid
N0215/11/20262026-11-15Valid
N0330/11/20262026-11-30Valid
N0430/02/2026Invalid day or month
N052/11/2026Review shape
N06Missing

Follow one date from raw text to a usable result

  1. Preserve the raw characters

    Choose N02 and inspect the complete string 15/11/2026. On the Work sheet, ISNUMBER on B3 should be FALSE. If the input became a real date during entry, re-enter the exact fixture in the text-formatted source cell.

  2. Read year, month and day

    Enter helper formulas C2:E2 and fill down. The first two digits give day 15 on N02, positions four and five give month 11 and the last four give year 2026. The formulas use numbers for those three separate components.

  3. Compare the source shape

    Fill F2 down. It builds a string from the component values using the required widths and punctuation. If it differs from the raw text, the row says Review shape. N05 is a useful challenge because shorter versions may be a legitimate separate format, but this export requires a two-digit day.

  4. Check a calendar candidate

    Fill G2:I2 down. The DATE arguments are read in year, month, day order. Compare YEAR, MONTH and DAY of the candidate against the inputs. N04 has the required eight digits and two slashes, but its impossible day produces a different calendar result. Only verified candidates flow to I.

  5. Validate the final calculation

    Apply a date format to I2:I7. COUNT is three. The days between N01 and N02 are 13, from N02 to N03 are 15 and from N01 to N03 are 28. Excel's WEEKDAY with return type 2 reports 1, 7 and 1 for the three usable dates.

C1 Year        D1 Month      E1 Day       F1 Expected shape
G1 Candidate   H1 Status     I1 Clean date

C2 =IFERROR(--RIGHT(B2,4),"")
D2 =IFERROR(--MID(B2,4,2),"")
E2 =IFERROR(--LEFT(B2,2),"")
F2 =IF(COUNT(C2:E2)=3,TEXT(E2,"00")&"/"&TEXT(D2,"00")&"/"&TEXT(C2,"0000"),"")
G2 =IF(AND(B2<>"",EXACT(B2,F2),C2>=2024,C2<=2026),IFERROR(DATE(C2,D2,E2),""),"")
H2 =IF(B2="","Missing",IF(NOT(EXACT(B2,F2)),"Review shape",IF(NOT(ISNUMBER(G2)),"Review year",IF(AND(YEAR(G2)=C2,MONTH(G2)=D2,DAY(G2)=E2),"Valid","Invalid day or month"))))
I2 =IF(H2="Valid",G2,"")

Here the accepted year range is 2024 through 2026 for a limited training exercise. For a historical archive, choose a range based on its coverage. For a future booking list, future years can be legitimate. Write down the review range before using it and keep the rejected rows. The cell checks in H return one first reason, so a row may need another review after its first issue is corrected.

The text 30/02/2026 can yield March 2 when passed through DATE. Checking the returned year, month, and day exposes the invalid original February 30.
DATE can roll an impossible day into the next month. Check the output's calendar parts against the source parts.

Read the difference between a candidate and an approved date

In N04, DATE with year 2026, month 2 and day 30 yields 2 March 2026. February has 28 days that year. The 29th rolls to 1 March and the 30th to 2 March. The result is a valid serial, which is useful in some intentional date calculations. In this cleaning job, it fails because the source described 30 February. The output month is 3, and the input month was 2. This is also why ISNUMBER on the candidate would be insufficient evidence.

F checks the exact shape by reassembling the source order. In an English-style formula, TEXT with 00 gives a two-digit component when the number is short. The formula uses the source punctuation. If a value contains an extra space, unknown character or wrong separator, the practice shape check sends it to review. If the export intentionally permits trim or shorter widths, record a separate validated rule. Do not silently absorb deviations into the same fixed-width contract.

3. Lab. Combine event dates using each partner's documented order

Goal. Approve eight date-only records, record five holds and explain an October-versus-June split. Use a new practice workbook with the 1900 date system for the literal serial exercises. Check it by putting =DATE(2026,3,18) in an empty General cell. It should display 46099. If it does not, use a new practice workbook with the expected setting or leave the literal serial rows for review. Changing a workbook's date system changes how its other serials are interpreted, so keep any existing data out of this test.

Enter the first three columns in A1:C14. Preformat the date input cells as Text except for the three rows marked numeric in the table. Leave C14 blank. The compact dates are date encodings supplied by their source and can arrive as an exact eight-digit string or integer. Enter that integer in General so it differs from the text rows. Text 2026-03-15 should stay text here despite resembling a date, which lets you test the converter.

Fictional partner event dates with explicit source patterns
LineSource patternRaw dateExpected dateStatus
R01DMY_DASH14-03-20262026-03-14Valid
R02MDY_SLASH03/14/20262026-03-14Valid
R03YMD_DASH2026-03-152026-03-15Valid
R04DMY_DOT15.03.20262026-03-15Valid
R05YMD_COMPACT202603172026-03-17Valid
R06DMY_SLASH29/02/20242024-02-29Valid
R07SERIAL_1900460992026-03-18Valid
R08MDY_SLASH06/10/20262026-06-10Valid
R09UNKNOWN06/10/2026Verify source
R10DMY_SLASH29/02/2026Review date parts
R11DMY_DOT15/03/2026Review shape
R12SERIAL_190046099.5Review serial
R13DMY_SLASHMissing
  1. Separate position and meaning. B says which format the source documented. Treat that as a label from the import step, not a guess from a slash or dash. R04 and R11 are supposed to use full stops, so the slash row is a discrepancy even if you could read its day and month manually.
  2. Prepare one common text order. In D1 put Canonical text candidate. Use D2 below and fill through row 14. R01 and R02 both become the string 2026-03-14. R07 remains empty in D because its separate serial path does not require rebuilding text.
  3. Check both the written shape and the calendar. Put Candidate date in E1 and fill E2 down. D already requires a recognised source pattern. E checks the exact canonical shape, the allowed year window and the calendar parts before accepting a date. A textual date with scientific notation or a known separator in the wrong location fails one of the checks.
  4. Handle an already numeric date separately. Put Approved date in F1 and Status in G1. Fill F2:G2 down. The serial row must actually be numeric, be an integer for this date-only report and be in the exercise's valid range. R12 has half a day as a fractional time and stays on review. Format F as dates after the type checks.
  5. Compare counts and paired examples. COUNT over F2:F14 is eight. R01 and R02 match because the same event day used two conventions. R08 is June 10 and the visually identical R09 remains on hold. Check the expected calendar parts and statuses from the printed table by line ID.
D2 =IF(C2="","",LET(rawText,C2&"",partOne,LEFT(rawText,2),partTwo,MID(rawText,4,2),yearTail,RIGHT(rawText,4),
SWITCH(B2,
"DMY_SLASH",IF(AND(LEN(rawText)=10,MID(rawText,3,1)="/",MID(rawText,6,1)="/"),yearTail&"-"&partTwo&"-"&partOne,""),
"MDY_SLASH",IF(AND(LEN(rawText)=10,MID(rawText,3,1)="/",MID(rawText,6,1)="/"),yearTail&"-"&partOne&"-"&partTwo,""),
"DMY_DOT",IF(AND(LEN(rawText)=10,MID(rawText,3,1)=".",MID(rawText,6,1)="."),yearTail&"-"&partTwo&"-"&partOne,""),
"DMY_DASH",IF(AND(LEN(rawText)=10,MID(rawText,3,1)="-",MID(rawText,6,1)="-"),yearTail&"-"&partTwo&"-"&partOne,""),
"YMD_DASH",IF(AND(LEN(rawText)=10,MID(rawText,5,1)="-",MID(rawText,8,1)="-"),rawText,""),
"YMD_COMPACT",IF(LEN(rawText)=8,LEFT(rawText,4)&"-"&MID(rawText,5,2)&"-"&RIGHT(rawText,2),""),
"")))
E2 =IF(D2="","",IFERROR(LET(yearNum,--LEFT(D2,4),monthNum,--MID(D2,6,2),dayNum,--RIGHT(D2,2),dateGuess,DATE(yearNum,monthNum,dayNum),
IF(AND(yearNum>=2024,yearNum<=2026,EXACT(D2,TEXT(yearNum,"0000")&"-"&TEXT(monthNum,"00")&"-"&TEXT(dayNum,"00")),
YEAR(dateGuess)=yearNum,MONTH(dateGuess)=monthNum,DAY(dateGuess)=dayNum),dateGuess,"")),""))
F2 =IF(B2="SERIAL_1900",IF(ISNUMBER(C2),IF(AND(C2=INT(C2),C2>=DATE(2024,1,1),C2<=DATE(2026,12,31)),C2,""),""),E2)
G2 =IF(C2="","Missing",IF(B2="UNKNOWN","Verify source",IF(ISNUMBER(F2),"Valid",IF(B2="SERIAL_1900","Review serial",IF(D2="","Review shape","Review date parts")))))

Paste each whole formula into its corresponding cell without the address label. LET makes longer worksheet formulas easier to inspect by naming component values, and SWITCH chooses a branch for known input tags. Check the references for supported Excel versions. If your Excel does not support those functions, split the source subsets on a work sheet and use the first lab's simpler helpers. For MDY, take the month first and the day second when reading the source. For YMD, take year first, then month, then day. Check the expected separator and reconstruct the correct input shape just as in the DMY lab.

Try three tests using source decisions

  • After recording the original outcome, mark R09 as DMY_SLASH on a practice copy to simulate a trusted source confirmation. It now means 6 October. The count goes to nine and the latest approved date changes from 10 June to 6 October. The status change is justified by the supplied source convention. It is not justified by the format looking familiar.
  • Change R10's raw value to 28/02/2026 on a copy to model a confirmed correction. The row resolves. A leap-year control is already present for 29 February 2024, so you can show both that allowed leap dates work and that impossible dates fail. Restore the original R10 to keep this rejection test.
  • Temporarily assign the wrong order to R08 when the original lab is restored. A different valid date comes out, and COUNT can still be eight. This tests the limits of shape, numeric and calendar checks. The exact expected dates by source row catch this error.

4. Choose a reliable conversion route for each source

Use a quick conversion only for a source with one verified order

In a supporting desktop build, the Text to Columns wizard can read a selected column into dates using an explicit input order, such as DMY. In a disposable work copy, select just a single uniform raw range. Use Delimited with no splitting delimiter when appropriate, inspect the single-column preview and set its column format to Date and DMY. Choose a blank destination and verify before finishing. The menus and available steps can vary across Excel platforms. For the first exercise, restrict a simple conversion test to the three valid fixed DMY rows. Check the results against the helper output. Changing the requested destination must not replace either the original text or notes next to it.

DATEVALUE is useful if the text matches the known source convention as interpreted by the application. For example, an English-language test with 16 Mar 2026 can be checked before including it in a uniform import. Other settings may recognise month abbreviations differently. An omitted year can be taken from the current system clock. Time information within DATEVALUE input is ignored. For a repeatable archive, supply the known four-digit year and an explicit interpretation. If you need the time field as well, preserve the raw timestamp and use a tool that handles both.

Use Power Query when the workflow must repeat

When importing on a platform that offers the needed Power Query tools, keep original dates and a source tag before you combine files. Ensure any automatic type step has not already interpreted the raw strings. Make separate source branches for known formats. For a consistent day-first file, choose Date using the original locale in the Change Type Using Locale command. Where strict written shape matters, use an explicit pattern in a parse step and keep independent checks for input convention and data shape.

try Date.FromText([Raw date], [Format="dd/MM/yyyy", Culture="en-GB"])

That sample expression can be used in a custom column with the Raw date field already typed as text. A try expression gives a result that lets the workflow inspect successful conversion or an error. It does not supply missing source metadata. R09 will not get a trustworthy date until a reliable tag is present, even if the parser could technically read the characters. Use a branch that applies this specific pattern only to rows verified to use it. Handle nulls and wrong patterns separately before loading a report.

  1. Pass a known day-first row, a known month-first row and an exact copy of an unknown row through the process. Verify both the calendar results and the review status. Calendar parts exposed as separate fields in a data preview can help confirm the actual value.
  2. Check repeated imports in another environment. An explicit source order reduces reliance on machine settings. Fixed audits by source ID let you distinguish an expected display change from a different calendar value.
  3. Check whether you need dates only, datetimes or offsets. If an event's business day depends on a region, preserve the offset or source zone until the workflow has applied the chosen day-boundary rule. Label any date-only result derived from a timestamp.
  4. Confirm row-count balance. An unhandled value should remain visible with a reason. A preview that drops rows with errors can hide missing reporting periods. Count the valid and held rows and compare them to the complete source batches.

5. Check what your dates do in a report

Prove that numbers represent the intended event days

Pick two confirmed source rows and subtract the earlier approved date from the later one. In the November file, the difference between I3 and I2 is 13. If Excel displays this difference as another apparent date, apply General or Number to that difference cell. The result counts elapsed days. If the report counts both endpoints, the business definition may require adding one. State which measure you used. For timestamps, a decimal remainder means part of a day. Decide whether that result is appropriate before rounding.

Use MIN and MAX only on an approved range with at least one valid numeric date. For the day-first lab, minimum and maximum are 2 November and 30 November. Sorting the approved rows by the date column should give the same endpoints. For the mixed lab, minimum is 29 February 2024 and maximum is 10 June 2026. Use source IDs to check internal values like R01 and R08. R08 can be assigned incorrect order yet both the numeric type and report count still pass. A group by consistently defined calendar month gives the wider view but should be supported by row checks.

For a month-end helper, an English Excel function like =IF(ISNUMBER(I2),EOMONTH(I2,0),"") can return the last day of each approved date's month. Apply the same date format to this result. For N01, N02 and N03 it should show 30 November 2026. Keeping the year in the month key prevents March from three different years collapsing into one unintentionally. A text label such as March is usable for display once you have a meaningful group field and desired sort order.

Check an equal-looking date and unequal underlying values

On a copy in the expected date system, enter =DATE(2026,3,18) in a cell, then put =DATE(2026,3,18)+TIME(12,0,0) beside it. Apply only a date format to both. They can look identical, although the second is later by 0.5 day. A filter or equality check based on the underlying values may distinguish them. If the task is to group by a specific calendar day, explicitly derive a calendar date under the chosen time convention. In this example the times use the same local wall-clock assumption, so taking the integer part gives the same day for both. That operation alone does not convert time zones.

Spot a date system mismatch before manipulating serials

A raw numeric serial needs an origin. Excel workbooks can use a 1900 or 1904 date system. The same modern calendar day has a serial 1462 larger in the 1900 system than in the 1904 system. For 18 March 2026, the values are 46099 and 44637. A pasted value may be automatically adjusted in some workbook and copy contexts. If you receive an untyped serial in a data file, first verify the date system and whether a previous step already adjusted it. Then compare a known date with its source record. Adding an offset twice creates a new error.

To cross-check manually, keep the supplied serial on a work copy, confirm the source and target date systems, and calculate an expected day from a known control. Write down the retained serial, the workbook setting and the resulting calendar date. This exercise does not need to change a real workbook's setting. Keep serial conversion tests limited to recent dates and use a trusted archive procedure if you need dates near the historical 1900 calendar boundary. For interchange, send four-digit year calendar text and a documented pattern unless the receiver expressly requires typed serial data.

Walk a monthly count back to the individual lines

Build a small audit alongside the second lab. Write February 2024, March 2026 and June 2026 in a summary, and use verified month-start dates in the adjacent column. Enter the start dates with DATE so their values do not depend on the input locale. Add a next-month-start column. You can compute a next month using EOMONTH with zero months and then add one day. Use a bounded interval from each start through dates earlier than the next start. For March the formula is below.

=COUNTIFS(F2:F14,">="&DATE(2026,3,1),F2:F14,"<"&DATE(2026,4,1))

For March, expect 6. Trace the count to R01 and R02 on the 14th, R03 and R04 on the 15th, R05 on the 17th and R07 on the 18th. Repeated dates count as separate events under the lab's record-level rule. If the question is unique days, you would group on event date first and count each date once, yielding 4 days in March. State the reporting grain before sharing either number. Counting date rows and counting days are different answers to different questions.

Expect 1 valid record in February 2024 and 1 in June 2026, which reconciles all eight dates. Inspect the difference if you count only March. Two verified events belong to other months. Five additional rows are on review, and no amount of filtering the date field will assign them reliably to a month. For a summary with a fixed reporting range, show its dates and the count of valid records outside that window. That makes it clear which counts are complete for which population.

Compare these intervals with an English month-name label. A label like March can be fine for a printed heading, but a filter on it alone may mix March 2025 and March 2026. A verified month-start date can display as Mar 2026 while retaining a numeric year/month key. Order those month keys by date in the final table. To see why half-open comparisons help with timestamps, imagine the very final second of March. It is greater than midnight on 31 March, but still less than midnight on 1 April. An intentional timestamp report should use the correct time-zone rule before counting.

Record the decision when a feed's date convention changes

Suppose a source first sent a day-first file and then changed to year-first. If you only change the current formula, past rows might suddenly be interpreted by the new rule on refresh. Label which export version or file family each row came from. Assign its interpretation at intake, keep a small dictionary of known shapes and add one check row per version. The old source still needs to pass its original controls. The new source needs a control of its own. A merged column can have one output type while preserving several valid source conventions.

Ask the exporter for a stable four-digit year and separately documented timestamp convention. For CSV, date-only text and a described year-month-day pattern can reduce ambiguity. Preserve the original text at import even if the tool is able to infer it. Depending on a spreadsheet's conversion when a file is opened can change its meaning before you see it. Use the import preview and confirm the date-like values appear literally in the work copy.

When a partner supplies omitted or two-digit years, agree an explicit business rule or request corrected data. For example, 03/08/26 can involve both year inference and order inference. The rule used by a parser may differ from the age, signing period or planned delivery range your business actually permits. An approved expansion of 26 to 2026 may be appropriate for a known current export, but guessing a century for an archive can rewrite its history. Keep the source year text until that decision is recorded.

Provide a meaningful review note for the event owner

Give the volunteer who can confirm a date enough context to answer without guessing. Use the stable source row, original date string, event name and the question. For R09 ask which of the supplied conventions applied in that feed. For R10 ask whether the supplier intended February 28 or another day. Do not tell the reviewer to choose any valid date. When a corrected entry comes back, keep the old record and document the source of the correction. Recalculate only after the evidence is attached.

Keep completion easy to check. A reviewer can select one record from each of the three approved months and independently reconstruct the date. They can also verify that an unresolved row would still remain held even if it happened to fall inside the date range under a guess. Record whether the check was of type, shape, expected calendar day or report inclusion. The different checks tell you what a later change could break.

6. Keep a short date audit beside the published data

Track the check that found each type of problem

  • Unknown order. Both October and June can pass a calendar check. Keep the row on hold until a source convention or record-level confirmation is available.
  • Unexpected shape. The source's promised delimiters or widths may have changed. Check whether it is a new supported version before widening the parser.
  • Unreal calendar part. Month or day may overflow when handed to DATE. Compare candidate parts to source parts and review rather than accepting the rollover.
  • Unexpected numerical value. A timestamp fraction, compact encoding, wrong date system or out-of-range serial needs a separate branch. Check its declared type instead of applying one format to all numbers.
  • Missing field. Keep it missing. For a report about delivered parcels, some future arrivals legitimately have no delivery date yet. Separate those from data failures.
  • Wrong event field. An order timestamp might be correct but inappropriate for a promised-delivery report. Check column definitions and expected order of events where that expectation applies.

One useful audit summary reads: thirteen source events, eight valid dates and five holds, of which one needs a format confirmation, one calendar correction, one shape clarification, one date-versus-time choice and one missing value. Describe the date range of the published subset rather than implying it covers all events. When a source correction arrives, revise the approved count and verify the expected date under the documented rule. This makes a later monthly change explainable.

For independent practice, choose a date parsing item in the Excel Task Hub. Before entering a formula, write a known example, its expected calendar parts and one counterexample that must stay on hold. Compare the displayed date and a real date calculation before calling the exercise complete.

7. Interview questions with worked answers

How do you handle mixed text date formats in one column?

Preserve the source text and distinguish inputs using a known feed or format field. Parse each subset with its own order, then combine verified dates in one numeric column with a separate reason for every hold. The strings 14-03-2026 and 03/14/2026 can match when their documented source rules are DMY and MDY respectively.

Why is ISNUMBER alone a weak date check?

Excel date values are numeric, but a raw integer 20260317, a minute count or a receipt amount is also numeric. Validate the representation, date system, range and expected calendar parts. For a controlled recent date, you can compare the result to an independently entered DATE value as a reference.

What is dangerous about using DATE on extracted text parts?

DATE can carry excess days or months into subsequent months or years. In the first lab, a date formula from 30 February makes a numeric result for 2 March. Compare YEAR, MONTH and DAY of the result back to the input. Keep invalid source dates out of the approved column and visible for review.

When would you choose DATEVALUE or Using Locale?

DATEVALUE helps with consistent text that Excel's regional interpretation understands. For a recurring source with declared conventions, Using Locale in Power Query or an explicit pattern lets you document the input interpretation. In both cases verify rows where day and month can be swapped and keep missing years or uncertain formats under review.

How do you prove the cleanup worked?

Compare counts and expected values by source ID, including known ambiguity and calendar-failure controls. Then check date subtraction, expected reporting period and scope of any holds. Color, alignment and date appearance are useful for communication. The accepted calendar parts and a reproducible calculation give the evidence.

8. Predict the cleaned date or its review status

06/10/2026 has no source format. What should the approved column show?

Keep the date on hold and flag Verify source. DMY gives 6 October, while MDY gives 10 June. Both valid calendar outcomes make guesswork hard to detect later.

DATE accepts a 30 February input in 2026. Which check exposes the problem?

Compare the returned calendar parts to the input, especially month and day. In this case it rolls into 2 March. An input-shape check and ISNUMBER can both pass while the actual source date remains impossible.

Two cells show 18 March. One includes 12:00. Are they equal?

The values in the practice example differ by 0.5 day, even though the date-only format hides the time. Derive an explicit date-only field when that is the intended reporting level. Keep the original timestamp for other uses.

A verified date is four years and a day off when read from another workbook's raw number. What do you inspect?

Check both date systems and whether the number was already converted by a transfer step. The 1900 and 1904 serials for the same date differ by 1462. Compare with a known source date before applying any adjustment.

How far apart are N01 and N03 in the first lab?

28 elapsed days. Both dates have the same year and month, and the 30th minus the 2nd yields 28. Counting both endpoints would be a separate measure. A date-like display on the difference cell can be changed to Number without altering that result.

9. Six reminders

  • The source decides order.

    A slash marks a boundary. It cannot tell whether the first number is a day or a month.

  • DATE returns a candidate.

    Read the year, month and day back and compare them to the requested parts.

  • Numbers need context.

    Check numeric type, date representation, range and the workbook's date system.

  • Formatting is presentation.

    Different displays can share an underlying serial. Identical displays can hide different times.

  • Keep unresolved rows.

    Write a reason beside the raw string when order, shape or calendar parts cannot be approved.

  • Prove the report.

    Reconcile counts, paired source records and date differences before publishing month groups.

Microsoft references