+ Reply to Thread
Results 1 to 7 of 7

Need assistance with IF formula

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    02-25-2010
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2010
    Posts
    138

    Need assistance with IF formula

    Good Afternoon,

    I have the formula below:

    =IF(ISBLANK(J2530),"",IF(J2530<TODAY(),TODAY(), J2530))
    Which works perfectly. If the date in Cell J2530 is before todays date, it shows up as todays date.

    Now, my problem begins, I need to run the same formula, but also have it so that if the word "DUE" is in Cell H2530 it reads todays date.

    I have the bodged the formula below, but alas it doesnt work.

    Can anybody assist in making the magic happen

    =IF(ISBLANK(J2525),"",IF(J2525<TODAY() OR(IF(ISERR(SEARCH("DUE",H2525)),TODAY(), J2525)))
    Many Thanks
    Ross

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Need assistance with IF formula

    Let's try

    Formula: copy to clipboard
    =IF(ISBLANK(J2530),"",IF(or(h2530="DUE",J2530<TODAY()),TODAY(), J2530))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    04-19-2013
    Location
    Buffalo, NY
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Need assistance with IF formula

    Try this. might be what you need:

    =IF(ISBLANK(J2530),"",IF(OR(J2530<TODAY(),H2530="due"),TODAY(),J2530))
    http://www.ExcelbyJoe.com

  4. #4
    Registered User
    Join Date
    04-19-2013
    Location
    Buffalo, NY
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Need assistance with IF formula

    Lol, wow answers come fast in this forum while figuring out an answer!

  5. #5
    Forum Contributor
    Join Date
    02-25-2010
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2010
    Posts
    138

    Re: Need assistance with IF formula

    Both worked.

    Thanks both!!!

    Greatly Appreciated!

  6. #6
    Forum Contributor
    Join Date
    02-25-2010
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2010
    Posts
    138

    Re: Need assistance with IF formula

    Can the code be altered for the Cell to be blank if H2517 contains "PROFORMA" "TBC" OR "YES"

    =IF(ISBLANK(J2517),"",IF(OR(H2517="DUE",J2517<TODAY()),TODAY(), J2517))
    Thanks
    Ross

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Need assistance with IF formula

    Maybe this...

    =IF(OR(H2517={"PROFORMA","TBC","YES"},J2517=""),"",IF(OR(H2517="DUE",J2517<TODAY()),TODAY(),J2517))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Formula Assistance
    By rhinoc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-29-2012, 08:23 AM
  2. Formula Assistance
    By Garfield210 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-10-2011, 05:20 AM
  3. Formula assistance
    By megan7775 in forum Excel General
    Replies: 3
    Last Post: 05-23-2011, 08:50 AM
  4. Formula Assistance
    By Dawn V in forum Excel General
    Replies: 6
    Last Post: 04-02-2008, 01:24 PM
  5. [SOLVED] Formula assistance
    By [email protected] in forum Excel General
    Replies: 4
    Last Post: 12-08-2005, 01:25 AM

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