cpisthedbb
New Member
- Joined
- Apr 10, 2018
- Messages
- 30
Hi,
I'm fairly new to macros and am struggling writing one despite spending hours searching google for the answers. I'm hoping someone here could help.
Most of my spreasheet is already populated but a couple of cells I have to enter my own data into.
The following vlookup formula fills in the missing data I need:
=IFERROR(VLOOKUP(C2,'U:\[Monthly Reporting.xlsm]Monthly Score Tracker'!$A$2:$I$1000,2,FALSE),0)
As its only required for a few cells I want to only put this in the missing ones and don't want to fill the formula all the way down my spreadsheet.
What I'm after is the macro is needed for this to fill the blank cell when I run the macro.
It will always be the cell to the right of it as well.
For example if cell D5 is missing I would need to run the following vlookup:
=IFERROR(VLOOKUP(C5,'U:\[Monthly Reporting.xlsm]Monthly Score Tracker'!$A$2:$I$1000,2,FALSE),0)
Is is possible for anyone to help with this? It's probably really simple when you know how!
I'm fairly new to macros and am struggling writing one despite spending hours searching google for the answers. I'm hoping someone here could help.
Most of my spreasheet is already populated but a couple of cells I have to enter my own data into.
The following vlookup formula fills in the missing data I need:
=IFERROR(VLOOKUP(C2,'U:\[Monthly Reporting.xlsm]Monthly Score Tracker'!$A$2:$I$1000,2,FALSE),0)
As its only required for a few cells I want to only put this in the missing ones and don't want to fill the formula all the way down my spreadsheet.
What I'm after is the macro is needed for this to fill the blank cell when I run the macro.
It will always be the cell to the right of it as well.
For example if cell D5 is missing I would need to run the following vlookup:
=IFERROR(VLOOKUP(C5,'U:\[Monthly Reporting.xlsm]Monthly Score Tracker'!$A$2:$I$1000,2,FALSE),0)
Is is possible for anyone to help with this? It's probably really simple when you know how!