+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting with a cell that concatenates

  1. #1
    Registered User
    Join Date
    04-10-2013
    Location
    Wisconsin, US
    MS-Off Ver
    2010
    Posts
    13

    Conditional formatting with a cell that concatenates

    So I have a few columns

    Column C = Request Date
    Column D = Response Date
    Column E (hidden) = difference between Col D and Col C. this has the formula "=IF(D2<>"",D2-C2,"")"
    Column F = Response Time. This has the concatenation that says "=CONCATENATE(E2," days")"

    Maybe I'm overthinking this, and most likely I am. When I get formulas stuck in my head I can't get rid of them and I'm convinced that I need to use them everywhere.

    What I need this to do is have the "Response Time" column tell me the difference between D and C, but only if D has a value. If it is blank, I want nothing to show up in column F.
    Last edited by tatumrae; 04-11-2013 at 01:45 PM.

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Conditional formatting with a cell that concatenates

    How about combining the two:

    Please Login or Register  to view this content.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Registered User
    Join Date
    04-10-2013
    Location
    Wisconsin, US
    MS-Off Ver
    2010
    Posts
    13

    Re: Conditional formatting with a cell that concatenates

    Quote Originally Posted by ConneXionLost View Post
    How about combining the two:

    Please Login or Register  to view this content.
    And it was that simple. Knew that I was overthinking it.

    THANK YOU!

  4. #4
    Registered User
    Join Date
    04-10-2013
    Location
    Wisconsin, US
    MS-Off Ver
    2010
    Posts
    13

    Re: Conditional formatting with a cell that concatenates

    I'm hoping I can get one more question answered on this thread, since it relates to the same formulas.

    The code that I was given works. But now I have another condition to throw in there. I need it to also follow the rule that if D2 says "NO RESPONSE", then E2 is blank. If it doesn't contain "NO RESPONSE" then it needs to follow the first condition.

    Sorry to sound like such a beginner with this conditional formatting, but it's been awhile since I've dealt with if statements; they really get the best of me!

  5. #5
    Registered User
    Join Date
    04-10-2013
    Location
    Wisconsin, US
    MS-Off Ver
    2010
    Posts
    13

    Re: Conditional formatting with a cell that concatenates

    Quote Originally Posted by tatumrae View Post
    I'm hoping I can get one more question answered on this thread, since it relates to the same formulas.

    The code that I was given works. But now I have another condition to throw in there. I need it to also follow the rule that if D2 says "NO RESPONSE", then E2 is blank. If it doesn't contain "NO RESPONSE" then it needs to follow the first condition.

    Sorry to sound like such a beginner with this conditional formatting, but it's been awhile since I've dealt with if statements; they really get the best of me!
    Figured it out! Thanks for looking.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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