+ Reply to Thread
Results 1 to 7 of 7

Are there Excel commands that can assign data to other specific sheets in a workbook?

  1. #1
    Registered User
    Join Date
    09-28-2020
    Location
    Modesto, California
    MS-Off Ver
    Office 365 ProPlus
    Posts
    12

    Are there Excel commands that can assign data to other specific sheets in a workbook?

    Hi,
    In the attached ‘Distribution’ workbook, you will see data in the Ledger sheet distributed to the sheets titled Mike, Tim and Vince? These examples were all hand entered to show what I’m hoping can be automated with Excel commands. As seen, the ‘3rds’ option would take the total amount for that particular line, divide it into thirds and post this amount to each person while the ‘other’ option could send different amounts to the person of choice.
    Thanks for any help in this matter.
    Vinga
    Attached Files Attached Files

  2. #2
    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,169

    Re: Are there Excel commands that can assign data to other specific sheets in a workbook?

    See attached: I reformatted "Ledger" to remove merged cells(avoid like the plague!), extraneous columns and assigned code "t" for "3rds"

    Similar reformatting for other tabs

    in each tab

    in A5

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    copy to B

    Change highlighted to "E" and "F" for Tim and Vince

    in C5 (in D5 in attached) of "Mike"



    Formula: copy to clipboard
    Please Login or Register  to view this content.


    copy down

    Change "3" to "4" and "5" for Tim & Vince
    Attached Files Attached Files
    Last edited by JohnTopley; 01-10-2022 at 06:42 AM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    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,603

    Re: Are there Excel commands that can assign data to other specific sheets in a workbook?

    First of all, GET RID of all merged cells. They are entirely unnecessary and will make solutions much harder to provide. They should never be used.

    Please explain this result for Mike:

    AliGW on MS365 Insider (Windows) 64 bit

    B
    C
    D
    3
    4
    Date
    Specifics
    Amount
    5
    02/01/2022
    groceries
    12.00
    6
    23/01/2022
    rent
    30.00
    7
    01/01/2022
    car payment
    35.00
    8
    15/02/2022
    misc expenses
    25.00
    Sheet: Mike

    Mike has only ONE item with an x, so where have the others come from?

    Can the layout of the ledger change? A willingness to be flexible here will make life a lot easier.
    Last edited by AliGW; 01-10-2022 at 06:49 AM.
    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.

  4. #4
    Registered User
    Join Date
    09-28-2020
    Location
    Modesto, California
    MS-Off Ver
    Office 365 ProPlus
    Posts
    12

    Re: Are there Excel commands that can assign data to other specific sheets in a workbook?

    Ali,

    From the Ledger sheet, four items were posted to Mike. He is responsible for 100% of the groceries, one-third of the rent ($30.00), partial payment of the car ($35.00), and one-third of the misc expenses ($25.00). The Ledger layout can absolutely be altered if it makes life any easier. 'Merged Cells' message received loud and clear, thanks for the tip and thank you for you help in this matter.

    Vince

  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,169

    Re: Are there Excel commands that can assign data to other specific sheets in a workbook?

    Did you look at post #2?

  6. #6
    Registered User
    Join Date
    09-28-2020
    Location
    Modesto, California
    MS-Off Ver
    Office 365 ProPlus
    Posts
    12

    Re: Are there Excel commands that can assign data to other specific sheets in a workbook?

    John

    Yes, I briefly did and it looks solid. Unfortunately for me to learn, I need a lot of time to decipher the commands as I am only an occasional user. This translates to an evening job and it is morning right now. I have 75 acres of almond trees that need my attention during the day. I sincerely appreciate your expertise, time, and effort in response to my inquiry.

    Vince

  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,169

    Re: Are there Excel commands that can assign data to other specific sheets in a workbook?

    @Vince, No problem.

    John

+ 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. [SOLVED] Import data from one workbook to another(Search for specific sheets for copy and paste)
    By Zahid0111 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 03-11-2020, 10:33 AM
  2. [SOLVED] VBA for copy/paste specific cells from several sheets into a master data workbook
    By BalanF in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-07-2018, 09:01 AM
  3. Replies: 4
    Last Post: 01-02-2015, 01:33 PM
  4. [SOLVED] How to remove commands like cut, copy, assign macro or ... from shape context menu
    By hmaleki in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-15-2013, 04:10 AM
  5. Saving specific sheets of Excel workbook 2010
    By karimretina in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-04-2013, 08:59 AM
  6. Assign commands to function keys
    By Gerry in forum Excel General
    Replies: 4
    Last Post: 08-08-2005, 01:05 PM
  7. Is there a way to assign a specific printer to different sheets i.
    By Stage Lamp in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-05-2005, 10:06 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