We often need to copy and paste our data into Excel but it can get irritating when you are dealing with a large database. In this situation, Excel auto-fill features are the best solution to save time and work efficiently. You can do many things using this feature that you were probably doing manually. Today in this article we will discuss some of the methods to autofill the cell based on another cell in Excel.
How to AutoFill Cell Based on Another Cell in Excel: 5 Easy Methods
In this section, we will show you five of the most effective ways to auto-fill cells based on another cell. To demonstrate the approaches, we will consider the employee data of a company.
All the operations of this article are accomplished by using the Microsoft Office 365 application.
1. Autofill to End-of-Data
In this method, we are going to autofill the cell using the Fill Handle icon. We have a set of names in the “Name” column. We need to put their “ID” serially. The steps of this approach are given as follows:
- First of all, select cell C5.
- Now, write down the first ID in that cell. Here, we write down 1.
- Then, double-click the Fill Handle icon to fill in all the relevant cells.
- You may notice that it is showing the same number in all cells.
- After that, click on the Auto Fill Options icon and choose the Fill Series option.
- You will notice Excel will autofill the cell automatically.
Thus, we can say that our procedure works perfectly, and we are able to autofill the cell based on another cell through the Fill Handle tool in Excel.
Read more: How to Apply AutoFill Shortcut in Excel
2. Using CONCATENATE Function
In this approach, we will use the CONCATENATE function to autofill the cell. We have an employee name dataset in separate columns, and we are going to fill the cell of column D.
The steps of this process are given below:
- At first, select cell D5.
- After that, write down the following formula in the cell.
- Press Enter.
- Now, double-click on the Fill Handle icon to copy the formula up to cell D18.
- You will figure out that the formula will autofill the cells of column D.
Hence, we can say that our formula works effectively, and we are able to autofill the cell.
- How to Repeat Formula Pattern in Excel
- How to AutoFill from List in Excel
- How to Create a Custom AutoFill List in Excel
- How to Fill Down Blanks in Excel
- How to AutoFill Sequential Letters in Excel
- How to Auto Number Cells in Excel
- How to Autofill a Column in Excel
- How to Fill Column in Excel with Same Value
- How to Fill Down to Last Row with Data in Excel
- How to AutoFill Formula When Inserting Rows in Excel
- Filling a Certain Number of Rows in Excel Automatically
3. AutoFill the Blank Cells Based on Another Cell
In this process, we are going to fill cells with the help of blank cells. For that, we have given the “Name” and “Subject” of some students. Most of them are from the “Science Faculty” and are given “YES”. Those who are not from the “Science Faculty” are given blank cells. We are going to auto-fill those cells with appropriate words.
The procedure of this process is given below step-by-step:
- First, select the range of cells B5:D19.
- Now, in the Home tab, click on the drop-down arrow of the Find & Select > Go To Special option from the Editing group.
- As a result, a small dialog box called Go To Special will appear.
- Then, select the Blanks option and click OK.
- You will see all the blank cells will show selected.
- After that, write down the appropriate word. We write down Not Applicable.
- Finally, press ‘Ctrl+Enter’.
- You will notice all the blank cells will fill with our desired text.
Therefore, we can say that our method works precisely, and we are able to autofill the cell based on another cell.
Read more: How to AutoFill Numbers in Excel
4. Utilizing IF function
In the following case, we will use the IF function to autofill our cell based on another cell. We have a dataset with the “Name” of some students, their “Subject”, “Faculty”, and “Availability” of these subjects. The formula will show us the result of either YES or N/A in the Availability column.
The steps of this procedure are given below:
- Firstly, select cell E5.
- Afterward, write down the following formula in the cell.
- Then, press Enter.
- Next, double-click on the Fill Handle icon to copy the formula up to cell D19.
- You will find that the formula will autofill the Availability column with our desired result.
At last, we can say that our formula works fruitfully, and we are able to autofill the cell based on another cell using our formula.
- How to Autofill Numbers in Excel without Dragging
- How to AutoFill Ascending Numbers in Excel
- How to AutoFill Numbers in Excel with Filter
- How to Auto Number or Renumber after Filter in Excel
- How to Auto Generate Number Sequence in Excel
- How to Add Sequence Number by Group in Excel
- How to Repeat Number Pattern in Excel
- Excel Formulas to Fill Down Sequence Numbers Skip Hidden Rows
5. Applying VLOOKUP function
In the last method, the VLOOKUP function will help us to autofill our cell based on another cell. We have a dataset with a scattered format. We are going to sort this and fill the cell of column F based on column E.
The steps of this approach are shown as follows:
- In the beginning, select cell F5.
- Next, write down the following formula in the cell. Make sure that you add the Absolute Cell Reference for the range of cells B5:C19.
- Press Enter.
- Now, double-click on the Fill Handle icon to copy the formula up to cell F19.
- You will get your desired result.
Finally, we can say that our formula works successfully, and we are able to autofill the cell based on another cell by the VLOOKUP function.
Read more: How to Autofill Dates in Excel
Things to Remember
➤ In auto-fill to end-of-data, first, fill up 2 or 3 numbers manually to auto-fill in series. If you insert only one data, Excel then won’t understand the series.
➤When you select your “Table_Array” you have to use the absolute cell references ($) to block the array.
Download Practice Workbook
Download this practice workbook for practice while you are reading this article.
That’s the end of this article. I hope that this article will be helpful for you and you will be able to autofill a cell based on another cell in Excel. Please share any further queries or recommendations with us in the comments section below if you have any further questions or recommendations.
Keep learning new methods and keep growing!
- How to Enter Sequential Dates Across Multiple Sheets in Excel
- How to Autofill Dates in Excel Without Dragging
- How to Autofill Days of Week Based on Date in Excel
- How to AutoFill Months in Excel
- How to Create Automatic Rolling Months in Excel
- How to Increment Month by 1 in Excel
- How to Auto Populate from Another Worksheet in Excel
- How to Perform Predictive Autofill in Excel
- Applications of Excel Fill Series
- [Fix] Excel Fill Series Not Working
- Fix: Excel Autofill Not Working
- How to Turn Off AutoFill in Excel
- [Fixed!] Auto Fill Options Not Showing in Excel
- [Solved:] Excel Double Click AutoFill Not Working
- Excel VBA: Autofill Method of Range Class Failed
- How to Use VBA AutoFill in Excel
- AutoFill Formula to Last Row with Excel VBA
- AutoFill Not Incrementing in Excel?
- [Fixed!] AutoFill Formula is Not Working in Excel Table