+ Reply to Thread
Results 1 to 2 of 2

Using IF function for dates

Hybrid View

  1. #1
    Registered User
    Join Date
    03-07-2017
    Location
    Fountain Hills, AZ
    MS-Off Ver
    15.29.1 for Mac
    Posts
    1

    Question Using IF function for dates

    Hello, I'm working on a cash flow/budgeting spreadsheet.

    I have a column for "invoice due date". In separate columns, I want to display the total dollar amount of another cell, only IF the due date falls in certain dates.

    So basically, if the Date in A1 is greater than 5/1/2017 and less than 5/31/2017, then cell C1 should show the total dollar amount from cell B1, otherwise it should show 0 in C1.

    I've tried variations of IF and AND formulas and I'm not getting anywhere.

  2. #2
    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,399

    Re: Using IF function for dates

    Look at SUMIFS

    =SUMIFS(B:B,C:C,">=" & G1,C:C,"<=" & G2)

    where G1 and G2 are start/end period dates

+ 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. Instr function and dates, Value of Dates? doubling of results
    By ExcelJWS in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-19-2016, 11:38 PM
  2. [SOLVED] Subtracting MONTH Function from another MONTH Function not working for Fiscal dates
    By amartin575 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-16-2013, 10:52 AM
  3. IF function with dates?
    By Sammi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-30-2012, 09:29 AM
  4. COUNTIF function with Dates & due dates.
    By kcowper in forum Excel General
    Replies: 3
    Last Post: 03-10-2011, 12:51 AM
  5. Blank function/Null function for missing dates
    By knowledgeiskey in forum Excel General
    Replies: 2
    Last Post: 05-21-2010, 05:39 PM
  6. if function for dates
    By corinne.lewis in forum Excel General
    Replies: 1
    Last Post: 02-28-2008, 01:07 PM
  7. using dates in an if function
    By graffjim@hotmai in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-28-2008, 06:27 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