+ Reply to Thread
Results 1 to 4 of 4

Switching collumn in "Sum" Formula based on current date / month

  1. #1
    Registered User
    Join Date
    09-06-2022
    Location
    Germany
    MS-Off Ver
    Microsoft? Excel? f?r Microsoft 365 MSO (Version 2205) 32 Bit
    Posts
    5

    Question Switching collumn in "Sum" Formula based on current date / month

    Hello everyone,

    I created a table with KPI's for each month and wanted to have a collumn for the YTD status, so i can see how good we are doing as of right now.

    But for that I need the formula to switch the collumn and add the values of the current month to the existing one.

    I have to rows for each month: the planned value and the actual one. The later is easy to sum up because I am only adding data as the month is completed.
    The other one is tricky because i have planned values for each month of the year ahead.

    I need a way to have a "SUM" Formula that for example changes from 11/30 to October First automatically and adds the Oktober Data.
    I have marked the affected cells in yellow. The collumn that says "kumuliert" is the one registrating the YTD value.

    I dont know if I explained it good enough but if you have questions, fell free to ask them.


    Greetings Lucien
    Attached Files Attached Files
    Last edited by LushesQS; 09-06-2022 at 06:56 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Switching collumn in "Sum" Formula based on current date / month

    In Q9:

    =SUMIF(D10:P10,"<>",D9:P9)

    Copy down to other planned rows.

    See attached for how it should be in your locale.
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    09-06-2022
    Location
    Germany
    MS-Off Ver
    Microsoft? Excel? f?r Microsoft 365 MSO (Version 2205) 32 Bit
    Posts
    5

    Re: Switching collumn in "Sum" Formula based on current date / month

    Hi AliGW,

    Thanks for the quick reply. I think it works as intended.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Switching collumn in "Sum" Formula based on current date / month

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

+ 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: 3
    Last Post: 08-24-2022, 01:16 PM
  2. Date range on "Master" sheet to populate "month" sheets following
    By Lundie in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-03-2021, 02:15 PM
  3. "Date" is considered as "Month" while filtering data
    By Dwelsten in forum Excel General
    Replies: 2
    Last Post: 11-29-2017, 07:14 AM
  4. Replies: 1
    Last Post: 03-23-2015, 06:19 PM
  5. Replies: 1
    Last Post: 06-05-2014, 09:48 AM
  6. [SOLVED] "copy worksheet from previous month and rename to current month" modified?
    By jerrydiaz in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-07-2013, 08:18 AM

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