+ Reply to Thread
Results 1 to 9 of 9

Automatically change a cells reference cell at the start of every month?

  1. #1
    Registered User
    Join Date
    03-05-2008
    Location
    Ontario, Canada
    MS-Off Ver
    2010 Pro Plus
    Posts
    78

    Automatically change a cells reference cell at the start of every month?

    I'm working on a budget/tracking sheet specifically for myself.

    I have a row for groceries which is 2 columns, the name and the $ amount.

    The dollar amount references another sheet where there are 12 rows, 1 for each month, and the total amount I've spent that month.


    Is there any formula or function that would automatically change the dollar amounts reference to the next month?

    for instance, groceries for feb. gets the value from sheet2's January column, and when the month changes to march it should pull the value from sheet2's feb.
    Can this be doneautomatically?
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Automatically change a cells reference cell at the start of every month?

    If you change the months on Sheet2 to dates (1st Jan 2023, 1st Feb 2023 etc.) then you could use an Index/Match formula to reutrn the desired result.

    Have a look at the attached. I've changed them to dates, but formatted it to look like it did before, then used the formula below on Sheet1
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    BSB
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    03-05-2008
    Location
    Ontario, Canada
    MS-Off Ver
    2010 Pro Plus
    Posts
    78

    Re: Automatically change a cells reference cell at the start of every month?

    Awesome thanks, I'll play around with that a bit, it's working and starting to make a bit of sense the more I play with the formula

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Automatically change a cells reference cell at the start of every month?

    In plain English it says "Find the last day of the month that is two months previous to today's date then add 1 to it (that gives you the first day of the month before the current date). Then find that date in column A of Sheet2 and return the corresponding value from the same row but in column B."

    Make any more sense now ?

    BSB

  5. #5
    Registered User
    Join Date
    03-05-2008
    Location
    Ontario, Canada
    MS-Off Ver
    2010 Pro Plus
    Posts
    78

    Re: Automatically change a cells reference cell at the start of every month?

    That explanation clarifies it, and it seems to be working perfectly as the cell changed when the month did.

  6. #6
    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,184

    Re: Automatically change a cells reference cell at the start of every month?

    Please update your profile to include Location and Excel version (Os 365 + release, 2021 etc) as both are used when responding to queries
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  7. #7
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Automatically change a cells reference cell at the start of every month?

    Quote Originally Posted by DarkSoul View Post
    That explanation clarifies it, and it seems to be working perfectly as the cell changed when the month did.
    Glad I could help

    BSB

  8. #8
    Registered User
    Join Date
    03-05-2008
    Location
    Ontario, Canada
    MS-Off Ver
    2010 Pro Plus
    Posts
    78

    Re: Automatically change a cells reference cell at the start of every month?

    Quote Originally Posted by JohnTopley View Post
    Please update your profile to include Location and Excel version (Os 365 + release, 2021 etc) as both are used when responding to queries
    updated.....
    Any way to change a dumbass user name that was chosen in the height of a persons 2008 20-something-year-old-edgelord phase?

  9. #9
    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,184

    Re: Automatically change a cells reference cell at the start of every month?

    I would contact a moderator who should be able to advise if/how you can do a user name change: listed at the bottom of these threads

+ 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. change automatically the cell reference
    By anetanaro in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-17-2018, 12:43 PM
  2. [SOLVED] Hyperlink Formula Cell reference change Automatically
    By disepyon in forum Excel General
    Replies: 10
    Last Post: 07-23-2017, 05:58 AM
  3. Change reference based on month helper cell.
    By ammartino44 in forum Excel General
    Replies: 5
    Last Post: 03-23-2015, 12:36 AM
  4. Auto change cell reference every month
    By PC41 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-16-2014, 07:44 PM
  5. Replies: 1
    Last Post: 11-13-2013, 02:07 AM
  6. Replies: 11
    Last Post: 10-18-2008, 07:30 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