+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting, per row reference to cell in row

  1. #1
    Registered User
    Join Date
    08-07-2013
    Location
    Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    2

    Cool Conditional formatting, per row reference to cell in row

    Hey there
    I have seen this forum and was very happy as I have an issue with excel 2010 that i couldn't solve.
    I wrote a condition which works perfectly for one row and would like be able to copy it for the remaining 200 rows. But it doesn't work.

    I want to do the following for each line
    if the cell in row c contains "1", "2", or "3" then the color of rows G to H should change (to blue) that the users sees that he should not forget entries in those rows.
    The rule description i have done in the conditional formatting rules manager is the following:
    =OR($C24="1"; $C24="2";$C24="3")

    The formula works fine (for row 24) but I would have to adapt it to every line therefore I tried just to copy it down. And there it gets strange to me: all lines meeting the condition get blue (what is good) but if I change after copying a cell in row C t(e.g. from "1" to "500") then the blue color remains and does not flip back to the original color (what I would like)

    Is there another way which is copyable for the other lines in the conditional formatting? Or do I have to go for VBA? How would this then look like?

    I would be very happy if somebody would accept the challenge to help me

  2. #2
    Forum Contributor
    Join Date
    07-30-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    121

    Re: Conditional formatting, per row reference to cell in row

    Maybe look at this thread.
    http://www.excelforum.com/excel-char...ster-list.html

  3. #3
    Forum Contributor
    Join Date
    07-30-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    121

    Re: Conditional formatting, per row reference to cell in row

    How about posting a sample sheet to give us more of an idea of wat your wanting (make sure to remove sensitive informaiton)

  4. #4
    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: Conditional formatting, per row reference to cell in row

    Highlight your range(example C24:C100) and put your formula in CF rules without "" around your numbers.

    =OR($C24=1;$C24=2;$C24=3)
    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.

  5. #5
    Registered User
    Join Date
    08-07-2013
    Location
    Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Conditional formatting, per row reference to cell in row- auto refresh did not work

    Dear all I found out that in the sample sheet I prepared there was no problem with the copying of the formula but due to the complexity of the original sheet (over 300 Lines) somehow there was no auto-refresh of the conditional formatting.
    For this I found the answer in the microsoft forum:


    http://answers.microsoft.com/en-us/o...d-47cbfe9378d0

    credit to the original poster:

    -------------------------------------------------------------------------------------------------------
    Solution for the auto refresh problem with conditional formatting in Excel 2007
    Koen replied to Paul Strike
    12-Feb-10 12:17 PM

    1. Just set up your conditional formatting in the cell's you want.
    2. Make sure you activate the "Developer" tab in the menu.
    3. Do this by clicking on the Office button, click on Excel options and in the "Popular" section check the box ""Show developer tab in the Ribbon".
    4. Click on the Developer menu and go to the Visual basic view.
    5. Click on the menu View and select "properties Window". In that list you can find the "EnableFormatConditionsCalculation".
    6. Set this value to "True" and the auto refresh will work.
    7. Perform this action for all tabs in your sheet.
    -------------------------------------------------------------------------------------------------------



    Thank you anyway for your help

+ 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. Conditional Formatting - reference another cell value
    By momossy in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-17-2010, 10:44 AM
  2. Use Conditional Formatting When Reference Cell Not Blank
    By damalco in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-09-2010, 02:09 PM
  3. Replies: 2
    Last Post: 09-21-2008, 04:47 AM
  4. Conditional Formatting - Reference another cell
    By MitchU in forum Excel General
    Replies: 1
    Last Post: 11-21-2007, 05:41 PM
  5. cell reference changes and conditional formatting
    By Maggie Boby in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-10-2006, 11:45 PM

Tags for this Thread

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