Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7011139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:05:20+00:00 2026-05-27T22:05:20+00:00

Using Excel 2010 and trying to work on some semi-complicated conditional formatting. The spreadsheet

  • 0

Using Excel 2010 and trying to work on some semi-complicated conditional formatting.
The spreadsheet is a roster system (don’t ask why…the bosses insist it’s the best).

I have 1 column which denotes the role for each person.
i.e. Person 1 – Level 1
Person 2 – Level 2
Person 3 – Level 1

And then I have a large area which denotes what hours they are working. Each cell is a half hour block, if the person is working, a 1 is placed in the block.

What I want to do is highlight work hours a certain color based on what role they are working. Something like green for Level 1, red for Level 2, etc., etc.

I was trying something like this:

=INDIRECT("D"&ROW())="Level 1"&VALUE=1

No luck though. I’m pretty sure the indirect portion works, because I already use it to set that person’s entire row blue if their “role” is “un-available”.

So yeah, if anyone could help me figure out how to do this, it would be much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T22:05:21+00:00Added an answer on May 27, 2026 at 10:05 pm

    You simply need to add a Conditional Format rule for each Role, applying its unique colour.

    Assuming you can split the name and role into seperate columns

    Rule is a “Use a formula to determine which cells to format” type, in the general form of

    =AND(Cell is 1, Role = RoleName)
    

    Eg, if Roles are in column B, and cell to format is C2, for “Role 2”

    =AND(C2<>"",$B2="Level 2")
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using excel 2010. I am trying to create pivot table between two
I need to read from and write to Excel spreadsheets using Delphi 2010. Nothing
We are automating Excel using VB.Net, and trying to place multiple lines of text
m trying to break one large Excel spreadsheet into several. I've made good progress,
I am using the Camera feature in excel 2010. My goal is to have
Having been able to add data to an Excel spreadsheet from F# using the
Im looking for a way to do this in Excel 2010 using VBA. It
Using NPOI and attempting to follow a tutorial here: http://www.zachhunter.com/2010/05/npoi-excel-template/ , I'm coming across
I am using VBA for Excel 2010 and randomly receiving the following error: Run-time
I'm using xmlhttp via vba in excel 2010. I need to programmatically add an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.