Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

STL - Formerly Best Training Solutions Through Learning
TrustPilot
Excellent
Request Callback We will call you back
0207 987 3777 Call for assistance
Your Basket Basket is empty
listing dates

ResolvedVersion 2007

Kristine has attended:
Excel VBA Intro Intermediate course

Listing of dates

Hi, I am having problems with making a list with dates. I want it to always start from todays date and be in the format YYYYMMDD e.g 20101201 then 20101202, 20101203 down in one column, when it gets to the end of the month, I want it to start on the next month e.g 20110101, 20110102 etc. After the month it is currently in and with one additional month, Iwant it to stop and then skip two rows and continue to only list the month with the format YYYYMM, eg 201012 and 201101, 201102 etc, it can not obmit the zeros. Starting from the current month.

I started with making cases for each month, but the code got sooo long with the adding of the zero for days and months from 1-9 etc...so I was hoping that there was a quick fix and an easy solution to this that I just don't see?

Please help.

RE: Listing of dates

Hi Kristine

Thanks for your post and detail on what you are trying to achieve.

I have managed to review this with a few colleagues and we are of the opinion that to provide further assistance will beyond the scope of this forum.

The next steps would be to review your working files and have one of our training consultants call you to discuss further. We would then be able to identify what work is required and durations.

I will email you directly with my contact details should you wish to take this further.

Regards
Jacob

Excel tip:

Checking formulas with multiple operators

When dealing with formulas containing more than one operator (+, -, /, *), Excel follow standard BEDMAS order of operation rules. These rules specify the order that calculations will be performed in, regardless of how the formula reads left to right:

B = brackets
E = exponents
D = division
M = multiplication
A = addition
S = subtraction

It should be noted that multiplication and division are considered equal; as are addition and subtraction.

If you would like to check the order in which Excel is performing calculations in a formula, simply click on the cell containing the formula. Then go to Tools - Formula Auditing and select Evaluate Formula.

In the Evaluate Formula dialogue box that appears on your screen, click the Evaluate button to see how Excel calculates the formula result.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.