abdullahsikandar

Board Regular
Joined
Feb 10, 2014
Messages
52
Hi Guys,

I need to make an excel sheet, when that excel sheet will open, it will ask you for the calender, and once we select the calender it will automatically pops up the date and day on the top

like this:

Start of Excel:

Select Calender:
3/2/2015 - 3/8/2015

In columns:

3/2/20153/3/20153/3/20153/4/20153/5/20153/6/20153/7/2015
MondayTuesdayWednesdayThursdayFridaySaturdaySunday

<tbody>
</tbody>


I need some thing like this it will pop up automatically, let me know if you guys can help.

Thanks
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
I understand you question as under:
A1="Select Calendar"
A2=3/2/2015
B2=3/8/2015

In range A4:G4, please put the following formulas:
A4=A2 and A5=Text(A4,"dddd")
B4=EDATE(A4,1) and B5=Text(B4,"dddd")
C4=EDATE(B4,1) and C5=Text(C4,"dddd")
D4=EDATE(C4,1) and D5=Text(D5,"dddd")
E4=EDATE(D4,1) and E5=Text(E5,"dddd")
F4=EDATE(E4,1) and F5=Text(F4,"dddd")
G4=EDATE(F4,1) and G5=Text(G4,"dddd")

You can put condition like this:
G4=IF(EDATE(F4,1)>B2,"",EDATE(F4,1)

Regards
 
Last edited:
Upvote 0
I understand you question as under:
A1="Select Calendar"
A2=3/2/2015
B2=3/8/2015

In range A4:G4, please put the following formulas:
A4=A2 and A5=Text(A4,"dddd")
B4=EDATE(A4,1) and B5=Text(B4,"dddd")
C4=EDATE(B4,1) and C5=Text(C4,"dddd")
D4=EDATE(C4,1) and D5=Text(D5,"dddd")
E4=EDATE(D4,1) and E5=Text(E5,"dddd")
F4=EDATE(E4,1) and F5=Text(F4,"dddd")
G4=EDATE(F4,1) and G5=Text(G4,"dddd")

You can put condition like this:
G4=IF(EDATE(F4,1)>B2,"",EDATE(F4,1)

Regards


Actually, i need it in a way automatically.. like when the file will open it will ask us to select the week and it will automatically pop up the columns.
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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