+ Reply to Thread
Results 1 to 4 of 4

Need formulas to copy data from Source Sheet to Target sheet within excel workbook.

  1. #1
    Registered User
    Join Date
    01-29-2020
    Location
    India
    MS-Off Ver
    2019
    Posts
    22

    Need formulas to copy data from Source Sheet to Target sheet within excel workbook.

    Hi All,

    Need formulas to copy data from Source Sheet ( StartEnd Change) to Target sheet (Sheet5) for all the values within excel workbook as below

    Attached the Excel Sheet.

    Thank You.
    Attached Files Attached Files
    Last edited by click2chaitu; 02-13-2020 at 07:48 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,728

    Re: Need formulas to to copy data from Source Sheet to Target sheet within excel workbook.

    Invalid attachments. Please see the instructions at the top of the page on how to attach the workbooks properly. Don't attach images, please.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    01-29-2020
    Location
    India
    MS-Off Ver
    2019
    Posts
    22

    Re: Need formulas to to copy data from Source Sheet to Target sheet within excel workbook.

    Quote Originally Posted by AliGW View Post
    Invalid attachments. Please see the instructions at the top of the page on how to attach the workbooks properly. Don't attach images, please.
    Hi Ali,

    Sorry for the empty attachments, i accidentally deleted the Attachments, Attached the images for easy understanding.

    Thank you.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Need formulas to copy data from Source Sheet to Target sheet within excel workbook.

    I feel as if this is easiest accomplished by doing the calculations on the start end change sheet and then referencing those cells on sheet5.
    For years (row 30): =COUNT(B2:B26)
    For negative years (row 31): =COUNTIFS(B2:B26,"<0")
    For positive years (row 32): =COUNTIFS(B2:B26,">=0")
    Note that this assumes a value of zero would be counted as positive.
    Columns B:E on sheet5 are populated using formulas similar to: =INDEX('StartEnd Change'!B$29:H$29,MATCH(A2,'StartEnd Change'!B$1:H$1,0))
    Note that column E could be populated using: =C2-D2 providing the above note is true.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. copy first sheet from different workbooks to target workbook
    By kaushalkbc in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-19-2019, 10:29 AM
  2. [SOLVED] Copy Data from "Source" Sheet to "Target" Sheet (Code need help thanks)
    By mankit87 in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 07-17-2019, 11:45 PM
  3. [SOLVED] Copy all data from an Excel sheet in a different workbook to a blank sheet in current WB
    By drjarmin in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 12-27-2017, 02:24 AM
  4. [SOLVED] Copy data from Main sheet to target sheets according to row header and target sheet header
    By realrookie in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-31-2016, 07:26 AM
  5. [SOLVED] How to CONCATENATE when copying cells from source sheet into target sheet
    By Murman01 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-30-2016, 01:51 PM
  6. [SOLVED] Macro to copy data from source workbook to target, based on current month of the year
    By D.Lovell in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-27-2014, 05:41 PM
  7. [SOLVED] Macro to find data in source workbook and copy paste to target workbook
    By D.Lovell in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 04-23-2014, 06:21 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