A CSV export can make a health app feel refreshingly transparent. Instead of a dashboard, there are rows you can sort, inspect and keep. The catch is that a spreadsheet can change a value while trying to make it easier to read. A date becomes a different date, an identifier loses its first zero, or an empty field becomes a number during cleanup.
The aim here is modest: preserve what the file actually says before calculating anything. This is a data-handling task, not a way to interpret a medical result. It applies equally to a sleep log, a movement diary or a table supplied by a laboratory.
Keep an untouched copy before opening the table
Save the downloaded file in a folder marked as the original export. Make a working copy with a different name. Add a short note recording the exporting service, export date, selected date range and any options you chose. If the app separately provides a description of its fields, save that too.
This matters because a CSV is a text container, not a complete description of the measurements. The RFC describing a common CSV format explains rows, separators and quoted fields. It does not give every column a universal meaning or tell a spreadsheet whether a string is a date, an identifier or a measurement.
Open the copy in a plain-text viewer first. Look at the header and a handful of records. A comma inside quotation marks may belong to one field; splitting every comma manually can break that record. Never overwrite the original merely to make the preview look tidy.
Import first as text, then assign types deliberately
Use an import preview when your spreadsheet offers one. Review the separator, encoding and column types before loading the data. Keeping uncertain columns as text is often a useful first step because it postpones decisions that would otherwise happen automatically.
For example, the string 03/04/2026 could mean March 4 or April 3. Neither interpretation can be recovered from the string alone. Microsoft’s Power Query documentation on data types and locale explains how regional settings affect conversion. The relevant setting belongs in your import notes, especially when the export and spreadsheet were created in different countries.
Resolve the format using the export documentation and unambiguous examples. A row containing 24/04/2026 supports a day-first format, but checking one row is still weaker than confirming the specification. Once confirmed, create a parsed-date column beside the original text. Keeping both makes a wrong conversion easier to spot.

Treat a timestamp as more than a clock reading
Suppose an export records an event at 00:30 with a UTC offset. Displaying that instant in another timezone may move it onto the previous calendar day. A daily chart can then change even though the event has not moved in time.
Preserve the full timestamp, including its offset when supplied. Give any derived date column a descriptive name such as “date in export timezone.” Do not silently mix local dates from one device with UTC dates from another. If the source contains no timezone, record that limitation instead of guessing from your current computer settings.
Daylight-saving changes create another reason to retain the raw values. A repeated local clock time may correspond to two different instants. A sequence number or explicit offset can help distinguish them; a date and hour alone may not.
Keep the number and its unit together
A column headed “value” is incomplete without its measurement name and unit. Make those fields visible in the working table, even when every current row uses the same unit. A later export may use a different setting.
| Raw field | Possible mistake | Preservation choice |
|---|---|---|
| 03/04/2026 | Wrong day and month | Retain text and document date order |
| 00127 | Identifier becomes 127 | Store the identifier as text |
| 72 with unit kg | Unit disappears during copying | Keep value and unit columns |
| Empty field | Missing entry becomes zero | Preserve missingness explicitly |
If conversion is necessary, create a new column and label the new unit. Retain the original value, conversion rule and rounding choice. A conversion should be reproducible; someone opening the file later should not have to infer what arithmetic happened.
Separate missing, zero and excluded observations
Zero is a value. Missing means the export does not provide a value. Excluded means a value exists but you chose not to include it in a particular calculation. These states should not collapse into one blank-looking cell.
A simple status column can distinguish “recorded,” “missing in export” and “excluded from this view.” Include a reason for exclusions. For example, two records may describe the same imported event. Keep both in the source copy and document which one the working view uses.
Avoid deleting surprising values just because they spoil a chart. A surprising row could reflect a device issue, a unit change, a legitimate observation or a parsing error. Review the surrounding fields before making any decision.
Give the working file a short change log
A useful change log can fit on a single worksheet: imported as text, converted the confirmed date column, retained missing values and created a separate unit-conversion column. Record the date of each change. If you later discover a problem, you can return to the step that introduced it rather than rebuilding the whole project.
When sharing a copy, remove information the recipient does not need and explain which columns were transformed. A clean-looking export can still contain names or identifiers in unexpected fields.
Check the import before calculating averages
Choose several records that are easy to recognize in the original application or export: the first, last, one near midnight and one with a missing field. Compare their timestamps, values and units with the imported table. Count the records and check whether header or footer text became a data row.
- Are the first and last dates plausible for the selected export period?
- Do identifier strings retain leading zeros?
- Did decimal commas or decimal points change the values?
- Are units visible alongside every measurement series?
- Can you explain every filtering or conversion step?
Save the working spreadsheet separately from the CSV. The spreadsheet can hold your notes, formulas and presentation; the original remains the reference. That small separation makes later corrections straightforward and prevents an attractive graph from concealing an avoidable import mistake.
