Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default Pivot table from multiple ranges? (Revisited)

Hello,

I know this question has been posted, but I will ask again: Can I create a
Pivot Table from two separate data ranges, e.g., different months' data on
different sheets? The data are laid out identically, i.e., same column
headings, same number of columns. Just different rows/records.

I have already scoured the postings on this topic and have tried the
solutions offered, and (1) consolidation doesn't give me useful results, and
(2) creating a MS Query doesn't work because the two ranges in question are
not joined or linked by a common field, but are actually two sets of
identically-laid-out data.

Is there actually no way to select-to-combine two non-adjacent ranges/lists
in a workbook to combine into one Pivot Table?

Thanks in advance for any advice you can offer,

Steve

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Pivot table from multiple ranges? (Revisited)

You can use a Union query to combine the data from the ranges. There's a
sample he

http://www.contextures.com/excelfiles.html

Under PivotTables, look for PT0007 - Multiple Consolidation Ranges

Steve Vincent wrote:
Hello,

I know this question has been posted, but I will ask again: Can I create a
Pivot Table from two separate data ranges, e.g., different months' data on
different sheets? The data are laid out identically, i.e., same column
headings, same number of columns. Just different rows/records.

I have already scoured the postings on this topic and have tried the
solutions offered, and (1) consolidation doesn't give me useful results, and
(2) creating a MS Query doesn't work because the two ranges in question are
not joined or linked by a common field, but are actually two sets of
identically-laid-out data.

Is there actually no way to select-to-combine two non-adjacent ranges/lists
in a workbook to combine into one Pivot Table?

Thanks in advance for any advice you can offer,

Steve



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default Pivot table from multiple ranges? (Revisited)

Debra, thanks so much for pointing me to the right place at your site. The
Union query example was right on target for me. Your site is an excellent
resource.

Thanks again,
Steve


"Debra Dalgleish" wrote:

You can use a Union query to combine the data from the ranges. There's a
sample he

http://www.contextures.com/excelfiles.html

Under PivotTables, look for PT0007 - Multiple Consolidation Ranges

Steve Vincent wrote:
Hello,

I know this question has been posted, but I will ask again: Can I create a
Pivot Table from two separate data ranges, e.g., different months' data on
different sheets? The data are laid out identically, i.e., same column
headings, same number of columns. Just different rows/records.

I have already scoured the postings on this topic and have tried the
solutions offered, and (1) consolidation doesn't give me useful results, and
(2) creating a MS Query doesn't work because the two ranges in question are
not joined or linked by a common field, but are actually two sets of
identically-laid-out data.

Is there actually no way to select-to-combine two non-adjacent ranges/lists
in a workbook to combine into one Pivot Table?

Thanks in advance for any advice you can offer,

Steve



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Pivot table from multiple ranges? (Revisited)

You're welcome! Thanks for letting me know that the example helped.

Steve Vincent wrote:
Debra, thanks so much for pointing me to the right place at your site. The
Union query example was right on target for me. Your site is an excellent
resource.

Thanks again,
Steve


"Debra Dalgleish" wrote:


You can use a Union query to combine the data from the ranges. There's a
sample he

http://www.contextures.com/excelfiles.html

Under PivotTables, look for PT0007 - Multiple Consolidation Ranges

Steve Vincent wrote:

Hello,

I know this question has been posted, but I will ask again: Can I create a
Pivot Table from two separate data ranges, e.g., different months' data on
different sheets? The data are laid out identically, i.e., same column
headings, same number of columns. Just different rows/records.

I have already scoured the postings on this topic and have tried the
solutions offered, and (1) consolidation doesn't give me useful results, and
(2) creating a MS Query doesn't work because the two ranges in question are
not joined or linked by a common field, but are actually two sets of
identically-laid-out data.

Is there actually no way to select-to-combine two non-adjacent ranges/lists
in a workbook to combine into one Pivot Table?

Thanks in advance for any advice you can offer,

Steve



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html





--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

  #5   Report Post  
Posted to microsoft.public.excel.misc
EEA EEA is offline
external usenet poster
 
Posts: 1
Default Pivot table from multiple ranges? (Revisited)

Does this technique work if the multiple worksheets (datasources) are in the
same workbook as the pivot table?

I have vba code that updates the data on each of the worksheets..after the
worksheets are updated i wanted to refresh the pivot table in the vba code. I
am getting an error message that the connection to the datasource has been
lost when trying to execute the refresh command. If i close the VBA window, I
can successfully refresh the pivot table.

"Debra Dalgleish" wrote:

You're welcome! Thanks for letting me know that the example helped.

Steve Vincent wrote:
Debra, thanks so much for pointing me to the right place at your site. The
Union query example was right on target for me. Your site is an excellent
resource.

Thanks again,
Steve


"Debra Dalgleish" wrote:


You can use a Union query to combine the data from the ranges. There's a
sample he

http://www.contextures.com/excelfiles.html

Under PivotTables, look for PT0007 - Multiple Consolidation Ranges

Steve Vincent wrote:

Hello,

I know this question has been posted, but I will ask again: Can I create a
Pivot Table from two separate data ranges, e.g., different months' data on
different sheets? The data are laid out identically, i.e., same column
headings, same number of columns. Just different rows/records.

I have already scoured the postings on this topic and have tried the
solutions offered, and (1) consolidation doesn't give me useful results, and
(2) creating a MS Query doesn't work because the two ranges in question are
not joined or linked by a common field, but are actually two sets of
identically-laid-out data.

Is there actually no way to select-to-combine two non-adjacent ranges/lists
in a workbook to combine into one Pivot Table?

Thanks in advance for any advice you can offer,

Steve



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html





--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html




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 do I create multiple pivot charts from one pivot table? Rudy Charts and Charting in Excel 1 March 17th 06 10:01 PM
pivot table rmsterling Excel Discussion (Misc queries) 5 November 14th 05 04:40 PM
pivot table created from another pivot table Kreed Excel Worksheet Functions 6 October 26th 05 04:16 PM
creating a pivot table w/ ranges from 2 worksheets tl Excel Discussion (Misc queries) 1 August 20th 05 07:16 PM
Pivot table, dynamic data formula Excel GuRu Excel Discussion (Misc queries) 3 May 3rd 05 10:45 PM


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