Userform to updated years for each cell

bmkelly

Board Regular
Joined
Mar 26, 2020
Messages
172
Office Version
  1. 365
Platform
  1. Windows
Hello,

I have an excel spreadsheet that shows multiple accounting years (Fiscal Year, Calendar Year and some Operating Years) that gets updated a few times a year and am wondering if the best/easiest way to update the years for each accounting year is to have a userform open and we select the type of accounting year we have (FY, CY or OY: Oct-Sep or OY: Apr-Mar) and then select the year we would like to update it to and then the macro would updates those cells

here is the spreadsheet I have, I just don't really know how to go about starting or even completing a userform like this:

Calendar.xlsx
ABCDEFGHIJKLMNO
1
2
3
4FISCAL YEAR FY22
53 MONTH ARREARS456789101112123
6QuarterFY22 Q1FY22 Q2FY22 Q3FY22 Q4
7Inventory Changes OccuringApr-21May-21Jun-21Jul-21Aug-21Sep-21Oct-21Nov-21Dec-21Jan-22Feb-22Mar-22
8Billing PeriodJul-21Aug-21Sep-21Oct-21Nov-21Dec-21Jan-22Feb-22Mar-22Apr-22May-22Jun-22
9789101112123456
10
11
12
13CALENDAR YEAR CY22
143 MONTH ARREARS101112123456789
15QuarterCY22 Q1CY22 Q2CY22 Q3CY22 Q4
16Inventory Changes OccuringOct-21Nov-21Dec-21Jan-22Feb-22Mar-22Apr-22May-22Jun-22Jul-22Aug-22Sep-22
17Billing PeriodJan-21Feb-21Mar-21Apr-21May-21Jun-21Jul-21Aug-21Sep-21Oct-21Nov-21Dec-21
18123456789101112
19
20
21
22OPERATING YEAR OY22 (OCT-SEP)
233 MONTH ARREARS789101112123456
24QuarterOY22 Q1OY22 Q2OY22 Q3OY22 Q4
25Inventory Changes OccuringJul-21Aug-21Sep-21Oct-21Nov-21Dec-21Jan-22Feb-22Mar-22Apr-22May-22Jun-22
26Billing PeriodOct-10Nov-21Dec-21Jan-22Feb-22Mar-22Apr-22May-22Jun-22Jul-22Aug-22Sep-22
27101112123456789
28
29
30
31OPERATING YEAR OY22 (APR-MAR)
323 MONTH ARREARS123456789101112
33QuarterOY22 Q1OY22 Q2OY22 Q3OY22 Q4
34Inventory Changes OccuringJan-22Feb-22Mar-22Apr-22May-22Jun-22Jul-22Aug-22Sep-22Oct-22Nov-22Dec-22
35Billing PeriodApr-21May-21Jun-21Jul-21Aug-21Sep-21Oct-21Nov-21Dec-21Jan-22Feb-22Mar-22
36456789101112123
37
38
39
Sheet1
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Hello,

I have an excel spreadsheet that shows multiple accounting years (Fiscal Year, Calendar Year and some Operating Years) that gets updated a few times a year and am wondering if the best/easiest way to update the years for each accounting year is to have a userform open and we select the type of accounting year we have (FY, CY or OY: Oct-Sep or OY: Apr-Mar) and then select the year we would like to update it to and then the macro would updates those cells

here is the spreadsheet I have, I just don't really know how to go about starting or even completing a userform like this:

Calendar.xlsx
ABCDEFGHIJKLMNO
1
2
3
4FISCAL YEAR FY22
53 MONTH ARREARS456789101112123
6QuarterFY22 Q1FY22 Q2FY22 Q3FY22 Q4
7Inventory Changes OccuringApr-21May-21Jun-21Jul-21Aug-21Sep-21Oct-21Nov-21Dec-21Jan-22Feb-22Mar-22
8Billing PeriodJul-21Aug-21Sep-21Oct-21Nov-21Dec-21Jan-22Feb-22Mar-22Apr-22May-22Jun-22
9789101112123456
10
11
12
13CALENDAR YEAR CY22
143 MONTH ARREARS101112123456789
15QuarterCY22 Q1CY22 Q2CY22 Q3CY22 Q4
16Inventory Changes OccuringOct-21Nov-21Dec-21Jan-22Feb-22Mar-22Apr-22May-22Jun-22Jul-22Aug-22Sep-22
17Billing PeriodJan-21Feb-21Mar-21Apr-21May-21Jun-21Jul-21Aug-21Sep-21Oct-21Nov-21Dec-21
18123456789101112
19
20
21
22OPERATING YEAR OY22 (OCT-SEP)
233 MONTH ARREARS789101112123456
24QuarterOY22 Q1OY22 Q2OY22 Q3OY22 Q4
25Inventory Changes OccuringJul-21Aug-21Sep-21Oct-21Nov-21Dec-21Jan-22Feb-22Mar-22Apr-22May-22Jun-22
26Billing PeriodOct-10Nov-21Dec-21Jan-22Feb-22Mar-22Apr-22May-22Jun-22Jul-22Aug-22Sep-22
27101112123456789
28
29
30
31OPERATING YEAR OY22 (APR-MAR)
323 MONTH ARREARS123456789101112
33QuarterOY22 Q1OY22 Q2OY22 Q3OY22 Q4
34Inventory Changes OccuringJan-22Feb-22Mar-22Apr-22May-22Jun-22Jul-22Aug-22Sep-22Oct-22Nov-22Dec-22
35Billing PeriodApr-21May-21Jun-21Jul-21Aug-21Sep-21Oct-21Nov-21Dec-21Jan-22Feb-22Mar-22
36456789101112123
37
38
39
Sheet1
I will need to update the billing Period Year as it doesn't line up exactly with the Inventory Change Occurring Row but that won't effect the larger picture of the UserForm Macro
 
Upvote 0

Forum statistics

Threads
1,224,812
Messages
6,181,083
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top