Calculating and adding dates + n

Please read details in attached document
sample.xls
propolisAsked:
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.

jppintoCommented:
Assuming you put your initial date on G3 cell, you can use a formula like this:

=DATE(YEAR(G3),MONTH(G3)+8,DAY(G3))

to add 8 months to the initial date.
0
jppintoCommented:
Then you can use Conditional Formatting to change the fill color, like this:

=IF(($E$3-$D$3)>7,TRUE,FALSE)  - For Red fill
=IF(AND(($E$3-$D$3)<7,($E$3-$D$3)>0),TRUE,FALSE) - For Amber fill

Please check the attached example.

jppinto
sample.xls
0
pritamduttCommented:
As desired Please see attached spreadsheet.

Hope this helps
sample.xlsx
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

redmondbCommented:
Hi, propolis,

What should the Target Date be when the Contact Date is 31/1/2012 and the number of months is one? 29/02/2012? 02/03/2012?

Thanks,
Brian.
0
redmondbCommented:
Propolis,

Assuming 29/02/2012, please see attached. Formula is...
=IF(OR(MID(C3,1,15)<>"contract date +",RIGHT(C3,7)<>" months"),"",EDATE($D$2,MID(C3,17,LEN(C3)-16-7)*1))

Regards,
Brian.
sample-V2.xls
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
redmondbCommented:
Thanks, propolis!
0
pritamduttCommented:
Hi, propolis

May I know the limitations you faced with the solution I proposed?

Thanks!
0
jppintoCommented:
propolis, was there something wrong with my solution also?
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 Applications

From novice to tech pro — start learning today.