How to calculate the next quarter excluding weekends and holidays

Madagaluna

New Member
Joined
Mar 30, 2011
Messages
3
Hi,

This is my second day on the board and my first post. I'm relatively new to ACCESS. I am building a database for work which will take an entered date from a table ( [ss_WIRB_IRB_2_Approval]![Date2Approved] ) and calculate the next quarter based on the current date. The next quarter cannot fall on a weekend or holiday. I'm primarily using the wizard, although I know a little SQL.

Any help would be greatly appreciated.

Thanks!
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

HiTechCoach

Well-known Member
Joined
Aug 29, 2010
Messages
1,008
The only way I know to handle this is with VBA code. Would you like to see a VBA solution?
 

HiTechCoach

Well-known Member
Joined
Aug 29, 2010
Messages
1,008
Great. I know we can do it with VBA.

When writing code you have to be very specific in what you want t6he computer to do. It will only do exactly what you tell it.

I need to you clear up what you mean by this:
will take an entered date from a table ( [ss_WIRB_IRB_2_Approval]![Date2Approved] ) and calculate the next quarter based on the current date.

How you do calculate the next date?

What do you mean by next quarter?
- if today is 3/25/2010, then the first day of the next quarter would be 4/1/2011

- Is that adding 3 months? (3/25/2010 + 3 months is 6/25/2011)

- Is that adding 90 days? (3/25/2011 + 90 days is 6/23/2011)
 

HiTechCoach

Well-known Member
Joined
Aug 29, 2010
Messages
1,008

ADVERTISEMENT

Also, when the date falls on a weekend or holiday how do you want to adjust the date? Forward or Backwards?
 

Madagaluna

New Member
Joined
Mar 30, 2011
Messages
3
by next quarter I mean 3 months
Push the date forward

Thanks so much for your help.
 
Master Excel Bundle

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.

Forum statistics

Threads
1,164,682
Messages
5,838,784
Members
430,568
Latest member
bortey

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
Top