Results 1 to 3 of 3

SUM IF Current Month only

Threaded View

  1. #1
    Registered User
    Join Date
    03-20-2011
    Location
    South-Africa
    MS-Off Ver
    Excel 2010
    Posts
    14

    SUM IF Current Month only

    Good day to all.

    I am using the following formula to add up figures entered in G2, H2, I2 and J2 if the month entered in B2, C2, D2, and E2 are the current month which is May. =SUM(IF(MONTH(B2:C2:D2:E2)=5,G2:H2:I2:J2,0)). This is working just fine except for one small thing. If I want to use this workbook next month I need to change the "=5" to "=6" to apply the calculation for June only. So when I open this workbook next month it must automatically change to add up only June's values.

    Thank you.

    Lukas.
    Last edited by loekie; 05-06-2012 at 07:45 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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