Results 1 to 3 of 3

Return "True" between dates and distribute $

Threaded View

  1. #1
    Registered User
    Join Date
    02-13-2017
    Location
    Georgia
    MS-Off Ver
    Office 2016
    Posts
    4

    Return "True" between dates and distribute $

    -I want to compare the start/end dates to each cell C2:P2, and if the dates occur there return a true.
    -I want to return a True (1), False (0) for each cell in row C2:P2 (yellow) in C3:P3 I will have the following formula to distribute dollars evenly along the "true" cells
    -My problem is b/c of the start/end dates I cannot find a formula that will give the true/fasle results for
    ALL dates in the range between start/end and allow for the formula to carry over across years.
    -The formula I found that MOST closely works the way I want it to is below, but it falls apart at end of years and when crossing over years as it only compares the # value of the month.
    =IF(AND(MONTH($G7)<=MONTH(I4),MONTH($H7)>=MONTH(J4)-1),1,0)
    Attached Files Attached Files
    Last edited by NeermannB; 02-19-2019 at 12:07 PM. Reason: Per request of community

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Regular Expression to Return "True" or False" if a word is found
    By wwconslt in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-02-2017, 09:54 PM
  2. [SOLVED] Check next row if value is, "FALSE," if "TRUE," return specified value from this row
    By Dave_Doodle in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-19-2015, 10:18 AM
  3. How can I get a value to return "Y" OR "N" instead of true or false
    By bunnyfrostr in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-04-2014, 05:44 PM
  4. [SOLVED] Want formula to return "True" if it contains an "*"
    By Scorpvin in forum Excel General
    Replies: 1
    Last Post: 07-20-2012, 04:03 PM
  5. VLookup to return "true" or "false"
    By Sph01 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-29-2011, 11:10 AM
  6. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  7. Replies: 7
    Last Post: 05-13-2006, 05:02 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