• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Highlight cell from number

I have 5x7 , 5X12 and 5x15 grids that are laid out 5 across and 7-12-15 down. Is it possible for me to place numbers in EFGHIJ and the grids across from N:BT get high lighted with a different color that matches the numbers in EFGHIJ. If I have to do all the same color that will be fine too.

I will have these grids down to row 100 and on separate sheets for example sheet 1 will have the 5x7, sheet 2 will have the 5x12 and sheet 3 will have the 5x15

Is this possible?

Thank you!!!
 

Attachments

You can use Conditional formatting
Select N5:R12
Conditional Formatting
New Rule
Use a Formula
=COUNTIF($E$5:I5,$N$6)>0
select a Format
Apply


Repeat for all other areas
 
Hi Jack,

Try this:

Select N6:R12, in CF formula put below formula
=COUNTIF($E$5:$I$5,N6)

Repeat for all the blocks, change $E$5:$I$5 to $E$6:$I$6 i.e. increase row number as you go from left to right on the blocks and Change N6 to first cell of each block.

Regards,
 
Well, no conditional formatting from iPad )-:

just to be clear

Imagine E:J 5 empty all the way down to last row. The 5x7 grids have no colors only numbers

I want to be able to place numbers in EFGHIJ and whatever number I place in those cells gets highlighted a specific color. Will that do what your suggesting?

Thanks
 
Whoops
Try this:
Select N5:R12
Conditional Formatting
New Rule
Use a Formula
=COUNTIF($E$5:$I$5,N6)>0
select a Format
Apply

Repeat for each area, adjust accordingly
 
Yes, There shouldn't be any other rules I believe

You could write a generic function to do all the CF's but I don't have time to resolve that
 
when I try to go down to the next group I get an error and have no clue why. The only thing I am changing is the row number
 

Attachments

  • Grid.png
    Grid.png
    13.8 KB · Views: 1
  • ref error.png
    ref error.png
    25.3 KB · Views: 1
Okay, I have been trying to write this and changing things up and still cannot seem to get it right. I want what is in CDEFGH to hilite say yellow on all the C1, C2,C3,C4,C5,C6 FOR ROWS 2-10

Orange for rows 12-20
Light Green for 22-30
Light blue for 32-40
Tan for 42-50

If someone can get me started I can finish them
I have tried to select my range as L-CB rows 2-10 and tried =COUNTIF($L$2:$CB$10,C2)>0 and I can not get it to work. Thanks for the help folks
 

Attachments

Back
Top