# Absolute Calendar Formulae

#### Juggler_IN

##### Active Member
I want to put together a Spreadsheet for Absolute Calendar. An Absolute Calendar week counts weeks starting from January 1st, no matter what day of the week it is. In other words, January 1st through 7th is always week one. If January 1st is a Wednesday, than each week of the year will be Wednesday through Tuesday and tallied accordingly.

The array formula below (across B2:H7) gives me the January month where A1 is 1st Jan-2020.
VBA Code:
``Cell B1={0;7;14;21;28;35}+{1,2,3,4,5,6,7}+(A1-1)``

The output is:
 WED THU FRI SAT SUN MON TUE 01-Jan-20​ 02-Jan-20​ 03-Jan-20​ 04-Jan-20​ 05-Jan-20​ 06-Jan-20​ 07-Jan-20​ 08-Jan-20​ 09-Jan-20​ 10-Jan-20​ 11-Jan-20​ 12-Jan-20​ 13-Jan-20​ 14-Jan-20​ 15-Jan-20​ 16-Jan-20​ 17-Jan-20​ 18-Jan-20​ 19-Jan-20​ 20-Jan-20​ 21-Jan-20​ 22-Jan-20​ 23-Jan-20​ 24-Jan-20​ 25-Jan-20​ 26-Jan-20​ 27-Jan-20​ 28-Jan-20​ 29-Jan-20​ 30-Jan-20​ 31-Jan-20​ ​ ​ ​ ​

Now 31st Jan is is a Friday. So, Feb 1st should be below Sat for Wed through Tue week. How do I get the month of Feb and subsequent months with a Week from Wed through Tue?

### Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

#### jasonb75

##### Well-known Member
Is this what you need?
Cell Formulas
RangeFormula
B1:H1B1=TEXT(EOMONTH(\$A\$1,-MONTH(\$A\$1))+COLUMNS(\$B1:B1),"DDD")
B2:H2B2=IF(COLUMNS(\$B2:B2)>=WEEKDAY(\$A\$1,13),\$A\$1+COLUMNS(\$B2:B2)-WEEKDAY(\$A\$1,13),"")
B3:H7B3=IF((MAX(\$B2:\$H2)+COLUMNS(\$B3:B3))>EOMONTH(\$A\$1,0),"",MAX(\$B2:\$H2)+COLUMNS(\$B3:B3))

#### Juggler_IN

##### Active Member
@jasonb75 ; the formulae work just fine ... thanks!

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,678
Messages
5,838,736
Members
430,566
Latest member
ChanchalSingh

### 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.

### Which adblocker are you using?

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

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