# How to Auto Populate Entire Row With Previous Values Already Entered by Entering Name on First Column?

#### Kevincolby650

##### New Member
Hello, I do alot of repetitive work and looking for away to auto fill a row with the last entries I entered based off of a name in the Second column. Every day I need to enter in the same values, but sometimes one value changes and stays for awhile. So I would like to populate from the last values I entered. I have tried the following formula, but when the workbook gets big it is very slow to process each value i enter, and sometimes very slow to respond.

=IFERROR(INDIRECT(ADDRESS( SUMPRODUCT(MAX(--(\$B4=\$B\$3:\$B3)*(ROW(\$3:3)))),COLUMN())),"")

If anyone knows a better way to do this or a formula that would work better I would greatly appreciate it.
Here is a pic of what im looking for.

### Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

#### Fluff

##### MrExcel MVP, Moderator
Hi & welcome to MrExcel.
How about
+Fluff New.xlsm
ABCDEFG
1
2
3Kevin11111
4Kevin21111
5John12222
6Kevin21111
7
8
9
10
Main
Cell Formulas
RangeFormula
C6:G9C6=IF(\$B6="","",LOOKUP(2,1/(\$B\$3:\$B5=\$B6),C\$3:C5))

#### Kevincolby650

##### New Member
I tried this out in a sample book and it seems so much faster and does what I wanted. I spent a few days trying to figure that out. Thank you SO MUCH!

#### Fluff

##### MrExcel MVP, Moderator
You're welcome & thanks for the feedback.

Replies
11
Views
197
Replies
4
Views
414
Replies
3
Views
192
Replies
7
Views
88
Replies
1
Views
207

Threads
1,130,095
Messages
5,640,081
Members
417,126
Latest member
Jeffman52

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

### Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

### Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back