+ Reply to Thread
Results 1 to 10 of 10

conditional formatting with more than 3 conditions excel 2003

  1. #1
    Registered User
    Join Date
    08-20-2013
    Location
    malaysia
    MS-Off Ver
    Office 365
    Posts
    18

    conditional formatting with more than 3 conditions excel 2003

    Can anyone help with my conditional formatting with more than 3 conditions in excel 2003. It's using vba but i dont have the expertise to do so..
    Kindly help....
    Attached Files Attached Files

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: conditional formatting with more than 3 conditions excel 2003

    You can try this out.
    Right click the sheet tab, choose view code, then paste the code into the window that comes up. Make sure you enable macros.

    Please Login or Register  to view this content.
    Good Luck!!!


    If your original request is fulfilled please click the Thread Tools drop down box above your first post and choose solved.


    If you are happy with my help, please consider clicking the add reputation button in the lower left hand corner of this post.
    Attached Files Attached Files
    Last edited by skywriter; 04-21-2015 at 03:19 AM.
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  3. #3
    Registered User
    Join Date
    08-20-2013
    Location
    malaysia
    MS-Off Ver
    Office 365
    Posts
    18

    Re: conditional formatting with more than 3 conditions excel 2003

    hi thanks for the quick response, but i have tried but is doesnt work..did i miss something..
    i looked into the macro tab but there is nothing...

  4. #4
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: conditional formatting with more than 3 conditions excel 2003

    It works on the worksheet change event. It's like regular conditional formatting, you don't push a button it works when the numbers change.

  5. #5
    Registered User
    Join Date
    08-20-2013
    Location
    malaysia
    MS-Off Ver
    Office 365
    Posts
    18

    Re: conditional formatting with more than 3 conditions excel 2003

    you see i am a novice at visual basics, i did you you advised like right clicking on the sheet tab and pasting the code onto it,,,but nothing happens when the target cell value is changed,, it remains white...can you be so kind as to put the code into the sample sheet and reverting it to me...

  6. #6
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: conditional formatting with more than 3 conditions excel 2003

    Quote Originally Posted by samktlim View Post
    you see i am a novice at visual basics, i did you you advised like right clicking on the sheet tab and pasting the code onto it,,,but nothing happens when the target cell value is changed,, it remains white...can you be so kind as to put the code into the sample sheet and reverting it to me...
    It's already there. Post #2.

  7. #7
    Registered User
    Join Date
    08-20-2013
    Location
    malaysia
    MS-Off Ver
    Office 365
    Posts
    18

    Re: conditional formatting with more than 3 conditions excel 2003

    oh..i did not notice that..got it and tried it out...it did work but the last colour of blue does not work...
    also
    condition 4 should be e10 is equal to or bigger than d10 and
    condition 1 should be e10 equals to or smaller than c10

    i tried looking at the codes but i dont see any codes, can you make it visible so that i can alter the range as needed..
    and
    what if i want another column i10:i15 to have the same formatting conditions...

  8. #8
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: conditional formatting with more than 3 conditions excel 2003

    Look at my instructions for installing the code. Right click the sheet tab and choose the menu option view code. Another alternative is Alt + F11, on the left side of the window you should see the project explorer with the name of the spreadsheet and the sheet names. If not hit Control + R. If the sheet names don't show up click the + next to the workbook name to expand the sheet names. Right click on the sheet name in question and choose view code, or you should be able to double click on the sheet name in the project explorer and the code will show up. I'm not making the code invisible you have to make the effort to look at it.

    One.png

    Two.png



    oh..i did not notice that..got it and tried it out...it did work but the last colour of blue does not work...
    also
    My fault I was tired and I was copying and pasting and forgot to fix the code, but you're changing the condition from what is on your spreadsheet anyway.

    condition 4 should be e10 is equal to or bigger than d10 and
    That's nowhere to be found in your post and your spreadsheet says this.
    if e10=d10

    condition 1 should be e10 equals to or smaller than c10
    Same as above and this is what is in your spreadsheet.
    if e10=c10

    what if i want another column i10:i15 to have the same formatting conditions...
    You already know the answer to that question. There would need to be more code written.

    If your original request is fulfilled please click the Thread Tools drop down box above your first post and choose solved.



    If you are happy with my help, please consider clicking the add reputation button in the lower left hand corner of this post.
    Attached Files Attached Files
    Last edited by skywriter; 04-22-2015 at 11:58 AM.

  9. #9
    Registered User
    Join Date
    08-20-2013
    Location
    malaysia
    MS-Off Ver
    Office 365
    Posts
    18

    Re: conditional formatting with more than 3 conditions excel 2003

    hi again,
    thanks a million for your help and patience in solving my problem...
    i have finally got it and after much careful study of the code, should be able to tailor it to me needs...
    will contact you if any future issues turn up in future...

  10. #10
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: conditional formatting with more than 3 conditions excel 2003

    If your original request is fulfilled please click the Thread Tools drop down box above your first post and choose solved.

+ 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. Delete Conditional Formatting conditions but keep cell formatting - Excel 2010
    By tetreama in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2012, 08:28 PM
  2. Replies: 5
    Last Post: 01-07-2012, 08:18 AM
  3. Replies: 3
    Last Post: 07-12-2010, 09:52 AM
  4. Conditional Formatting - Excel 2003
    By badam5 in forum Excel General
    Replies: 1
    Last Post: 06-21-2010, 12:07 PM
  5. Conditional formatting for more than 3 conditions in Excel 2002
    By catherinemoore in forum Excel General
    Replies: 3
    Last Post: 08-13-2007, 06:24 AM

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