+ Reply to Thread
Results 1 to 3 of 3

VBA Budgeting: Manually Enter Months or Evenly/Proportionally Spread

  1. #1
    Registered User
    Join Date
    05-23-2022
    Location
    New Jersey
    MS-Off Ver
    Microsoft 365
    Posts
    2

    VBA Budgeting: Manually Enter Months or Evenly/Proportionally Spread

    Hi,
    I am building an Excel template for my departments to complete for 2023 Budget. I'd like to give users two paths to enter their budget data:

    1) Enter the monthly data manually (Column O-Z highlighted in light blue). AD3 would be "None" in this case as no VBA would need to be run.

    or

    2) Have them enter the total amount for the year in Column AC and give them the option to Spread "Evenly" (Total Year/12), Spread "Proportionally Based on PY Results" (based on results in B-N), or "None" referring to #1 above. In the attached file mock PY results are in columns B-N.

    I'd like to be able to hit a macro button and all of the rows that are labeled as "Evenly" or "Proportionally Based on PY" would override the data within the monthly columns (Column O-Z). If the user manually enters the data and "None" is within Column AD I would like their data preserved and not overridden.

    The attached file is just one row for simplicity purposes but I would replicate this for ~100 rows. Ideally it would be one Macro that would capture all rows. This would be a tremendous help and any insight would be appreciated!
    Attached Files Attached Files

  2. #2
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: VBA Budgeting: Manually Enter Months or Evenly/Proportionally Spread

    Hi there,

    This does the calculations in memory so should be quick-ish on multiple rows:

    Please Login or Register  to view this content.
    WBD
    Office 365 on Windows 11, looking for rep!

  3. #3
    Registered User
    Join Date
    05-23-2022
    Location
    New Jersey
    MS-Off Ver
    Microsoft 365
    Posts
    2

    Re: VBA Budgeting: Manually Enter Months or Evenly/Proportionally Spread

    Thank you! This is very insightful. I'm realizing adapting this macro to my eventual template will run into some issues, but that's for me to learn/decipher line by line once I build something out.

    I'm going to mark as solved. Thank you.

+ 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: 03-26-2022, 08:33 PM
  2. Evenly Spread Total then add Seasonality
    By krunk in forum Excel General
    Replies: 1
    Last Post: 06-20-2017, 09:29 PM
  3. Spread workload evenly to team members
    By Maja77 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-14-2015, 11:44 AM
  4. Replies: 3
    Last Post: 10-16-2014, 09:47 AM
  5. Spread number evenly across chosen months
    By rkobeyer in forum Excel General
    Replies: 3
    Last Post: 10-16-2014, 07:08 AM
  6. [SOLVED] Spread a value evenly over a set number of cells
    By tstrong in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-22-2014, 08:07 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