Copying information from earlier entries

Zaqee

New Member
Joined
Apr 30, 2018
Messages
2
ABCD
1SAM$15000.3%SMALL
2TERRY$4001.3%MEDIUM
3JONES$13004.5%SMALL
4ERIK$2002.2%MICRO
5SAM

<tbody>
</tbody>


I'm trying to make a formula that would copy information from earlier entries if they exists.

So in this case, as soon as I've typed in SAM in A5, cell B1 would be copied to B5 (and so on).

I assume this could be done by LOOKUP function but I haven't been able to make it work.

Thanks,
Zack
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Try this:

Column B:

=VLOOKUP(A5, $A$1:D4, 2, 0)

Column C:

=VLOOKUP(A5, $A$1:D4, 3, 0)

Column D:

=VLOOKUP(A5, $A$1:D4, 4, 0)

If the entry has appeared previously, the data will auto populate.
 
Last edited:
Upvote 0
Try this:

Column B:

=VLOOKUP(A5, $A$1:D4, 2, 0)

Column C:

=VLOOKUP(A5, $A$1:D4, 3, 0)

Column D:

=VLOOKUP(A5, $A$1:D4, 4, 0)

If the entry has appeared previously, the data will auto populate.

This returns an error, I think it's because VLOOKUP can't look to it's left.

Thank anyway.
T
 
Upvote 0
It should work for Sam but return N/A when duplicating down the column if the name has not appeared previously which means you would need to populate.

If you want to get rid of this you could wrap an =ifna(formula, " ") around it.

For example:

=IFNA(VLOOKUP(A5, $A$1:D4, 2, 0), " ")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,642
Messages
6,120,698
Members
448,979
Latest member
DET4492

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

Which adblocker are you using?

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
Back
Top