+ Reply to Thread
Results 1 to 5 of 5

Save inputed data for each month

  1. #1
    Registered User
    Join Date
    03-07-2016
    Location
    london
    MS-Off Ver
    starter
    Posts
    4

    Save inputed data for each month

    Hi All

    I am creating a project planning/resource allocation spreadsheet in which i am using v-lookup with a drop down pick list to select the months of the year.

    The idea is to allocate a percentage to each project for each resource for each month (See attached sample file).

    The problem i have is that when i select each month it is not saviing the previously inputed data for each month.

    Example = In January John's time is split accross 4 projects which is 25% x 4, Now lets say in February John is only working on 2 projects 50% x 2, i need each months inputted data to be saved to that month, currently it will only carry over the last lot of data inputted for the previous month.

    Hopefull this make sense.

    Many thanks
    Attached Files Attached Files

  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: Save inputed data for each month

    Hi,

    I can't visualise what you expect to see when the month and data are changed.

    Please create another area under the January table and manually add the results you expect to see. Clearly indicate which are the data cells that you have changed and which are ten result cells which you need automated.
    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
    03-07-2016
    Location
    london
    MS-Off Ver
    starter
    Posts
    4

    Re: Save inputed data for each month

    Hi Richard

    Thanks for the reply.

    The idea is to plan the resource allocation for the year.

    The user will only input the percentage allocated (percent cell) and the days (underneath) will be automatically calculated.

    The idea is to do this for each month however if i go back to a month that i have already allocated (Say from June back to January) it does not save what i have previously inputed for January (it just carries over).

    So if i allocate January and move on to February, Februarys percentages should be 0% but it carries over Januarys allocation.

    Hope this is clear.

    Many thanks

  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: Save inputed data for each month

    Quote Originally Posted by MuchieMac View Post
    Hi Richard

    Hope this is clear.

    Many thanks
    Sorry, but no it isn't. Please do as I said earlier and manually add the results you expect to see. A picture is worth a thousand words. Make it easy for us to help you.

  5. #5
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Save inputed data for each month

    Yes, this is indeed very unclear. But I think you want a template to save data for a particular month and when other month is selected then data for that month is loaded into the spreadsheet.

    Well for that, Excel isn't God that it would know by itself that this has to be done. You need to create a DataBase for that where data for all months is stored and then extract data for the selected month into the "Planned" sheet.

    Here, you would require 2 macros. First for loading the data from DataBase to the Planned sheet. Next for saving the data and changes back to DataBase from Planned sheet.

    Now, the macros provided below would consider each alternate row of data starting from the second row. So 2nd, then 4th, then 6th and so on... You can change the number of people in the macro.

    Before you begin with working with the macros. First enter number of people and number of projects in all the macros.
    Then run the macro named set_database which will set the database ready for use.

    Now after pasting all these 3 macros in a module you need to create a private macro in the sheet module. So right click on the sheet "Planned" and click on view code. Now paste the 4th macro there.

    So these 3 macros go in standard module-
    Please Login or Register  to view this content.
    The 4th macro goes in the Planned Sheet code-
    Please Login or Register  to view this content.
    Note- Column "T" has been used for keeping the list of all months for the dropdown and "U1" has been used as a helper cell for the macro.

    - You cannot change number of people in the middle of the functioning of these macros. PLEASE BE SURE ABOUT THE NUMBER OF PEOPLE YOU WOULD HAVE AS IT CANNOT BE CHANGED, ONCE SETUP IS GENERATED. If you change the number of people and run setup macro it would clear all existing data in database. So to be on the safer side input a large number of people, like if you have 10 people enter 15 or 20 instead so in near future this doesn't create problems.

    Check attached for an example.
    Advanced-Resource-Planning(5).xlsm

    Now try adding some data in the planned sheet and change the month from dropdown in Cell A1.
    Last edited by sourabhg98; 05-05-2016 at 07:10 AM.
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

+ 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. How to save every month data using formula
    By krishnaa_kumarr88 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-16-2015, 11:29 AM
  2. Data inputed to new rows...Y? Delete please
    By biznez in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-16-2015, 02:26 PM
  3. [SOLVED] How do I save to a folder that is the current month and have it save to next month"
    By shikano53 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-16-2014, 03:56 PM
  4. Copy inputed data onto another sheet,delete entries based on data inputed
    By 4evra in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-24-2013, 01:40 PM
  5. Hide sum total unless data is inputed
    By k9mikep in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-27-2010, 01:22 PM
  6. Replies: 3
    Last Post: 05-15-2009, 10:11 AM
  7. Displaying previous month titles from one inputed date
    By jasonmcbride in forum Excel General
    Replies: 6
    Last Post: 08-03-2007, 01:47 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