Try the example, then check the result.
Quick answer: Open the exact file in OneDrive, choose Version history, inspect the older version's contents, then use Restore only after confirming it is the version you want. In the practice example, the current total must return from $480 to $420.
Download the fictional material and work through the exact steps below. App screens in the video are English illustrative diagrams, not a recording of the product interface. Controls can vary by version.
Use the answer check before applying the method to your own data. How we review guides ↗
Watch the complete lesson.
English illustrative diagrams · English captions. Product menus may differ in your account.
Result: the fictional weekly order report returns to its approved $420 state after an accidental edit made its displayed total $480. The earlier version becomes current, and the previously current version remains in history, as Microsoft explains.
Download the approved report, accidental edit, and answer check. These are fictional text fixtures, not a ready-made OneDrive history. Any UI diagrams accompanying this guide are illustrative reconstructions, not a recording of OneDrive.
The example
| Order | Approved | Accidental edit |
|---|---|---|
| S-301 | $100 | $100 |
| S-302 | $90 | $150 |
| S-303 | $120 | $120 |
| S-304 | $110 | $110 |
| Total | $420 | $480 |
Swipe or scroll sideways to see every table column →
Only S-302 changed. The error is a $60 increase, so a correct restore should bring both its amount and the total back down.
Before you restore
- You need a file already stored in OneDrive with an earlier version in its history. A local file that was never saved to OneDrive has no OneDrive Version History.
- Confirm the account, filename, folder, and version you intend to use. For a real document, keep a copy of the present contents before restoring if later edits may be valuable.
- Work or school administrators may disable versioning. If no earlier version is listed, stop rather than guessing which file to restore.
Optional practice setup
Use a disposable folder on the OneDrive website; the sync app is not required. Download and extract the web upload practice pair. It contains an approved folder and an accidental folder, each with a file named weekly-report-practice.txt. Keep those two local folders separate until upload.
- Upload the approved practice file into the disposable OneDrive folder.
- Upload the accidental practice file into that same OneDrive folder. If OneDrive asks about the existing name, choose Replace, not Keep both. Microsoft documents the conflict choices.
- Before trying Restore, open Version History and confirm it contains both an earlier $420 state and a current $480 state. Uploading with Replace can depend on the account's versioning settings; if the earlier state is absent, stop and use an already versioned disposable file. Do not use a production report for this exercise.
Check that the disposable OneDrive folder contains one weekly-report-practice.txt file. If it contains two similarly named files, the second upload was kept as a separate file; that is not the history this exercise needs. Start again with a fresh disposable folder and choose Replace.
The comparison downloads above have distinct filenames for clarity. Uploading those two distinct names creates two files, not two versions. Use the matching-name files for the web upload exercise. This exact account sequence has not yet been tested in the user's OneDrive, so verify the visible version list before relying on it.
Restore the correct earlier version
- Sign in at onedrive.com with the account that owns the file. Locate the exact file. Right-click it and select Version history. Microsoft documents this web path. If you use the OneDrive sync app on Windows, File Explorer can also expose Version history; this guide follows the website.
- Inspect the listed versions. Look for the earlier state that matches the approved report:
S-302 = $90and Total = $420. A timestamp is a clue, but should not replace checking contents where preview or download is available. If you cannot confirm the intended version, pause before restoring. - Open the three-dot menu beside the confirmed earlier version, then choose Restore. Microsoft says the selected version becomes current and the formerly current one moves into the history. Restoring an older version changes which contents are current; review any intervening edits before doing this to a real file.
- Open the current file and check
S-302 = $90. Add the four amounts: 100 + 90 + 120 + 110 = $420. Reopen Version History and confirm that the former $480 state remains listed as an older version.
| Checkpoint | Expected state | If it differs |
|---|---|---|
| Before Restore: folder | One practice file | Two files means the upload did not replace the first. |
| Before Restore: history | Earlier $420 contents and current $480 contents | Stop if the earlier version is missing or cannot be identified. |
| After Restore: current file | S-302 = $90; total $420 | Recheck which version was selected before changing anything else. |
| After Restore: history | Former $480 copy appears as an older version | Confirm the restore completed in the intended account and folder. |
Swipe or scroll sideways to see every table column →
Match the symptom before restoring
- You see two similarly named practice files: the second upload may have used Keep both. The two downloads alone are not a version history. Restart in a disposable folder and use the matching-name files with Replace.
- Version history has no $420 copy: verify the account, folder, filename, and versioning settings. Stop if you cannot identify an earlier approved version; do not restore by timestamp alone.
- The file itself is missing: Version History is for a file that still exists. Check OneDrive deleted-file recovery instead.
- The current file still totals $480 after Restore: reopen the file and Version History, then inspect which version became current. Do not repeat Restore without identifying the correct contents.
FAQ
Does Version History work only for Word or Excel files? Microsoft says it supports many file types, including Microsoft 365 files, PDFs, photos, and more. The ability to preview or edit a particular type can differ; confirm the contents by a suitable method before restoring.
What happens to the accidental $480 version? Microsoft says the previously current version becomes an older version in the list when you restore another version. It should no longer be the current file.
Can I recover several files at once using this step? The documented web action restores one file at a time. A broader OneDrive restore is a separate feature and may have different account requirements.
Official references
Practice downloads.
The exercise files contain invented information. Save a local copy before editing.