#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Data translation

I have a datatable containing date in Column A, time in Column B, and value
in Column C. I want to translate (pivot) the table so that I have date in
row 1, time in row 2, and value at the intersect of date and time. How do I
do that???

e.g.
Date Time Value
06/01/2009 8:00 AM 20
06/01/2009 1:00 PM 60
06/01/2009 5:00 PM 65
06/02/2009 8:00 Am 40

Translate to
Date
Time 06/01/2009 06/02/2009
8:00 AM 20 40
1:00 PM 60
5:00 PM 40


Paul

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,510
Default Data translation

When you create your pivot table, simply drag the date into column labels and
the time into row labels and it works fine. You will also get totals of the
row values out to the right and totals for the columns at the bottom.

--
Regards,

OssieMac


"pfdubz" wrote:

I have a datatable containing date in Column A, time in Column B, and value
in Column C. I want to translate (pivot) the table so that I have date in
row 1, time in row 2, and value at the intersect of date and time. How do I
do that???

e.g.
Date Time Value
06/01/2009 8:00 AM 20
06/01/2009 1:00 PM 60
06/01/2009 5:00 PM 65
06/02/2009 8:00 Am 40

Translate to
Date
Time 06/01/2009 06/02/2009
8:00 AM 20 40
1:00 PM 60
5:00 PM 40


Paul

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Data translation

When I do that, My values do not all line up under the date. Instead, I get
a separate column for each date/time value. So in my example, the pivot
table looks like this:

Value Date
Time 6/1/2009 6/1/2009 6/1/2009 6/2/2009
8:00 20 40
14:00 60
20:00 65

--
Paul


"OssieMac" wrote:

When you create your pivot table, simply drag the date into column labels and
the time into row labels and it works fine. You will also get totals of the
row values out to the right and totals for the columns at the bottom.

--
Regards,

OssieMac


"pfdubz" wrote:

I have a datatable containing date in Column A, time in Column B, and value
in Column C. I want to translate (pivot) the table so that I have date in
row 1, time in row 2, and value at the intersect of date and time. How do I
do that???

e.g.
Date Time Value
06/01/2009 8:00 AM 20
06/01/2009 1:00 PM 60
06/01/2009 5:00 PM 65
06/02/2009 8:00 Am 40

Translate to
Date
Time 06/01/2009 06/02/2009
8:00 AM 20 40
1:00 PM 60
5:00 PM 40


Paul

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,510
Default Data translation

What version of xl are you using. I have done it in xl2002 and x02007 and it
works perfectly.

Ensure that all of your dates are in fact dates and not a mixture of dates
and text.

Example from my pivot table from xl2007.

Sum of Value Column Labels
Row Labels 6/01/2009 6/02/2009 Grand Total
8:00 AM 20 40 60
1:00 PM 60 60
5:00 PM 65 65
Grand Total 145 40 185

Example from my pivot table from xl2002

Sum of Value Date
Time 6/01/2009 6/02/2009 Grand Total
8:00:00 AM 20 40 60
1:00:00 PM 60 60
5:00:00 PM 65 65
Grand Total 145 40 185

--
Regards,

OssieMac


"pfdubz" wrote:

When I do that, My values do not all line up under the date. Instead, I get
a separate column for each date/time value. So in my example, the pivot
table looks like this:

Value Date
Time 6/1/2009 6/1/2009 6/1/2009 6/2/2009
8:00 20 40
14:00 60
20:00 65

--
Paul


"OssieMac" wrote:

When you create your pivot table, simply drag the date into column labels and
the time into row labels and it works fine. You will also get totals of the
row values out to the right and totals for the columns at the bottom.

--
Regards,

OssieMac


"pfdubz" wrote:

I have a datatable containing date in Column A, time in Column B, and value
in Column C. I want to translate (pivot) the table so that I have date in
row 1, time in row 2, and value at the intersect of date and time. How do I
do that???

e.g.
Date Time Value
06/01/2009 8:00 AM 20
06/01/2009 1:00 PM 60
06/01/2009 5:00 PM 65
06/02/2009 8:00 Am 40

Translate to
Date
Time 06/01/2009 06/02/2009
8:00 AM 20 40
1:00 PM 60
5:00 PM 40


Paul

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Data translation

My bad,
My date column had dates that were not the same. Same day, but different
time. Once I figured that out and made the dates uniform, it worked out just
fine.
Thanks for your help!
--
Paul


"OssieMac" wrote:

What version of xl are you using. I have done it in xl2002 and x02007 and it
works perfectly.

Ensure that all of your dates are in fact dates and not a mixture of dates
and text.

Example from my pivot table from xl2007.

Sum of Value Column Labels
Row Labels 6/01/2009 6/02/2009 Grand Total
8:00 AM 20 40 60
1:00 PM 60 60
5:00 PM 65 65
Grand Total 145 40 185

Example from my pivot table from xl2002

Sum of Value Date
Time 6/01/2009 6/02/2009 Grand Total
8:00:00 AM 20 40 60
1:00:00 PM 60 60
5:00:00 PM 65 65
Grand Total 145 40 185

--
Regards,

OssieMac


"pfdubz" wrote:

When I do that, My values do not all line up under the date. Instead, I get
a separate column for each date/time value. So in my example, the pivot
table looks like this:

Value Date
Time 6/1/2009 6/1/2009 6/1/2009 6/2/2009
8:00 20 40
14:00 60
20:00 65

--
Paul


"OssieMac" wrote:

When you create your pivot table, simply drag the date into column labels and
the time into row labels and it works fine. You will also get totals of the
row values out to the right and totals for the columns at the bottom.

--
Regards,

OssieMac


"pfdubz" wrote:

I have a datatable containing date in Column A, time in Column B, and value
in Column C. I want to translate (pivot) the table so that I have date in
row 1, time in row 2, and value at the intersect of date and time. How do I
do that???

e.g.
Date Time Value
06/01/2009 8:00 AM 20
06/01/2009 1:00 PM 60
06/01/2009 5:00 PM 65
06/02/2009 8:00 Am 40

Translate to
Date
Time 06/01/2009 06/02/2009
8:00 AM 20 40
1:00 PM 60
5:00 PM 40


Paul



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
Code translation please N.F[_2_] Excel Discussion (Misc queries) 0 July 6th 07 12:42 AM
Translation/formula. ivan Excel Discussion (Misc queries) 6 September 25th 06 08:34 PM
column value translation charles New Users to Excel 7 June 15th 06 09:12 PM
Translation Exercise ... Rebecca Excel Worksheet Functions 9 June 6th 06 09:18 PM
Need help with formula translation please Michael Saffer Excel Worksheet Functions 1 February 10th 05 11:30 AM


All times are GMT +1. The time now is 04:14 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"