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

x
?
Solved

Excel date formula

Posted on 2011-09-13
4
Medium Priority
?
316 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
4 Comments
 
LVL 17

Accepted Solution

by:
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

by:nike_golf
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

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

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

All were helping me a lot to conclude this
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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.

824 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