GreatOffender
Board Regular
- Joined
- Feb 2, 2015
- Messages
- 56
Yes I have searched and honestly could not find the answer I was looking for as most questions were more complex. I am running 4 vlookups in a macro using basic FormulaR1C1.
The columns being searched are A:S on Sheet1 and the vlookups are being done on Sheet2 with the value being searched in column A of Sheet2 (A2) it would look like:
=vlookup(A2,A100:S100,4,0)
Problem I have, besides the clunky R1C1 code, is my data will always be changing in size. One day it may be 1100 rows ans the next 1500. I have read several solutions that get me close but never the final answer. This macro is more of a template used over and over but never to be saved. Data goes in, macro is run and data is transferred to a final report. Macro is closed without saving.
Thank you,
The columns being searched are A:S on Sheet1 and the vlookups are being done on Sheet2 with the value being searched in column A of Sheet2 (A2) it would look like:
=vlookup(A2,A100:S100,4,0)
Problem I have, besides the clunky R1C1 code, is my data will always be changing in size. One day it may be 1100 rows ans the next 1500. I have read several solutions that get me close but never the final answer. This macro is more of a template used over and over but never to be saved. Data goes in, macro is run and data is transferred to a final report. Macro is closed without saving.
Thank you,