+ Reply to Thread
Results 1 to 2 of 2

Bring Data from other sheet

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Bring Data from other sheet

    Hello:

    Please refer to attached file.
    Data is at "Labor_Sales" Row 309 onwards.
    Row 308 from Column N onwards is TimeRange eg : 8 to 9, 9-10, 10-11.....11-12 midnight.
    Row 310 thru 316 is hourly Labor cost in column N thru cloumn AC

    I have "HourlySales" Sheet hourly sales in row 3 thru 14 for each day.
    Note :
    1st day Sales is in column C
    2nd day Sales is in column G
    3rd day day Sales is in column k and so on.

    I need to bring these numbers in cell M320 thru AC326

    Let me know if you have any questions.
    Thanks.

    Riz
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,519

    Re: Bring Data from other sheet

    As you don't have any sales for the period 8-9 or 9-10 (or even after 10pm), then you don't need a formula for those columns. Put this formula in P320 of the Labor_sales sheet:

    =INDEX(HourlySales!$A$3:$AA$14,COLUMNS($P:P),(ROWS($1:1)-1)*4+3)

    copy this across to AA320, then copy those formulae down to row 326. For completeness, you might like to put this formula in M320:

    =SUM(N320:AC320)

    and copy that down. Note that your totals on row 15 of the HourlySales sheet are not correct - put this formula in C17 to show this:

    =SUM(C3:C14)

    Copy the formula into G17, K17, and so on.

    Hope this helps.

    Pete

+ 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. Macro to bring data to sheet from another sheet!!! based on certain criteria
    By cory0789 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-22-2015, 06:43 AM
  2. error VBA script trying to bring userform data from different then active sheet
    By archangel9999 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-02-2014, 04:34 AM
  3. Macro Problem - trying to bring external data into one sheet
    By ids in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 11-15-2013, 07:15 AM
  4. Look in another sheet match & bring data back
    By gill389 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-31-2011, 01:56 PM
  5. [SOLVED] Can a cell reference bring the color of the data to the new sheet
    By SandyA in forum Excel General
    Replies: 5
    Last Post: 07-10-2006, 10:49 PM
  6. Replies: 2
    Last Post: 08-29-2005, 05:00 AM
  7. How can i bring data from one sheet to another:
    By tayyab in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-19-2005, 01:05 PM

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