• 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.

How to show the cell in different color due to other cell's result?

akinkaraman

Member
Row 5 shows the results due to Index Unit table below.

I want to change the colors in Index Table's cells due to the Total Zone Effects table above which are shown due to Index Unit table.

Such as If Zone E shows 4500 kgs it sees between 4001 - 4500 and finds ''-2'' as a result from H18 and shows it at H5 than I want to show H18 as a same color of H5.

Can you help me to do that?
 

Attachments

  • color.xls
    13 KB · Views: 7
Select C9:N27
Conditional formatting
New Rule
use a Formula
=$B9=VLOOKUP(C$4,$B$9:$B$27,1)
Select a Format
Apply
upload_2014-8-23_11-33-8.png
See attached file:
 

Attachments

  • color.xls
    25 KB · Views: 5
Select C9:N27

use following formula while applying conditional formatting

=((C$4>(--LEFT($B9,FIND(" ",$B9,1)-1)-1))*(C$4<(--RIGHT($B9,LEN($B9)-FIND("-",$B9,1)-1)+1)))=1
 

Attachments

  • color.xls
    33 KB · Views: 3
Akinkaraman

I understand what you want.

In my experience, it is poor layout of spreadsheets that is the main cause of poor performance, lack of flexibility, complex formulas etc

In your case, why not add an adjacent column with some text concatenation
upload_2014-8-24_8-35-1.png

ie: C9: =" - "&B9
copy down
 
Back
Top