hip2b2
Board Regular
- Joined
- May 5, 2003
- Messages
- 135
- Office Version
- 2019
- Platform
- Windows
I'm way out of my depth and and not even sure if a macro like this is reasonable (I'm sure it's possible, it just may be more effort than it's worth).
I have a series of days in column "A" (starting in row 3), 1, 4, 7, 3, 5, 22, 4, 8, 30, etc. The numbers are the day of the month.
In Column "J" (starting in row 3) is a list that looks like this - though much longer:
JANUARY
Margaret
Liam
Sam
Martin
FEBRUARY
Yuka
Paul
MARCH
Stephen
Tamara
etc.
Everyone listed under JANUARY is a Jan date, and everyone listed under FEBRUARY is a Feb date and so-forth;
Margaret is Jan 1
Liam is Jan 4
Sam is Jan 7
etc.
Yuka is Feb 3
Paul is Feb 5
etc.
Cell B1 contains the year.
What I would like is a Macro that cycles through the list and fills Column "B" (starting at Row 3) with the concatenated dates, so that:
Margaret is Jan 1 2018
Liam is Jan 4 2018
etc.
I will never run the macro where some of the dates are in one year and some are in another, so the year in call "B1" is valid for all the names in a run.
I think that covers it.
Interested in what can be done with this hodgepodge of stuff, and as always thanks for even looking.
hip
I have a series of days in column "A" (starting in row 3), 1, 4, 7, 3, 5, 22, 4, 8, 30, etc. The numbers are the day of the month.
In Column "J" (starting in row 3) is a list that looks like this - though much longer:
JANUARY
Margaret
Liam
Sam
Martin
FEBRUARY
Yuka
Paul
MARCH
Stephen
Tamara
etc.
Everyone listed under JANUARY is a Jan date, and everyone listed under FEBRUARY is a Feb date and so-forth;
Margaret is Jan 1
Liam is Jan 4
Sam is Jan 7
etc.
Yuka is Feb 3
Paul is Feb 5
etc.
Cell B1 contains the year.
What I would like is a Macro that cycles through the list and fills Column "B" (starting at Row 3) with the concatenated dates, so that:
Margaret is Jan 1 2018
Liam is Jan 4 2018
etc.
I will never run the macro where some of the dates are in one year and some are in another, so the year in call "B1" is valid for all the names in a run.
I think that covers it.
Interested in what can be done with this hodgepodge of stuff, and as always thanks for even looking.
hip