Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Need to transform the dates to months

I need help with a formula that will lookup the dates into months.

For example, if I have a set of dates in a column:

01/15/07 == Jan '07
02/05/07 == Feb '07
02/13/07 == Feb '07
01/05/06 == Jan '06
04/25/06 == Apr '06

I need a formula that will switch them to the month and year that the date
is within that month and year.

Thanks,

D
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Need to transform the dates to months

Format cells as: mmm-yy
or
=TEXT(A2,"mmm-yy")


"dereksmom" wrote:

I need help with a formula that will lookup the dates into months.

For example, if I have a set of dates in a column:

01/15/07 == Jan '07
02/05/07 == Feb '07
02/13/07 == Feb '07
01/05/06 == Jan '06
04/25/06 == Apr '06

I need a formula that will switch them to the month and year that the date
is within that month and year.

Thanks,

D

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Need to transform the dates to months

One way ..
With source dates in A1 down (assumed to be real dates)
Then in B1: =TEXT(A1,"mmm 'yy")
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"dereksmom" wrote:
I need help with a formula that will lookup the dates into months.

For example, if I have a set of dates in a column:

01/15/07 == Jan '07
02/05/07 == Feb '07
02/13/07 == Feb '07
01/05/06 == Jan '06
04/25/06 == Apr '06

I need a formula that will switch them to the month and year that the date
is within that month and year.

Thanks,

D

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Need to transform the dates to months

Use a custom format of mmm yy, or if you want text use

=TEXT(A1,"mmm yy")


--
Regards,

Peo Sjoblom


"dereksmom" wrote in message
...
I need help with a formula that will lookup the dates into months.

For example, if I have a set of dates in a column:

01/15/07 == Jan '07
02/05/07 == Feb '07
02/13/07 == Feb '07
01/05/06 == Jan '06
04/25/06 == Apr '06

I need a formula that will switch them to the month and year that the date
is within that month and year.

Thanks,

D



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default Need to transform the dates to months

If you want to change the existing dates then re-format them to Custom
Fromat mmm yy

or if you want the apostrophe as well use mmm 'yy

But this shows as with the apostrophe hard up agains the zero so you might
want to include a space:

mmm ' yy

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"dereksmom" wrote in message
...
I need help with a formula that will lookup the dates into months.

For example, if I have a set of dates in a column:

01/15/07 == Jan '07
02/05/07 == Feb '07
02/13/07 == Feb '07
01/05/06 == Jan '06
04/25/06 == Apr '06

I need a formula that will switch them to the month and year that the date
is within that month and year.

Thanks,

D



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how many months and days between two dates? shopgirl New Users to Excel 1 February 12th 06 08:08 AM
Adding months to dates should account for 28-30-31 day months Graham Excel Worksheet Functions 3 February 1st 06 12:06 PM
months between 2 dates!!! speary Excel Discussion (Misc queries) 1 August 19th 05 03:22 PM
Number of months between 2 dates john liem New Users to Excel 0 May 31st 05 06:08 PM
Need More Help on Dates to Months Xandlyn Excel Worksheet Functions 4 March 12th 05 12:50 PM


All times are GMT +1. The time now is 07:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"