+ Reply to Thread
Results 1 to 8 of 8

Multiple sheet data into single sheet

  1. #1
    Registered User
    Join Date
    06-23-2009
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    27

    Talking Multiple sheet data into single sheet

    Hi Excel Experts,

    We are maintain our daily sales report in excel. For each day we update in new sheet in same excel file. Now I would like to extract from individual sheet into one sheet. so my date will be in rows products in columns.

    Please help me how to do this. I have data from 1st Jan to till date. Here I am attaching the excel file (daily sales report) from there we need to extract all individual data into single sheet i.e summary - Orders sheet and revenue in Summary - Sales

    Thanks,
    Satya
    Attached Files Attached Files
    Last edited by satyanarayana; 06-09-2021 at 05:46 AM.

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,176

    Re: Multiple sheet data into single sheet

    The data should be stored as:
    [topic] [Products/Services] [Sales] [Orders] [date] [salesperson]
    MY SPARK HEALTH SALES $ IV Full Bag $850 6 07-Jun-21 Clark Kent
    MY SPARK HEALTH SALES $ IV Fast Bag $90 1 07-Jun-21 Clark Kent
    MY SPARK HEALTH SALES $ Glutathione Add-on $50 1 07-Jun-21 Clark Kent

    THEN you can pivot on the data an product totals for ANYTHING/PERSON/DATE

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Multiple sheet data into single sheet

    If you want to extract from 180+ days you will need VBA.

    The only way to reference each sheet via formula is using INDIRECT which is a volatile function and will have serious impact on performance.

    The data should have been placed in one sheet with the date as a column (as per post #2 reply).

  4. #4
    Registered User
    Join Date
    06-11-2021
    Location
    Bergen, Norway
    MS-Off Ver
    365
    Posts
    5

    Re: Multiple sheet data into single sheet

    If you are going to attempt doing this with a formula my suggestion would be to use the indirect function if you are absolutely sure of the data integrity (the product-names must be written 100% correct as we search for them).

    First I change the Date column from A3 and downwards to text (example is '1-Jun-21 written as text instead of date) so that or indirect function can use it to refer to all the sheets.

    To avoid having to rename one and one date you can use the concatenate function: In an empty column i type the number 1 in the first row, the number 2 in the second row, the number 3 in the third row, i then mark the three cells containing the numbers and grab a hold of the lower right cell handle and pull it downwards so that excel gives me a sequence of numbers up to 31. On the column beside this number column I type '-Jan-21 and copy this text downward alongside my number sequence, then in the next column i just use =CONCATENATE(A1;B1) and use the lower right cell handle and pull it downwards to populate. Now I got 1-Jan-21 to 31-Jan-21 in this column which is the name of all your sheets for the first month. I copy this result and paste it as a value in both your summary sales and orders sheet to replace the dates you've put in there.

    Then in your summary - sales sheet in B3 (beside your new date format) i write the formula =IFERROR(VLOOKUP(B$2;INDIRECT("'"&$A3&"'!$A$1:$C$100");2;0);0)

    In your summary - orders I also paste the new dates (as text) in the A column, and in the B column I write the formula =IFERROR(VLOOKUP(B$2;INDIRECT("'"&$A3&"'!$A$1:$C$100");3;0);0)

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Multiple sheet data into single sheet

    RE post#4: Avoid INDIRECT!!!

  6. #6
    Registered User
    Join Date
    06-11-2021
    Location
    Bergen, Norway
    MS-Off Ver
    365
    Posts
    5

    Re: Multiple sheet data into single sheet

    Unpopular opinion: You can use indirect if you're just pulling the data together this one time. If old dates will be edited at later times, then I'd rather check John's solution. If it's just a one time grab for each date, I'd use indirect to grab the values, and re-paste as values removing all the indirect formulas.

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Multiple sheet data into single sheet

    Please Login or Register  to view this content.
    "RUN" button on "Summary - Sales"
    Attached Files Attached Files
    Last edited by JohnTopley; 06-11-2021 at 11:04 PM.

  8. #8
    Registered User
    Join Date
    06-23-2009
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Multiple sheet data into single sheet

    Thanks for your suggestions. Indirect formula worked well.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 01-23-2017, 11:00 PM
  2. Replies: 0
    Last Post: 10-12-2015, 10:02 AM
  3. [SOLVED] Pull data if there is any from a single column in multiple worksheets into a single sheet
    By bcas77 in forum Excel Programming / VBA / Macros
    Replies: 29
    Last Post: 07-11-2013, 01:22 PM
  4. update multiple sheet data in single sheet
    By sreejeshc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2013, 08:23 AM
  5. Transferring multiple data from the same sheet in a single cell In another sheet.
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-08-2012, 09:33 AM
  6. How to write macro for copy data from multiple sheet to a single sheet.
    By Santoshmoni in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-16-2011, 04:39 AM
  7. Help request copy data from multiple sheet to a single sheet
    By pb2984 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-23-2010, 10:30 AM

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