Go Premium for a chance to win a PS4. Enter to Win

x
Solved

# Excel date formula

Posted on 2011-09-13
Medium Priority
316 Views
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

appreciate to hearing from your side

0
Question by:Sirjasonn

LVL 17

Accepted Solution

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

LVL 13

Assisted Solution

nike_golf earned 664 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

Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 668 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

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

All were helping me a lot to conclude this
0

## Featured Post

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
###### Suggested Courses
Course of the Month7 days, 11 hours left to enroll