Solved

Excel date formula

Posted on 2011-09-13
4
309 Views
Last Modified: 2012-05-12
hi there;

i'm in need of a formula or maybe a macro;

the thing is that I have a column including dates like;

13.Sept
15.Sept
13.Sept
22.Sept
01.Sept
24.Sept
25.Sept
19.Sept
26.Sept

what I need it;

I want excel to revise these dates to;

"date specified in the cell + 2  - Sept"

i.e

13.Sept - should be read as 13/15 Sept
15.Sept - 15/17 Sept
13.Sept - 13/15 Sept

Any so on

Would that be possible please?

appreciate to hearing from your side


0
Comment
Question by:Sirjasonn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 17

Accepted Solution

by:
Shanmuga Sundaram earned 167 total points
ID: 36528670
Please see that attached and let me know is this what you need?
res.xls
0
 
LVL 13

Assisted Solution

by:nike_golf
nike_golf earned 166 total points
ID: 36528676
Try this assuming G1 is the starting cell:

=LEFT(G1,2) &"/"& LEFT(G1,2)+2 & " " &MID(G1,4,LEN(G1))

0
 
LVL 50

Assisted Solution

by:Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 167 total points
ID: 36528685
Hello,

if the cell contains a real date, then you can use

=DAY(A1)&"/"&TEXT(A1+2,"dd mmm")

cheers, teylyn
0
 

Author Closing Comment

by:Sirjasonn
ID: 36528736
Thanks very much for all yours kind assitance.

All were helping me a lot to conclude this
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question