Dear Kuldeep,

We can also use below alternative solution in pivot table..

Manually Create a Union Query

If you can't combine your data on a single worksheet, another solution is
to create named ranges in an Excel file, and use MS Query to combine the
data. There are sample files here:
http://www.contextures.com/excelfiles.html#PT0007

Then, use the Union query result as the pivot table's source data.

[image: pivot union query]

With this solution, you’ll end up with a normal pivot table, with none of
the limitations. However, it’s a bit tedious to set up, especially if you
have more than a couple of tables.
Use a Macro to Create a Union Query

Instead of manually setting up a union query, you can use the code in a
sample file from Excel MVPs, Kirill
Lapin<https://mvp.support.microsoft.com/profile/Kirill>(KL), with
amendments by Héctor
Miguel Orozco Diaz <https://mvp.support.microsoft.com/profile/Miguel>.

Before you use the sample code, replace the sample sheet names with the
sheet names in your workbook.

For example, if your sheet names are "East" and "West", change this line of
code:

arrSheets = Array ("Ontario", "Alberta")

to this

arrSheets = Array ("East", "West")

[image: pivot multiple sheets code]

In the code, you can also change the location where the pivot table will be
added. In the sample file, the TableDestination is set for the active
sheet, in range A1.

[image: pivot multiple sheets location]

Then, after you make those small changes, click the button on the
worksheet, and a summary pivot table is automatically created.

To download the sample file from Kirill and Héctor, click here: Pivot Table
>From Multiple Sheets <http://www.contextures.com/VBA.MULT_CONS_PIVOT_EN.zip>
.


On Tue, Aug 28, 2012 at 3:39 PM, Kuldeep Singh <naukrikuld...@gmail.com>wrote:

>
> Yes Noorain Sir,
>
> Pivot Table is great solution for this query.
>
>       Code 16-08-12 17-08-12 18-08-12  46000056113 7402 8231 7231
> 46000056114 7403 8232 7232  46000056115 7404 8233 7233  46000056116 7405
> 8234 7234  46000056117 7406 8235 7235  46000056118 7407 8236 7236
> 46000056119 7408 8237 7237  46000056120 7409 8238 7238  46000056121 7410
> 8239 7239  46000056122 7411 8240 7240  46000056123 7412 8241 7241
> 46000056124 7413 8242 7242  46000056125 7414 8243 7243  Grand Total
> Regards,
> Kuldeep Singh
>
> On Tue, Aug 28, 2012 at 3:28 PM, NOORAIN ANSARI 
> <noorain.ans...@gmail.com>wrote:
>
>> Dear Sagar,
>>
>> without macro you can use this option in Pivot table
>>
>>
>>
>> On Fri, Aug 17, 2012 at 7:41 PM, SAGAR KASANGOTTUWAR <
>> sagarkasangottu...@gmail.com> wrote:
>>
>>> Dear Friends,
>>>
>>> I want combine the data from other worksheets to one specific worksheet
>>> so kindly give me the fastest way to do same task.
>>>
>>> Note. I HAVE NEAR ABOUT 200 worksheets which I WANT to combine.
>>>
>>>
>>> THANKS IN ADVANCE,
>>>
>>> Regards,
>>>
>>> CA KSAGAR
>>>
>>> --
>>> Join official facebook page of this forum @
>>> https://www.facebook.com/discussexcel
>>>
>>> FORUM RULES (1120+ members already BANNED for violation)
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>> will not get quick attention or may not be answered.
>>>
>>> 2) Don't post a question in the thread of another member.
>>>
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>>
>>> 4) Acknowledge the responses you receive, good or bad.
>>>
>>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>>> signatures are prohibited.
>>>
>>> 6) Jobs posting is not allowed.
>>>
>>> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
>>>
>>> NOTE : Don't ever post personal or confidential data in a workbook.
>>> Forum owners and members are not responsible for any loss.
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "MS EXCEL AND VBA MACROS" group.
>>> To post to this group, send email to excel-macros@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> excel-macros+unsubscr...@googlegroups.com.
>>>
>>>
>>>
>>
>>
>>
>> --
>> With Regards,
>> Noorain Ansari
>> http:// 
>> <http://www.noorainansari.com>noorainansari.com<http://www.noorainansari.com>
>> http:// 
>> <http://www.excelvbaclinic.blogspot.com>excelvbaclinic.com<http://www.excelvbaclinic.blogspot.com><http://accesssqclinic.blogspot.in/>
>>
>>
>>  --
>> Join official facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES (1120+ members already BANNED for violation)
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>>
>> 2) Don't post a question in the thread of another member.
>>
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>>
>> 4) Acknowledge the responses you receive, good or bad.
>>
>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>> signatures are prohibited.
>>
>> 6) Jobs posting is not allowed.
>>
>> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
>>
>> NOTE : Don't ever post personal or confidential data in a workbook. Forum
>> owners and members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> To unsubscribe from this group, send email to
>> excel-macros+unsubscr...@googlegroups.com.
>>
>  --
> Join official facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES (1120+ members already BANNED for violation)
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
>
> 2) Don't post a question in the thread of another member.
>
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
>
> 4) Acknowledge the responses you receive, good or bad.
>
> 5) Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.
>
> 6) Jobs posting is not allowed.
>
> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
>
> NOTE : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
>
>
>



-- 
With Regards,
Noorain Ansari
http:// 
<http://www.noorainansari.com>noorainansari.com<http://www.noorainansari.com>
http:// 
<http://www.excelvbaclinic.blogspot.com>excelvbaclinic.com<http://www.excelvbaclinic.blogspot.com><http://accesssqclinic.blogspot.in/>

-- 
Join official facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES (1120+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

6) Jobs posting is not allowed.

7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.


Reply via email to