+ Reply to Thread
Results 1 to 15 of 15

Copy data from one sheet to several sheets by using Formulas

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

    Copy data from one sheet to several sheets by using Formulas

    Hi All,


    Need to Split the Source Data in "Sheet1" into Multiple Sheets Using the "Example" Sheet in the Excel File .

    Explanation is provided in the Excel file. Kindly do the needful.

    If Need any Details or information Please let me know.


    Thanks,
    Attached Files Attached Files
    Last edited by click2chaitu; 01-31-2020 at 09:06 AM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need Formulas for the data in the excel Attached

    Please note that the Subject Title does not meet the requirement for a title - see Rule 1.

    I'll change it for you since you are relatively new but note for the next time you start a thread.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

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

    Re: Need Formulas for the data in the excel Attached

    Quote Originally Posted by Richard Buttrey View Post
    Please note that the Subject Title does not meet the requirement for a title - see Rule 1.

    I'll change it for you since you are relatively new but note for the next time you start a thread.
    Sure Richard from next time i will mention Correctly and thanks for the Changes.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Copy data from one sheet to several sheets by using Formulas

    What's the essential requirement here.

    Is it to be able to see the data for each of the 4 basic sets of data or is it vital the data is split into four sheets.

    A reoorganised set of data with a Pivot Table might offer a solution which will show you the annual results for each measure required

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

    Re: Copy data from one sheet to several sheets by using Formulas

    Quote Originally Posted by Richard Buttrey View Post
    What's the essential requirement here.

    Is it to be able to see the data for each of the 4 basic sets of data or is it vital the data is split into four sheets.

    A reoorganised set of data with a Pivot Table might offer a solution which will show you the annual results for each measure required
    Hi Richard,

    I Have Given the sheet with Data for four columns (Sheet1) only for easy understanding, Generally i have data with many columns (100's of columns). Every Month i get the new Data. For simplicity i want to Sub Divided the Data into Sheets with Formulas. I'm thinking by Using the Formulas it is to easy to work.

    Please Let me know your thoughts on this.

    Thanks,
    Last edited by click2chaitu; 02-01-2020 at 12:57 AM.

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

    Re: Copy data from one sheet to several sheets by using Formulas

    This is a proposed solution for the BR values. HD, HE and BA should follow the same pattern.
    The dates are entered in column A using:
    A2: =YEAR(MIN(Sheet1!A2:A6075))
    A3:A30 =IF(A2< YEAR(MAX(Sheet1!A$2:A$6075)),SUM(A2,1),"")
    The BR Max value of the year is populated using: =IF(A2="","",AGGREGATE(14,6,Sheet1!B$2:B$6075/(YEAR(Sheet1!A$2:A$6075)=A2),1))
    The BR Min value of the year is populated using: =IF(A2="","",AGGREGATE(15,6,Sheet1!B$2:B$6075/(YEAR(Sheet1!A$2:A$6075)=A2),1))
    The BR MinMax change % is populated using: =IF(A2="","",('Min-Max'!B2/'Min-Max'!C2)-1)
    The BR start value of the year is populated using: =IF(A2="","",INDEX(Sheet1!B$2:B$6075,MATCH(AGGREGATE(15,6,Sheet1!A$2:A$6075/(YEAR(Sheet1!A$2:A$6075)=A2),1),Sheet1!A$2:A$6075,0)))
    The BR end value of the year is populated using: =IF(A2="","",INDEX(Sheet1!B$2:B$6075,MATCH(AGGREGATE(14,6,Sheet1!A$2:A$6075/(YEAR(Sheet1!A$2:A$6075)=A2)/(Sheet1!B$2:B$6075<>"null"),1),Sheet1!A$2:A$6075,0)))
    The BR StartEnd change % is populated using: =IF(A2="","",('Start-End'!C2/'Start-End'!B2)-1)
    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.

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

    Re: Copy data from one sheet to several sheets by using Formulas

    Quote Originally Posted by JeteMc View Post
    This is a proposed solution for the BR values. HD, HE and BA should follow the same pattern.
    The dates are entered in column A using:
    A2: =YEAR(MIN(Sheet1!A2:A6075))
    A3:A30 =IF(A2< YEAR(MAX(Sheet1!A$2:A$6075)),SUM(A2,1),"")
    The BR Max value of the year is populated using: =IF(A2="","",AGGREGATE(14,6,Sheet1!B$2:B$6075/(YEAR(Sheet1!A$2:A$6075)=A2),1))
    The BR Min value of the year is populated using: =IF(A2="","",AGGREGATE(15,6,Sheet1!B$2:B$6075/(YEAR(Sheet1!A$2:A$6075)=A2),1))
    The BR MinMax change % is populated using: =IF(A2="","",('Min-Max'!B2/'Min-Max'!C2)-1)
    The BR start value of the year is populated using: =IF(A2="","",INDEX(Sheet1!B$2:B$6075,MATCH(AGGREGATE(15,6,Sheet1!A$2:A$6075/(YEAR(Sheet1!A$2:A$6075)=A2),1),Sheet1!A$2:A$6075,0)))
    The BR end value of the year is populated using: =IF(A2="","",INDEX(Sheet1!B$2:B$6075,MATCH(AGGREGATE(14,6,Sheet1!A$2:A$6075/(YEAR(Sheet1!A$2:A$6075)=A2)/(Sheet1!B$2:B$6075<>"null"),1),Sheet1!A$2:A$6075,0)))
    The BR StartEnd change % is populated using: =IF(A2="","",('Start-End'!C2/'Start-End'!B2)-1)
    Let us know if you have any questions.
    I'm not able to download the excel file, i don't know why? can anyone please let me know.

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

    Re: Copy data from one sheet to several sheets by using Formulas

    Hi JeteMC,

    Thanks for your work. Everything is Perfect except in Min-Max Sheet. In Min Values , Starting value is getting "0" value. Attached the screenshot for reference.Is it possible to exclude zeros at the starting value?. Can you please verify..

    Attachment 660805
    Thanks.
    Attached Files Attached Files
    Last edited by click2chaitu; 02-03-2020 at 11:37 AM.

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

    Re: Copy data from one sheet to several sheets by using Formulas

    My suggestion is to hide the zeroes using conditional formatting, providing you want to keep the General number formatting.
    Select B2> Ctrl + Shift + right arrow > Ctrl + Shift + down arrow > Conditional Formatting > Format cells that contain > Cell value equal to 0 (zero) > select Font > Color > white
    You could select custom number formatting and use something like: #.######;;;
    I would not suggest modifying the formula i.e.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    as that causes the formula to run the aggregate calculation twice in each of the 208 cells.
    Let us know if you have any questions.
    Attached Files Attached Files

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

    Re: Copy data from one sheet to several sheets by using Formulas

    Quote Originally Posted by JeteMc View Post
    My suggestion is to hide the zeroes using conditional formatting, providing you want to keep the General number formatting.
    Select B2> Ctrl + Shift + right arrow > Ctrl + Shift + down arrow > Conditional Formatting > Format cells that contain > Cell value equal to 0 (zero) > select Font > Color > white
    You could select custom number formatting and use something like: #.######;;;
    I would not suggest modifying the formula i.e.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    as that causes the formula to run the aggregate calculation twice in each of the 208 cells.
    Let us know if you have any questions.
    Hi JeteMC,
    Thank You for your reply, Actually i miss-communicated regarding MIN Value.The Starting "MIN" Value should be greater than zero.BY Using Pivot i can get the Min Values. comparing the pivot and you worked sheet as below.

    Pivot
    Attachment 660974

    Your sheet
    Attachment 660975

    Please check and do the needful.

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

    Re: Copy data from one sheet to several sheets by using Formulas

    If I understand correctly then try the following for D2 and down on the Min-Max sheet:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    D2 and down on the Start-End sheet:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Selecting either of the attachments in post #10 results in the following message: "Invalid Attachment specified. If you followed a valid link, please notify the administrator"
    In the future please utilize the instructions in the banner at the top of the page to attach an .xlsx file.
    Let us know if you have any questions.

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

    Re: Copy data from one sheet to several sheets by using Formulas

    Quote Originally Posted by JeteMc View Post
    If I understand correctly then try the following for D2 and down on the Min-Max sheet:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    D2 and down on the Start-End sheet:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Selecting either of the attachments in post #10 results in the following message: "Invalid Attachment specified. If you followed a valid link, please notify the administrator"
    In the future please utilize the instructions in the banner at the top of the page to attach an .xlsx file.
    Let us know if you have any questions.
    Hi JeteMC,

    Formula for Start-end is working good, but formula for Min-Max Sheet D2 is for Max Values , MIN is in E Column , Can you please provide the Formula for MIN value in E column.


    Thanks,
    Attached Files Attached Files

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

    Re: Copy data from one sheet to several sheets by using Formulas

    Try: =IF(A2="","",IFERROR(AGGREGATE(15,6,Sheet1!C$2:C$6075/(YEAR(Sheet1!A$2:A$6075)=A2)/(Sheet1!C$2:C$6075>0),1),""))
    Let us know if you have any questions.

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

    Re: Copy data from one sheet to several sheets by using Formulas

    Quote Originally Posted by JeteMc View Post
    Try: =IF(A2="","",IFERROR(AGGREGATE(15,6,Sheet1!C$2:C$6075/(YEAR(Sheet1!A$2:A$6075)=A2)/(Sheet1!C$2:C$6075>0),1),""))
    Let us know if you have any questions.
    Thank You JeteMc . you helped me to get the work done so easy, Thank you so much...

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

    Re: Copy data from one sheet to several sheets by using Formulas

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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: 1
    Last Post: 01-23-2015, 03:06 AM
  2. Need formulas for stock transaction data
    By Par in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-02-2014, 02:29 PM
  3. HELP Import data from attached HTML file to excel
    By ExcelUser2707 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-25-2013, 09:24 AM
  4. Replies: 8
    Last Post: 08-21-2013, 08:05 PM
  5. Replies: 0
    Last Post: 05-16-2012, 04:16 PM
  6. Conditional Formatting Formulas-attached a file
    By smart_as in forum Excel General
    Replies: 3
    Last Post: 03-14-2011, 04:19 PM
  7. Replies: 3
    Last Post: 02-24-2011, 12:24 PM

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