Need help with data autofill when there's previous data above

Copper Contributor

How do you lookup then copy and paste data when there's previous data from the above cell. My file is being updated daily so there's new data. I need to make a VBA that looks up the new data then copy and paste it as values. 

 

1. I need to look up the last entry on Column C on Sheet1 then enter the data on Column B (IFERROR(INDEX(Sheet2!B:B,MATCH(Sheet1!B:B,Sheet2!A:A,0)),"") on Sheet2 

2. Autofill data until the last row

3. Copy and paste as values

4. Run again once there's new data on 

 

I don't know what code to use on the autofill part. 

 

JohnCY_0-1630143137555.png

 

1 Reply