Sheetsdrill

Level 5: Text and dates Exercise 45 of 50 Pro

Pull out the invoice number

A Google Sheets formula exercise from Sheetsdrill. Solve it with a formula bar on a live sheet in your browser, and it is checked the moment you submit.

The task

Extract the invoice number from each payment note as a real number, so it can be sorted and matched. Fill B2 and B3 using REGEXEXTRACT.

What this exercise teaches

Text that looks like a number does not sort or match like one. VALUE converts it.

A hint if you get stuck

"\d+" matches a run of digits. REGEXEXTRACT always returns text, so wrap it in VALUE.

Functions used: REGEXEXTRACT, VALUE

This exercise is part of Pro

Pro unlocks all 50 exercises, with worked solutions and progress saved to your account. The free exercises work without an account.

You create a free account first, so Pro is attached to it.

Monthly is charged today and then every month until you cancel, in one click from your account page. Lifetime is one payment with no renewals. Full refund within 14 days of paying.

Start with the free exercises

More exercises in Text and dates