Extract numbers from text
“pull the number out of each description into its own column, and keep the other columns as they are”
Pull the number out of each description into its own column, and keep the other columns as they are in Excel export.
What the agent built
1 step, each one an ordinary Mammoth step you can open and change.
- FileExcel exportCSV export · 20 rows
- StepExtract the numberStep 1
- ResultDescription Number20 rows
- ScheduleRuns when you sayProposed
Checked on the sample files: every step ran, 20 rows came out.
- Download Excel export sample (20 rows)Excel: File > Save As > CSV (one worksheet with the data range)
What you get back
The result of that run, the rows to look at first.
| Row ID | Number | Owner | Description |
|---|---|---|---|
| r_001 | 12 | Maya Chen | Ordered 12 chairs for the lobby |
| r_002 | 45.50 | Noah Patel | Refund of 45.50 for damaged box |
| r_003 | 3 | Ava Brooks | Received 3 replacement cables |
| r_004 | 18 | Ethan Ward | Booked 18 seats for the training room |
| r_005 | 250 | Lina Gomez | Paid 250 for annual license |
| r_006 | 7 | Owen Li | Installed 7 new monitors |
| r_007 | 64 | Sofia Reed | Shipped 64 brochures to the event |
| r_008 | 9 | Caleb Stone | Requested 9 extra badges |
| r_009 | 120 | Nina Hall | Collected 120 from petty cash |
| r_010 | 15 | Jack Miller | Ordered 15 pens for the team |
| r_011 | 2 | Priya Shah | Processed 2 vendor credits |
| r_012 | 24 | Mason Clark | Reserved 24 parking spots |
How do you extract numbers from text in Excel?
Export your Excel file, then use a workflow step that pulls the number from each description into its own column. The other columns stay the same. You can then export the updated sheet with the new number column added.
How it works
How to use the Description Number workflow
- 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and checked on the sample files.
- 2Swap in your exportsUpload your own files as they come out of your tools. The agent checks the workflow on your rows.
- 3Change it in words, then turn it onSay what to change and see the new result before anything saves. Then choose when it runs.
Description Number: questions
Which Excel file should you export?
What happens to rows that do not contain a number?
How do you change the rule in words?
Get early access to this workflow
It will open already built and checked on the sample files. Swap in your own exports and see your result.
Workflows like this
Remove duplicate rows, catch invoices paid twice, match messy names to a master list, standardise spellings and turn wide tables long.
- Pivot table from raw dataTurn a raw sales export into a pivot table of revenue by region and month.See the workflow Built by the agent
- Remove duplicatesOne row of each, with a Copies column saying how many there wereSee the workflow Template
- Remove blank rowsRemove rows that are empty or only contain spaces from an Excel export, while keeping the rest of the sheet unchanged.See the workflow Built by the agent
- Match names to a master listEach record with its master name (and ID), and how it matchedSee the workflow Template
- Compare two listsCompare two exported spreadsheet lists by email, see matches, and label rows where name and email agree or differ.See the workflow Built by the agent
- Duplicate invoice checkPairs of bills that look paid twice: same supplier, same amount, close dates or the same numberSee the workflow Template