date add functions

folks


(LEFT(DAY((NOW())),2))  shows me today's day of date

I have this formula in column b , how can I add 1 day onto this formula into column c, and add 2 days into column d
rutgermonsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kanti PrasadCommented:
Hi

In c and d copy and paste the below
=(LEFT(DAY((NOW())),2))+1
=(LEFT(DAY((NOW())),2))+2
0
barry houdiniCommented:
I don't think you need LEFT function as DAY can only return a number between 1 and 31 (the day of the month) so using LEFT on that is redundant.

So for today's day you can use

=DAY(TODAY())

At the end of the month, e.g. 30th June, I assume you would want 1 and 2 for the next two days (not 31 and 32) so you need to add within the DAY function, e.g. for tomorrow's day:

=DAY(TODAY()+1)

and for the day after

=DAY(TODAY()+2)

regards, barry
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Wilder1626Commented:
Hi
Kanti Prasad formula will not follow the date logic. If you have 31 days in a month, +1 would be 32.

another way would be to format the cell to "DD" for Days, and then, use these formula:
=TODAY()+1
=TODAY()+2

To set day formula:
day format
0
Kanti PrasadCommented:
Hi

the 1st post was an oversite, You need do it this way   b , c , d and you don't need so many ()

=(LEFT(DAY(NOW()),2))
=(LEFT(DAY(NOW()+1),2))
=(LEFT(DAY(NOW()+2),2))
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.