+ Reply to Thread
Results 1 to 5 of 5

Adding Cells based on being in current month

  1. #1
    Registered User
    Join Date
    12-13-2012
    Location
    Teesside
    MS-Off Ver
    Excel 2003
    Posts
    4

    Adding Cells based on being in current month

    Hi Guys I am looking to create a formula where I can Sum columns abcd i have marked below but only show the result if the date falls in the current month. Is this possible thank you. I want to get the results by row too not as a combined sum.

    SO for example row 1 would show 34 as currently in january and row 2 wouldnt show anything as in march.

    Hope you can help thank you

    Date x x x x x a b c d
    01/01/2019 10 9 8 7
    01/03/2019 2 2 2 2
    01/01/2019 2 0 0 0
    31/01/2019 2 0 0 0
    05/01/2019 2 0 0 0
    06/02/2019 5 0 0 0
    07/01/2019 2 2 0 3

  2. #2
    Registered User
    Join Date
    12-13-2012
    Location
    Teesside
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Adding Cells based on being in current month

    Untitled.png

    im not sure how to attach a extract from excel so i posted this image instead

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Adding Cells based on being in current month

    There are lots if ways to do this. Here's one:
    =IF(EOMONTH(A2,0)=EOMONTH(TODAY(),0),SUM(B2:E2),"")
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    12-13-2012
    Location
    Teesside
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Adding Cells based on being in current month

    thanks glenn

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Adding Cells based on being in current month

    You're welcome.



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

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. Selecting specific range of cells based on current month
    By sohshak in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-26-2016, 11:14 AM
  2. [SOLVED] Determine work days in current month or next month based on day of the month
    By sbrnard in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-29-2014, 05:14 PM
  3. [SOLVED] Pick a cell containing current month actulas based what the current month is.
    By vanbasten007 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-10-2014, 01:17 AM
  4. [SOLVED] Sum cells based on current Month
    By nicko54 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-05-2013, 10:22 PM
  5. VBA: Piviot table Month auto select based on current month?
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-24-2013, 08:45 AM
  6. [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
  7. [SOLVED] VBA to identify the current month and previous month based on system date
    By ravikumar00008 in forum Excel General
    Replies: 10
    Last Post: 07-26-2012, 10:04 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