+ Reply to Thread
Results 1 to 10 of 10

Add data from different sheets to one sheet

  1. #1
    Registered User
    Join Date
    06-18-2013
    Location
    Delhi, India
    MS-Off Ver
    Excel 2010
    Posts
    35

    Add data from different sheets to one sheet

    Hi Friends, i need your help to combine data from different sheets to one sheet. Below are the points which will clear the picture

    •Consolidate values from column G from all the sheets to sheet named “Consolidated” as marked in the last sheet.

    •The range of data in the sheets will be fixed in all the sheets

    •Sheet names in the workbook will be same apart from the numbering in the brackets, which will keep on increasing or decreasing, like Profile (1), Profile (2), Profile (3), etc or Profile (3), Profile (2), Profile (1)

    •Number of sheets is not fixed. There can be a total of 40 or 60 or more sheets

    Below is the link of the sample file
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Add data from different sheets to one sheet

    OP not interested
    Last edited by Pepe Le Mokko; 07-03-2013 at 03:14 PM.

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Add data from different sheets to one sheet

    Why do you have 5 counts in consolidation while there is only one count in each sheet?

  4. #4
    Registered User
    Join Date
    06-18-2013
    Location
    Delhi, India
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: Add data from different sheets to one sheet

    Hi AB33,

    i have 5 counts in consolidation, so that the data from each sheet names as profile (1), profile (2), etc should get consolidated in the last sheet in column C, D, E, etc respectively.

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Add data from different sheets to one sheet

    I thought we want to add the sum of all rows with the same product. You want a simple consolidation where each sheet figures will go in to each count.

  6. #6
    Registered User
    Join Date
    06-18-2013
    Location
    Delhi, India
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: Add data from different sheets to one sheet

    Yes absolutely, you got it correct.

  7. #7
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Add data from different sheets to one sheet

    Try the attached.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    06-18-2013
    Location
    Delhi, India
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: Add data from different sheets to one sheet

    Wow!!! this is what i was looking for.

    but there are few codes which i am not able to understand. it would be kind enough if you can help me in understanding it

    why this piece of code is used ("ISREF('Consolidated'!A1)")
    What is the purpose of NC = 3

  9. #9
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Add data from different sheets to one sheet

    What is the purpose of NC = 3?
    is the start of the column and for each loop, it increases by 1.

    ("ISREF('Consolidated'!A1)")?
    is used to evaluate if a sheet name called consolidation exists. If it does not, it creates a new sheet-consolidation.

  10. #10
    Registered User
    Join Date
    06-18-2013
    Location
    Delhi, India
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: Add data from different sheets to one sheet

    Thank you very much for your instant responses to my post...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1