How To Separate Numbers and Letters in Excel Using the Flash Fill Feature

# How to Use Flash Fill in Excel to Separate Numbers from Letters: A Step-by-Step Guide

Welcome to our short course on using Flash Fill in Excel to separate numbers from letters and other data types within columns. If you're reading this, chances are you've come across a situation where your data is mixed—like the example provided: "gh4 n CDU 7869"—and you want to isolate specific parts of that data, such as extracting only the numbers or only the letters.

In a recent video, we demonstrated a formula-based approach to achieve this task, but it turns out there's an even simpler and more user-friendly method available in Excel: **Flash Fill**. Flash Fill has been around since Excel 2013 and is available in all subsequent versions, including the latest ones like Excel 2016 and beyond.

In this article, we'll walk you through how to use Flash Fill to separate numbers from letters (or any other data types) with ease.

---

## What Is Flash Fill?

Flash Fill is a powerful yet simple tool in Excel that allows you to extract or transform data within cells based on patterns it detects. It's particularly useful when dealing with mixed data—like the example "gh4 n CDU 7869"—where you want to separate numbers, letters, dates, or other types of information into different columns.

The key thing to remember about Flash Fill is that it relies on **patterns** to work effectively. If your data follows a consistent format, Flash Fill can quickly learn the pattern and apply it across your entire dataset.

---

## How to Use Flash Fill to Separate Numbers from Letters

Let's break down the process step by step using the example provided: "gh4 n CDU 7869." Our goal is to extract only the numbers ("4, 7, 8, 6, 9") into a new column.

### Step 1: Set Up Your Data

First, ensure your data is organized in a single column. For example:

| Original Data |

|---------------|

| gh4 n CDU 7869 |

| SDF 88889 |

| t2 FF |

### Step 2: Create an Adjacent Column for Flash Fill

Flash Fill requires you to manually enter the first few cells of the pattern you want. To do this, create a new column immediately next to your original data.

1. Click on the header of the new column (e.g., "B").

2. Type the desired output in the first cell. For our example:

- In cell B1, type `4` to indicate we want only the numbers.

### Step 3: Manually Enter Additional Data Points

Flash Fill works best when it has a few examples to learn from. Continue filling out the new column manually for the next few rows.

- In cell B2, type `8`.

- In cell B3, type `F` (garbage data, as shown in the transcription).

### Step 4: Use Flash Fill to Automate the Rest

Once you've entered your manual examples, it's time to let Flash Fill take over.

1. Select all the cells in your new column (from cell B1 to B3).

2. Go to the **Home** tab on the Excel ribbon.

3. Click on **Flash Fill** (located in the "Editing" section).

Excel will analyze the pattern you've created and apply it to the rest of the dataset. In our example, Flash Fill should correctly extract all the numbers from each cell in column A into column B.

---

## Troubleshooting Tips

If Flash Fill doesn't work as expected, there are a few things you can try:

1. **Double-Check Your Pattern**: Ensure your manually entered data clearly reflects the pattern you want Flash Fill to replicate.

2. **Force Flash Fill to Analyze**: If Flash Fill isn't picking up the pattern automatically, select the range of cells you want it to apply and click on **Flash Fill** again (still in the Home tab).

---

## Conclusion

Using Flash Fill is a quick and efficient way to separate numbers from letters or transform data in Excel. It's especially helpful for users who find formula-based methods too complex.

If you have any questions about using Flash Fill or need further assistance, feel free to reach out to us at [dumpit@tecton.ca](mailto:dumpit@tecton.ca). Thank you for watching and reading!

"WEBVTTKind: captionsLanguage: engood day and welcome to our short course on the use of flash fill to separate numbers from letters and pretty much anything else from columns of data in Excel we recently received an email from Brian a who said I watched your video on how to separate numbers and letters in Excel and in that video by the way we wrote a complex formula that the data and tried to separate it out but there's another way to do which is with flash fill here so anyway I watched your video but was unable to use the formula what formula can I use to separate something like gh4 n CDU seven eight six nine in Excel to have only the numbers well that's an interesting question and using flash fill which is a feature that's available from Excel 2013 and 2016 and presumably all future versions it's easy to do so here's a poly carbonate of God and you can see I've got numbers and letters mixed in here but the pattern is because a set of number letters that are set of numbers than a set of letters and really could be any pattern at all as long as there's some pattern and that's a flash field work so here's what happens so what you have to do is go to the next comb over has to be the column immediately adjacent and you type in you break you actually established upon yourself so manually so for the first couple of I'm just gonna type it in so that's a SDF under the tab over and go eight eight eight eight nine and tab over I could use mouse by the way tab there's nothing magical and tab here then I'm gonna go down to this one and type in a a the next column I'm typing t2 and I'm gonna type in FF which is just some garbage data now often flash fill will just pick up a pattern and start working but if it doesn't you could force it to say hey have a look so on the Home tab up here you can go to fill and down to flash fill and look at that pretty cool huh I feel a fill I put a flash fill and it figures of the rest and I go to film and I go to flash fill and it will figure out the rest that's it if you have any questions please get ahold of us at dump it you are Tecton CA thank yougood day and welcome to our short course on the use of flash fill to separate numbers from letters and pretty much anything else from columns of data in Excel we recently received an email from Brian a who said I watched your video on how to separate numbers and letters in Excel and in that video by the way we wrote a complex formula that the data and tried to separate it out but there's another way to do which is with flash fill here so anyway I watched your video but was unable to use the formula what formula can I use to separate something like gh4 n CDU seven eight six nine in Excel to have only the numbers well that's an interesting question and using flash fill which is a feature that's available from Excel 2013 and 2016 and presumably all future versions it's easy to do so here's a poly carbonate of God and you can see I've got numbers and letters mixed in here but the pattern is because a set of number letters that are set of numbers than a set of letters and really could be any pattern at all as long as there's some pattern and that's a flash field work so here's what happens so what you have to do is go to the next comb over has to be the column immediately adjacent and you type in you break you actually established upon yourself so manually so for the first couple of I'm just gonna type it in so that's a SDF under the tab over and go eight eight eight eight nine and tab over I could use mouse by the way tab there's nothing magical and tab here then I'm gonna go down to this one and type in a a the next column I'm typing t2 and I'm gonna type in FF which is just some garbage data now often flash fill will just pick up a pattern and start working but if it doesn't you could force it to say hey have a look so on the Home tab up here you can go to fill and down to flash fill and look at that pretty cool huh I feel a fill I put a flash fill and it figures of the rest and I go to film and I go to flash fill and it will figure out the rest that's it if you have any questions please get ahold of us at dump it you are Tecton CA thank you\n"