Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 177
Default date reading formula question

I am re organizing a data so that I can use a pivot table. On the import
page the data is "June-02-2004 08:00 A" and I am wanting to only use the
month and year. I use this formula =LEFT('Activity Data Import'!E3,12) to
put the data on a worksheet to build the pivot table from.

It returns June-02-2004

and was using this formula =DATE(YEAR(G3),MONTH(G3),1) to get the month
and year from that. This formula returns #VALUE! I get #VALUE! even if I
remove the formula and type in the date.

Can someone tell me what I can do to fix this?


Thanks,


Todd



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 177
Default date reading formula question

I got it. It wasn't excel or the formula, it was the export that created the
data. I changed the date format in the export and the formula reads
correctly now.

Thanks.

"Todd" wrote:

I am re organizing a data so that I can use a pivot table. On the import
page the data is "June-02-2004 08:00 A" and I am wanting to only use the
month and year. I use this formula =LEFT('Activity Data Import'!E3,12) to
put the data on a worksheet to build the pivot table from.

It returns June-02-2004

and was using this formula =DATE(YEAR(G3),MONTH(G3),1) to get the month
and year from that. This formula returns #VALUE! I get #VALUE! even if I
remove the formula and type in the date.

Can someone tell me what I can do to fix this?


Thanks,


Todd



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
Formula Please help babiigirl Excel Worksheet Functions 1 June 14th 06 06:04 PM
Trending Formula Results by Date sony654 Excel Worksheet Functions 0 January 2nd 06 02:33 AM
Year-to-date year to date formula Philm Excel Worksheet Functions 1 October 7th 05 02:50 AM
NETWORKDAYS - Multiple Date Selection Annabelle Excel Discussion (Misc queries) 3 October 4th 05 07:04 PM
IF/AND Formula seems to only be reading 1st part of formula Greg Bobak Excel Worksheet Functions 2 March 3rd 05 01:53 AM


All times are GMT +1. The time now is 06:09 AM.

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

About Us

"It's about Microsoft Excel"