+ Reply to Thread
Results 1 to 6 of 6

Help needed with changing colour of a row when a value is selected

  1. #1
    Registered User
    Join Date
    08-08-2017
    Location
    Leamington Spa, England
    MS-Off Ver
    2016
    Posts
    11

    Help needed with changing colour of a row when a value is selected

    Guys, Can anyone please help me.

    I use the attached spreadsheet for work and what I need is for when I select the value of 'Held In The Depot' 'Disposed' or 'Customer Collect' from Column G I need the whole row from A to O changing to the colour that I have set up through Conditional Formatting.

    So Yellow for 'Held In Depot' Red for 'Disposed' and Green for 'Customer Collect'

    For the life of me I just can't work it out how I make the whole row (A to O) change to the colour determined by what I select in the drop down list I have created.

    Please could someone have a look at the attached and help me out.

    Thanks in advance (and I hope this makes sense)
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,797

    Re: Help needed with changing colour of a row when a value is selected

    Select A2 to end of data in column O & use this formula
    =$G2="Held in the depot"

  3. #3
    Registered User
    Join Date
    08-08-2017
    Location
    Leamington Spa, England
    MS-Off Ver
    2016
    Posts
    11

    Re: Help needed with changing colour of a row when a value is selected

    Quote Originally Posted by Fluff13 View Post
    Select A2 to end of data in column O & use this formula
    =$G2="Held in the depot"
    Many Thanks for you quick reply, please excuse my 'newbie' question but do i do this through conditional formatting?

    Thanks again

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,797

    Re: Help needed with changing colour of a row when a value is selected

    Yes you do, once you have selected the data in conditional formatting select New rule, then use a formula & put that formula into the box under "Format values where this formula is true", then select the format you want.

  5. #5
    Registered User
    Join Date
    08-08-2017
    Location
    Leamington Spa, England
    MS-Off Ver
    2016
    Posts
    11

    Re: Help needed with changing colour of a row when a value is selected

    Quote Originally Posted by Fluff13 View Post
    Yes you do, once you have selected the data in conditional formatting select New rule, then use a formula & put that formula into the box under "Format values where this formula is true", then select the format you want.
    Many Thanks - I really appreciate your help

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,797

    Re: Help needed with changing colour of a row when a value is selected

    You're welcome & thanks for the feedback.

+ 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. Excel 2016: Changing the Colour of a shape to a non standard colour
    By ajay_gajree in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2018, 05:51 AM
  2. Replies: 11
    Last Post: 01-16-2018, 09:03 AM
  3. Change Selected Cell Colour ...only whilst selected
    By mrgrotey in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-27-2017, 07:40 AM
  4. [SOLVED] Changing the colour of selected cells based on a single value
    By gpktm in forum Excel General
    Replies: 5
    Last Post: 02-26-2017, 11:04 PM
  5. Macros assigned Shape, colour changing code needed please
    By lcartwright in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-14-2014, 05:36 AM
  6. Replies: 3
    Last Post: 02-13-2014, 06:31 AM
  7. changing colour of selected cell
    By samg27 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-16-2008, 08:35 AM

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