VB code to go to the end of the column:
In a Sheet called “Student data”, I have a column called “DOB” which is populated with a variable range of dates of birth of students. I’m unable to predict the number of populated cells in this column as the number of students in the capture will vary.
VB code to extract and paste extraction:
I need to extract just the month number of each date of birth held in the column “DOB”
=MONTH(DOB)
and paste these numbers into a column called “MONTH_No” on a new sheet called “Analysis”
VB code to automate a function down a column until blank value reached:
Once the MONTH column on the “Analysis” sheet is correctly populated I need to automate a function in the next column called "TOB" (term of birth) to interpret each Month number and trigger seasons such as Autumn, Spring or Summer.
Where MONTH column on Analysis sheet is (A2)
=IF(MONTH(A2)<=3,"Spring",IF(MONTH(A2)<=8,"Summer","Autumn"))
In VB how do I make the formula automatically travel down the MONTH column for each cell which holds a value, so as to return a season in the TOB column?
Any help would be much appreciated. Thanks in anticipation.
In a Sheet called “Student data”, I have a column called “DOB” which is populated with a variable range of dates of birth of students. I’m unable to predict the number of populated cells in this column as the number of students in the capture will vary.
VB code to extract and paste extraction:
I need to extract just the month number of each date of birth held in the column “DOB”
=MONTH(DOB)
and paste these numbers into a column called “MONTH_No” on a new sheet called “Analysis”
VB code to automate a function down a column until blank value reached:
Once the MONTH column on the “Analysis” sheet is correctly populated I need to automate a function in the next column called "TOB" (term of birth) to interpret each Month number and trigger seasons such as Autumn, Spring or Summer.
Where MONTH column on Analysis sheet is (A2)
=IF(MONTH(A2)<=3,"Spring",IF(MONTH(A2)<=8,"Summer","Autumn"))
In VB how do I make the formula automatically travel down the MONTH column for each cell which holds a value, so as to return a season in the TOB column?
Any help would be much appreciated. Thanks in anticipation.