+ Reply to Thread
Results 1 to 4 of 4

Background changes conditionally

  1. #1
    Registered User
    Join Date
    11-15-2004
    Posts
    33

    Background changes conditionally

    Hi all,

    I have a spreadsheet that shows the floor plan layout of my call centre.
    On each desk, the desk number and identity are displayed. I would like to colour the background for those pcs that are on the same subnet.

    I have a sheet called data - it contains Table Number, Desk Number, PC ID, IP Address.

    How could I get it to change the background colour if the pc is on subnet 162, and set a different colour for those on subnet 167

    any ideas?

  2. #2
    Forum Contributor keithl816's Avatar
    Join Date
    03-18-2005
    Location
    Georgia
    MS-Off Ver
    2000
    Posts
    188
    Hi peterg,

    If the cell vaule is subnet 162 or subnet 167 you could try this

    Place this in the cell subnet 162 etc.. would appear
    Try Format/Conditional Formatting/Cell Value is/Equal to/Subnet 162/Click on Format button/Click on Patterns Tab/Pick your color

    Click the add button and repeat Cell Value is/Equal to/Subnet 167/click on format Button/Click on Patterns tab/Pick your color
    You can do this up to three different conditions.

    If the cell value is in another cell besides your target cell then you could try this

    Place this in the cell you want highlighted
    Format/Conditional Formatting/Formula Is/=b1="subnet 162"/Click on Formatt Button/Click on Patterns Tab/Pick your color and so on.
    Replace b1 with the cell you are referencing.

    Hope this helps

  3. #3
    Registered User
    Join Date
    11-15-2004
    Posts
    33
    Thanks for that.

    Unfortunately the subnet 162 & subnet167 details are contained on another worksheet within the spreadsheet.

  4. #4
    Forum Contributor
    Join Date
    05-03-2004
    Location
    England
    MS-Off Ver
    2003 Excel
    Posts
    118
    Peter,
    could you not put the subnet number in a cell adjacent to the desk, maybe keep the text colour the same as the background so it is not visible.
    You could then format using this cells value as above.

    HTH.
    Greg.

    "The most overlooked advantage of owning a computer is that if they foul up there's no law against whacking them around a bit."

+ 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