+ Reply to Thread
Results 1 to 2 of 2

Generating formulas into specific cells, based on various formulas

  1. #1
    Registered User
    Join Date
    08-03-2016
    Location
    Vilnius
    MS-Off Ver
    2010
    Posts
    2

    Generating formulas into specific cells, based on various formulas

    Hello, I am trying to create a spreadsheet for financial analysis. Please see attachment for the example document.

    End result, I want a Macro template to generate formulas based on various criteria. I want to be able to tweak this macro to suit my needs, and understand how it works, so explanations on important lines would be very helpful.
    There are 3 sheets: Main, Cof and Dates. Dates sheet is used for a macro to generate dates which appear on top of Cof and Main sheets. Start date is the date when historical financial data is available, End date is the last date when its available (after this date data is forecasted) and last forecast year is what it says it is. Based on this dates are generated to fit my needs.

    Historical data will be enter into Main sheet, up until the end date. I want a macro which would insert formulas on Cof sheet, based upon which growth coefficients would be calculated (say, Main! C5 is 1000, D5 is 1200, then I run the macro and formula in Cof! F3 is inserted, to return 5%.).

    Then, on Cof!, after End date, coefficients will be inserted by hand, and based on them I want Main! to generate forecasts into the future, until last forecast date. Finally, the Main! Column A, the item number is important because formulas will only be generated in non-absolute item number rows. So, 2.1. 2.2. but not 2.

    As I mentioned, ideally I want a macro template with explanations so that I could write the exact formulas and criteria and be able to tweak it in case i need to change anything, or need a similar macro for a similar problem.

    Thank you.
    Last edited by S_O_A_L; 09-01-2016 at 02:41 AM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Macro to generate formulas into specific cells, based on various formulas

    (How to) Upload a Workbook directly to the Forum
    (please do not post pictures or links to worksheets)
    • Click Advanced next to Quick Post button at the bottom right of the editor box.
    • Scroll down until you see "Manage Attachments",
    • Click the "Choose" button at the upper left (upload from your computer).
    • Select your file, click "open", click "upload"
    • Once the upload is completed the file name will appear below the input boxes in this window.
    • Close the Attachment Manager window.
    • Click "Submit Reply"
    Note: Please do not attach password protected workbooks/worksheets
    Ensure to disable any Workbook Open/Autorun macros before attaching!



    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Ben Van Johnson

+ 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. Need VBA to take all the formulas out from specific cells and columns
    By tantcu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-23-2013, 01:25 PM
  2. [SOLVED] Macro to generate a random number between 2 specific values into specific cells.
    By Nerfmagnet in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-10-2013, 11:45 AM
  3. [SOLVED] I have to lock specific cells whch contains formulas.
    By satputenandkumar0 in forum Excel General
    Replies: 3
    Last Post: 11-12-2012, 08:03 AM
  4. Replies: 5
    Last Post: 11-03-2012, 05:10 PM
  5. Replies: 3
    Last Post: 07-02-2012, 04:56 PM
  6. Replies: 0
    Last Post: 04-05-2012, 10:37 AM
  7. Is there a way to eliminate specific cells from formulas?
    By Valerian in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 04-03-2006, 05:10 PM
  8. Replies: 2
    Last Post: 03-31-2005, 10:06 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