+ Reply to Thread
Results 1 to 4 of 4

Formula doesnt work until the date

  1. #1
    Registered User
    Join Date
    07-31-2015
    Location
    Honduras
    MS-Off Ver
    Office 2013
    Posts
    2

    Formula doesnt work until the date

    Hi,

    I'm looking for a formula that wont calculate until the first of each month(i.e. projected saving for July is $1000 dollars, on 1 Aug the formula would then *activate* and I would have my over/under for the month of July based on the money I saved. I already have a running tally formula that calculates the over/under for each month to a grand total for the year

    A1 is the "Goal Amount" (i.e. $1000)
    B1 is the "First Deposit" of the month. (i.e. deposited $540 from first paycheck)
    C1 is the "Remaining Deposit" needed to meet the goal for the month (i.e. $460 remaining)
    D1 is the "Second Deposit" of the month. (i.e. deposited $470 from second paycheck)
    E1 is the "Over/Under" for that month (i.e. Over $10)

    Formula is repeated for each month

    G2 is the running "Total Over/Under for the Year" tally

    I want to be able to edit the E1 formula so it does not calculate until the 1st of the next month (i.e. July's 2015 Over/Under would not calculate until 1 August 2015) and repeat for each other month of the year.

    Is it possible?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Formula doesnt work until the date

    Hi, welcome to the forum

    Not really sure what your formulas look like, but if you only want it to fire after the 1st of "this" month, then maybe something like this?

    =IF(A1>=EOMONTH(TODAY(),-1)+1,your formula,"")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    07-31-2015
    Location
    Honduras
    MS-Off Ver
    Office 2013
    Posts
    2

    Re: Formula doesnt work until the date

    FDibbins,

    =IF(E1>=EOMONTH(TODAY(),-1)+1,(B1+D1)-A1)

    this would be my formula, but how would I enter the date (i.e. 1 August 2015)

    Thank you for your warm greeting & quick reply. =)

  4. #4
    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,208

    Re: Formula doesnt work until the date

    E1 is a monetary value so you cannot compare it with the date. What is needed is a cell with "This month" (for each month?) e.g. 01/08/2015 which can then be compared in the formula.

    For example H1 contains 01/08/2015 then in E1 put ...

    =IF(EOMONTH(Today(),0)<H1,0,(B1+D1)-A1)

+ 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. [SOLVED] iferror formula for copying variables under certain conditions doesnt work
    By kronikjb in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-31-2015, 02:48 AM
  2. [SOLVED] any Ideas Why this INDEX MATCH formula doesnt work ?
    By ecelaras in forum Excel General
    Replies: 13
    Last Post: 11-30-2012, 06:55 AM
  3. why doesnt this work
    By cybereyeball in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-02-2012, 10:10 AM
  4. Formatting from Text to Date ; doesnt work
    By babarorhum in forum Excel General
    Replies: 1
    Last Post: 09-18-2008, 10:50 AM
  5. [SOLVED] events doesnt work
    By benitAAvi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-18-2005, 11:06 AM
  6. Formula doesnt work
    By Kevin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-23-2005, 09:06 PM
  7. [SOLVED] TAB Key doesnt work.
    By Murat D. Hekimo&eth;lu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-25-2005, 07:06 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