+ Reply to Thread
Results 1 to 8 of 8

Adding colour to result in a cell?

Hybrid View

  1. #1
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    If you are not into VBA coding the easiest way to do this is with conditional formatting.

    Ed

  2. #2
    Bob Phillips
    Guest

    Re: Adding colour to result in a cell?

    Not with 5 values it's not.

    --

    HTH

    Bob Phillips

    (remove nothere from the email address if mailing direct)

    "EdMac" <EdMac.224tez_1138094102.7414@excelforum-nospam.com> wrote in
    message news:EdMac.224tez_1138094102.7414@excelforum-nospam.com...
    >
    > If you are not into VBA coding the easiest way to do this is with
    > conditional formatting.
    >
    > Ed
    >
    >
    > --
    > EdMac
    > ------------------------------------------------------------------------
    > EdMac's Profile:

    http://www.excelforum.com/member.php...o&userid=30736
    > View this thread: http://www.excelforum.com/showthread...hreadid=504334
    >




  3. #3
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    Agreed,Bob, but not clear exactly what is required.

    Ed

  4. #4
    Pheasant Plucker®
    Guest

    Re: Adding colour to result in a cell?

    Thanks for the replies Bob & Ed,

    That first reply from you Bob nearly blew my mind...where on earth does that
    lot go?

    Conditional formatting sounds like it might be easier - if I were to reduce
    the number of colours needed from 5 down to 3 or even 2 how would
    conditional formatting work?

    An example or two would be nice - please excuse my ignorance and bear with
    me - I am a complete idiot when it comes to Excel (and many other things
    besides! :-)

    Thanks & regards,
    -=pp=



  5. #5
    Bob Phillips
    Guest

    Re: Adding colour to result in a cell?

    I did explain at the end how to implement it. If you want CF

    Select all the cells, starting at let's say A2

    Menu Format>Conditional Formatting
    Change Condition 1 to Formula Is
    Add formula of =AND(E5="Y",E19=1)
    Click Format
    Select Pattern tab
    Select red
    OK

    Click Add>>
    Change Condition 1 to Formula Is
    Add formula of =AND(E5="Y",E19=2)
    Click Format
    Select Pattern tab
    Select green
    OK

    OK

    obviously change the cells to suit.


    --

    HTH

    Bob Phillips

    (remove nothere from the email address if mailing direct)

    "Pheasant PluckerŪ" <pheasant@plucker.not> wrote in message
    news:OBzCkUPIGHA.3936@TK2MSFTNGP12.phx.gbl...
    > Thanks for the replies Bob & Ed,
    >
    > That first reply from you Bob nearly blew my mind...where on earth does

    that
    > lot go?
    >
    > Conditional formatting sounds like it might be easier - if I were to

    reduce
    > the number of colours needed from 5 down to 3 or even 2 how would
    > conditional formatting work?
    >
    > An example or two would be nice - please excuse my ignorance and bear with
    > me - I am a complete idiot when it comes to Excel (and many other things
    > besides! :-)
    >
    > Thanks & regards,
    > -=pp=
    >
    >




  6. #6
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    Bob's reply required you to be able to use VBA - that is fairly advanced stuff.

    With Conditional formatting (Format>conditional formatting), you can set the format according to what is in the cell OR what is in another cell in the same sheet.

    So if you want the the drop down box to be Red if there is 'N0' in it
    Condition1 Cell Value>Is equal to>="No"

    Then select format and you gett he chance to select the coulour of the font, cell infill and border.

    Then select 'ADD' and you get the chance to set another format - e.g. for Yes. Repeat the process.

    You can use al the normal Excel rules like IF, AND etc to build up complicated setups.

    Hope this helps

    Ed

+ 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