+ Reply to Thread
Results 1 to 11 of 11

IFblank function

  1. #1
    Forum Contributor
    Join Date
    04-28-2004
    Location
    Tokyo
    MS-Off Ver
    Office 2016 pro plus
    Posts
    175

    IFblank function

    I have my headers in Row 1: an estimated date in J2 and Date Arrived in K2

    The est ship date will have a date, then when I put a date in the date arrived, I want J2 to say completed.

    I tried =IF(ISBLANK($K$2),"","Complete") and =IF(ISBLANK(K2),"","Complete") but it doesn't seem to work. It worked once, then I tried it again and everytime I insert text it overwrites my formula.

  2. #2
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: IFblank function

    You can't have a formula in a cell, overwrite it with a date, and then expect it to still have the formula in there.

    Without using another column to show whether the delivery is complete the way I would do it is to use conditional formatting to show which jobs are complete.

  3. #3
    Forum Contributor
    Join Date
    04-28-2004
    Location
    Tokyo
    MS-Off Ver
    Office 2016 pro plus
    Posts
    175

    Re: IFblank function

    So do I just copy my formula into a conditional format? If so. I tried it but it doesn't work.

  4. #4
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: IFblank function

    =not(islank(k2))

  5. #5
    Valued Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2019
    Posts
    716

    Re: IFblank function

    If you don't mind using a macro, put this in the sheet code. Right click the sheet tab, click view code & paste it there
    Please Login or Register  to view this content.
    Cheers
    Phil

  6. #6
    Forum Contributor
    Join Date
    04-28-2004
    Location
    Tokyo
    MS-Off Ver
    Office 2016 pro plus
    Posts
    175

    Re: IFblank function

    gak,

    I am assuming you meant =not(isblank(k2)) I copied that into conditional formatting but it had no effect.


    Philb1, Sorry, but our system doesn't allow macros.

  7. #7
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: IFblank function

    You can simply try...... ..

    =K2<>""
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  8. #8
    Forum Contributor
    Join Date
    04-28-2004
    Location
    Tokyo
    MS-Off Ver
    Office 2016 pro plus
    Posts
    175

    Re: IFblank function

    Where do I place that formula? In the conditional formatting or in J2 or K2. I tried placing it in Conditional formatting and it didn't do anything. I also tried placing it in the cells, but no luck

  9. #9
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: IFblank function

    Suppose you want to conditional format column K if you input values in col. K, then select K2 to down the cells in the col. K (say K100, it depends on the data in col. K so adjust K100 to as per your need). While K2 is still the active cell, follow below steps...

    Conditioni Formatting --> New Rule --> Select a Rule Type --> Use a formula to determine which cells to format --> in the formula box below Format values where this formula is true:--> place the formula in the formula box --> Click on Format to format the cell as per your choice --> OK

    Please Login or Register  to view this content.

  10. #10
    Valued Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2019
    Posts
    716

    Re: IFblank function

    [QUOTEPhilb1, Sorry, but our system doesn't allow macros.[/QUOTE]

    In that case you'll have to use a different cell, as gak67 says, you can't enter manually into a cell with a formula, without deleting the formula. Or use conditional formatting to change the colour of the cell if it contains a date
    What about Data Validation? If you restrict J2 to be a date the same as K2, greater than K2, not equal to K2, or whatever to K2, & Conditional Format it to change colour if the condition is met. That way you can't enter anything that doesn't meet the Data Validation condition of being a date & J2 will change colour when you do.
    Cheers
    Phil

  11. #11
    Forum Contributor
    Join Date
    04-28-2004
    Location
    Tokyo
    MS-Off Ver
    Office 2016 pro plus
    Posts
    175

    Re: IFblank function

    Thank you for your help. I really appreciated your time and effort. It seems no matter how much I study and learn, I get on this forum and I feel dumb again..Some true experts on here.

+ 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: 13
    Last Post: 04-08-2014, 05:46 AM
  2. [SOLVED] IFBLANK or ISBLANK function
    By Stashie in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 05-10-2013, 05:44 PM
  3. [SOLVED] IFBLANK formula to output only certain columns and specific texts
    By Isara in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-31-2012, 08:34 PM
  4. How to write IFBLANK user defined function
    By Thamizh in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-31-2011, 06:28 AM
  5. Vlookup and ifblank
    By dcaraher in forum Excel General
    Replies: 3
    Last Post: 03-16-2010, 07:07 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