+ Reply to Thread
Results 1 to 2 of 2

Formula to Only Add when Date in Range

  1. #1
    Registered User
    Join Date
    07-04-2012
    Location
    Sunshine Coast
    MS-Off Ver
    Excel for Mac 2011
    Posts
    83

    Exclamation Formula to Only Add when Date in Range

    Keep hitting a wall on this one

    The goal is for the Daily Run Rate in O2 (1.25) to be added to the Running GA Target in Column L only if the Date in Column D is NOT within the Listed Dates on the Details Tab (between B18:B81)

    Have been able to get a formula to work, yet, it only works once and another forumla I receive an error on

    The first formula that works is this one in [Cell N5], however, once we get to the second date it does not work
    The second formula feels like the better one, however, only ever returns the error "Error: Did not find value '43570' in MATCH evaluation" the formula is [Cell N7]

    My other thought is to create an Open / Closed status in Column C, not sure on the best way to do that

    Sample file attached
    Attached Files Attached Files

  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
    53,048

    Re: Formula to Only Add when Date in Range

    I am a little confused

    You say you want to add 1.25 to rows with dates NOT matching in Details, yet the very 1st match there is (L8) you ADD 1.25?

    I used this in P2, copied down...
    =P1+IF(ISERROR(MATCH(D2,Details!$B$18:$B$80,0)),$O$2,0)
    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

+ 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: 6
    Last Post: 12-17-2018, 05:45 PM
  2. Replies: 4
    Last Post: 03-21-2018, 09:25 AM
  3. Replies: 1
    Last Post: 11-24-2015, 03:00 AM
  4. [SOLVED] how to match one date range with another date range -formula
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-05-2014, 06:18 PM
  5. [SOLVED] Apply formula to one date range, another to another date range
    By Caulerpa in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-10-2014, 11:04 AM
  6. Replies: 15
    Last Post: 04-08-2013, 12:40 PM
  7. Formula for determining if two date columns fall within specific date range
    By Igottabeme in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-20-2006, 09:55 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