+ Reply to Thread
Results 1 to 9 of 9

Date Condition in formula

  1. #1
    Registered User
    Join Date
    01-20-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    28

    Date Condition in formula

    Date : 21st December, 2018.

    Hello & Greetings to All Experts….

    Attaching herewith a xlsx file. I need to sum columns D, F, G & I for the transactions dated prior to any date typed in cell B93. I have put a formula in F93 but it does not work.

    Please help.

    Thank you all.
    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,951

    Re: Date Condition in formula

    I feel that attaching the Excel file mentioned as opposed to a copy of your post in a Word document would be a little more helpful.

    BSB

  3. #3
    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
    53,049

    Re: Date Condition in formula

    I agree. Why would you attach a word doc when your question is related to excel?
    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

  4. #4
    Registered User
    Join Date
    01-20-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Date Condition in formula

    Very Sorry for the Wrong attachment by mistake. The correct file is attached herewith... Once again sorry...
    Attached Files Attached Files

  5. #5
    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
    53,049

    Re: Date Condition in formula

    Try this...
    D93=SUMIF($B$4:$B$90,"<="&$B$93,D4:D90)

  6. #6
    Valued Forum Contributor jtakw's Avatar
    Join Date
    05-05-2018
    Location
    CA, USA
    MS-Off Ver
    2016
    Posts
    668

    Re: Date Condition in formula

    Hi,

    Ford's (FDibbins) formula above should work for you.

    So, just a side note, Why are you "array entering" your simple SUM formulas in F92 and I92 ?
    It's not necessary at all.

  7. #7
    Registered User
    Join Date
    01-20-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Date Condition in formula

    Thank you very much...It works perfectly...

  8. #8
    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
    53,049

    Re: Date Condition in formula

    Happy to help

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,178

    Re: Date Condition in formula

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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: 02-02-2014, 04:26 AM
  2. [SOLVED] Need formula with date and if condition
    By kishoremcp in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-26-2012, 06:09 AM
  3. Formula help - If condition on a date field
    By gpk_17 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-17-2012, 12:48 AM
  4. condition formula based on date
    By pervez in forum Excel General
    Replies: 3
    Last Post: 12-20-2011, 04:18 AM
  5. Excel 2007 : due date condition formula
    By pervez in forum Excel General
    Replies: 1
    Last Post: 12-20-2011, 01:40 AM
  6. formula to return # hrs after time a day/date condition
    By adhide in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-30-2009, 07:55 PM
  7. One more condition with Date Formula
    By mykaltx in forum Excel General
    Replies: 1
    Last Post: 04-12-2005, 03:11 PM
  8. One more condition with Date Formula
    By mykaltx in forum Excel General
    Replies: 0
    Last Post: 04-12-2005, 02:07 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