+ Reply to Thread
Results 1 to 3 of 3

Where cell contains specific text then subtract D1-today()

  1. #1
    Registered User
    Join Date
    06-26-2012
    Location
    Limerick, Ireland
    MS-Off Ver
    Excel 2016
    Posts
    52

    Where cell contains specific text then subtract D1-today()

    Hi Guy's,

    Please see file attached,
    column A-C = mock up data
    column D = formula required "where C3 = "Pending Review", calculate B3-today()"
    Column E = expected result
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Where cell contains specific text then subtract D1-today()

    Try this in D2:

    =IF(C2="Pending Review",B2-TODAY(),"")

    Format as General, then copy down as required.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    06-26-2012
    Location
    Limerick, Ireland
    MS-Off Ver
    Excel 2016
    Posts
    52

    Re: Where cell contains specific text then subtract D1-today()

    Thanks worked a dream, was missing "" from my attempts

+ 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. If certain cell is empty, then subtract another cell value from Today's date
    By fatal.lordes in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-06-2018, 10:18 PM
  2. Subtract values without change value in specific cell
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-19-2017, 03:34 PM
  3. Replies: 1
    Last Post: 02-09-2016, 08:59 AM
  4. [SOLVED] subtract from a specific amount but keep total in same cell?
    By michaelDDW in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-03-2015, 08:37 PM
  5. Macro code for today's date + text copied to specific cell
    By ash3angel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-24-2015, 09:35 AM
  6. Replies: 2
    Last Post: 03-05-2015, 10:58 PM
  7. How do I subtract today's date from one before 1900?
    By Bob Martin in forum Excel General
    Replies: 3
    Last Post: 10-12-2005, 08:05 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