+ Reply to Thread
Results 1 to 7 of 7

Auto populate values for a month based on a previous months value

  1. #1
    Forum Contributor
    Join Date
    09-09-2013
    Location
    California, USA
    MS-Off Ver
    MS 365 Subscription
    Posts
    130

    Auto populate values for a month based on a previous months value

    Hello,
    I am struggling creating a formula that will auto populate a value for equipment servicing. Example: every 2,000 hours a service needs to happen. Based on the last service at 10,000, I need the month that is projected to be 12,000 hours to return a value "1". And then based on that I need the month that is projected to be 14,000 hours to return a value of "1" again and so on. I have attached an example. The highlighted red cells are the values I am trying to auto populate. The blue cells are the values to manually be entered.

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: Auto populate values for a month based on a previous months value

    hello, like this (and an adapted format to hide the 0)
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

  3. #3
    Forum Contributor
    Join Date
    09-09-2013
    Location
    California, USA
    MS-Off Ver
    MS 365 Subscription
    Posts
    130

    Re: Auto populate values for a month based on a previous months value

    Thank you, this is working great. But if I change the "Hours Per Month" Cell G1 to a value such as 440, the function no longer works. Can this same function be used?

  4. #4
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: Auto populate values for a month based on a previous months value

    Please Login or Register  to view this content.
    [/code]
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    09-09-2013
    Location
    California, USA
    MS-Off Ver
    MS 365 Subscription
    Posts
    130

    Re: Auto populate values for a month based on a previous months value

    This is working great for me. Thank you! I should have included this in my original example, but can the same type of function be used with dates instead of hours based on the column month they are in?
    I have added to the workbook you last attached.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: Auto populate values for a month based on a previous months value

    Please Login or Register  to view this content.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    09-09-2013
    Location
    California, USA
    MS-Off Ver
    MS 365 Subscription
    Posts
    130

    Re: Auto populate values for a month based on a previous months value

    Thank you! This works great!

+ 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. auto populate cells based on previous information
    By Navee138 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-18-2021, 01:00 PM
  2. Replies: 2
    Last Post: 07-31-2013, 02:00 PM
  3. Auto-populate lookup formula based on previous cells
    By Homeslice01 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-23-2013, 11:09 PM
  4. [SOLVED] Help with a system to auto populate month names based on current month
    By rosboy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-01-2012, 05:17 PM
  5. Macro - how to auto populate the data, based on the previous cell values
    By Avinash Kumar in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-21-2012, 02:03 PM
  6. Macro to auto populate the destination cell based on the values of the previous cell
    By Avinash Kumar in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-05-2009, 02:06 AM
  7. Macro - auto populate the values based on previous cell values
    By Avinash Kumar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-05-2009, 02:02 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