#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Date merge

I have the year (2006) in cell A1 and the month (7) in cell B1 of a pivot
table. When extracting them from the pivot table is it possible to combine
them into one cell as a date? When I enter A1+B1 it returns 20067 instead of
the date. Thanks.
--
Mary C
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default Date merge

Try this formula:
=DATE(A1,B1,1)
The ,1) just says 1st day of the month. You can format the cell that
formula is in to get the date to be displayed the way you want it to be.

"Mary C" wrote:

I have the year (2006) in cell A1 and the month (7) in cell B1 of a pivot
table. When extracting them from the pivot table is it possible to combine
them into one cell as a date? When I enter A1+B1 it returns 20067 instead of
the date. Thanks.
--
Mary C

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Date merge

=date(a1,b1,1)
will give the 1st day of that month.



Mary C wrote:

I have the year (2006) in cell A1 and the month (7) in cell B1 of a pivot
table. When extracting them from the pivot table is it possible to combine
them into one cell as a date? When I enter A1+B1 it returns 20067 instead of
the date. Thanks.
--
Mary C


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Date merge

Perfect - Thanks to both of you
--
Mary C


"Dave Peterson" wrote:

=date(a1,b1,1)
will give the 1st day of that month.



Mary C wrote:

I have the year (2006) in cell A1 and the month (7) in cell B1 of a pivot
table. When extracting them from the pivot table is it possible to combine
them into one cell as a date? When I enter A1+B1 it returns 20067 instead of
the date. Thanks.
--
Mary C


--

Dave Peterson

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
Date in middle of month Sunnyskies Excel Discussion (Misc queries) 10 October 23rd 06 03:23 PM
Merge date diltech Excel Discussion (Misc queries) 1 June 23rd 06 03:36 PM
Using a date field in mail merge triciaodd Excel Discussion (Misc queries) 0 January 26th 06 01:48 PM
How to filter on a date field during mail merge SWADoug Excel Worksheet Functions 0 June 21st 05 06:31 PM
How do I keep the date from changing format in a mail merge? Brynn Wilson Excel Discussion (Misc queries) 1 June 9th 05 06:44 PM


All times are GMT +1. The time now is 05:19 PM.

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"