+ Reply to Thread
Results 1 to 5 of 5

Trouble with IF function part 2

Hybrid View

  1. #1
    Registered User
    Join Date
    10-31-2012
    Location
    Central Texas
    MS-Off Ver
    Excel 2010
    Posts
    12

    Trouble with IF function part 2

    Today apparently isn't my day for IF functions.

    What I'm trying to do is this function calculation for cell AC if cell S6 is blank then insert function (NOW) & if possible highlight cell pale yellow, if S6 contains data /text then =S6.

    Any and all help is appreciated.

    Eric

  2. #2
    Forum Contributor
    Join Date
    03-06-2013
    Location
    Salt Lake City, Utah
    MS-Off Ver
    2007, 2010
    Posts
    127

    Re: Trouble with IF function part 2

    Ecruse,

    In AC try:

    =IF(ISBLANK(S6),NOW(),S6)

    Conditional formatting for AC:

    =LEN(S6)>0
    Attached Files Attached Files
    Last edited by BrownBoy; 09-18-2014 at 01:34 PM.
    BrownBoy

    If happy, mark "SOVLED" & add to "REP"

  3. #3
    Registered User
    Join Date
    10-31-2012
    Location
    Central Texas
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Trouble with IF function part 2

    Thank You the IF statement works perfect, not sure how to apply the conditional formatting so that it only effects the cells where NOW was applied.

  4. #4
    Forum Contributor
    Join Date
    03-06-2013
    Location
    Salt Lake City, Utah
    MS-Off Ver
    2007, 2010
    Posts
    127

    Re: Trouble with IF function part 2

    For the formatting try:

    "Home" tab > "Styles" group > "Conditional Formatting" > "New Rule > "Use a formula to determine which cells to format" > enter the formula and adjust the format > click "OK"

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Trouble with IF function part 2

    A point of information, the NOW() function will change every time the sheet recalculates so you cannot use your formula as a time stamp if that is what you are trying to do.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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. Trouble with FALSE part of IF Statement
    By TeeDoubleYa in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-19-2014, 09:38 AM
  2. Trouble with a blank " " value as part of a VBA function
    By LydiasDad in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-28-2014, 03:35 PM
  3. Having trouble with the IF Function.
    By nikkismella1 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 08-26-2011, 05:12 AM
  4. [SOLVED] Having trouble with AVG Function
    By karto2k@yahoo.com in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-17-2006, 04:25 AM
  5. IF function trouble
    By raye in forum Excel Formulas & Functions
    Replies: 23
    Last Post: 09-06-2005, 09: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