+ Reply to Thread
Results 1 to 4 of 4

Shading cells based on Row 1 value

  1. #1
    Registered User
    Join Date
    02-29-2008
    Posts
    4

    Shading cells based on Row 1 value

    Hi


    My spreadsheet contains data from Column A to AZ and down to row 62 and I am looking to find a way to shade cells based on the top cell value.

    I need to do this for every column in the range.


    A B C D E
    1 Approved Not Approved Approved Approved Not Approved
    2 Dont Shade Dont Shade Dont Shade Dont Shade Dont Shade
    3 Dont Shade Dont Shade Dont Shade Dont Shade Dont Shade
    4 Shade Dont Shade Shade Shade Dont Shade
    5 Shade Dont Shade Shade Shade Dont Shade
    6 Shade Dont Shade Shade Shade Dont Shade
    7 Dont Shade Dont Shade Dont Shade Dont Shade Dont Shade


    Basically everytime the cell in row 1 contains Approved then the cells below are shaded.

    Can anyone assist with this please?

    Thanks

    Iain

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Shading cells based on Row 1 value

    Highlight A1:AZ62 (selecting A1 first) and apply a Conditional Format Formula based rule of:

    =A$1="Approved"
    set format accordingly

  3. #3
    Registered User
    Join Date
    02-29-2008
    Posts
    4

    Re: Shading cells based on Row 1 value

    Thanks but that highlights everything... I only want to highlight certain cells...

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Shading cells based on Row 1 value

    If you entered correctly (ie A$1="Approved" not $A$1="Approved") then you should find only columns A, C & D are formatted.

    If in doubt please post a sample in which you've implemented the prior suggestion but have failed to obtain desired results.

+ 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