Solved

Conditional Formatting... but not the usual scenario

Posted on 2013-12-18
7
190 Views
Last Modified: 2013-12-20
Experts:

I've used conditional formatting before (e.g., if cell value = X then green; if cell value = Y then red).

Instead, in this case, based on a cell value, I would like to "hide" (meaning white background, white font color, no borders, etc.) a record from displaying in the XLS.  

Some of record's column, however, already have conditional formatting applied... so it somehow needs to be "overwritten".

All details are included in the attached XLS.  

Does anyone know how to accomplish this (in Excel 2003).

Thanks,
EEH
NotTypicalCondictionFormatting.xls
0
Comment
Question by:ExpExchHelp
  • 4
  • 3
7 Comments
 
LVL 50

Expert Comment

by:barry houdini
ID: 39728197
I selected the range A1:H24 and added this condition in conditional formatting

=$A1="Don't show record"

So if the column A cell contains that text the conditional formatting will be applied to the whole of the selected row. The new condition takes precedence over other conditions and the formatting is white font, white background etc.

Try changing B1 dropdown and see how it changes - note: I'm working in Excel 2007 so it might look slightly different but it should still work in Excel 2003 (You are limited to 3 conditions per cell but you're within that still)

regards, barry
disappearing-rows.xls
0
 

Author Comment

by:ExpExchHelp
ID: 39728304
barryhoudini:

Works great!!   The only thing that's missing is that I need to also hide cells in column H.

That might be the tricky one given that it's already using conditional formatting.

Right now, if a record show be displayed and cell value in H = "Reached steady state", then background = green (white font); alternatively, is value = "System not steady", then cell background = white.

However, regardless of the "state", if a record should be shown, then cell background should be white.

Can this be accommodated?

EEH
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 39729272
On my version the column H cells are hidden - what do you see?

As it stands surely the green background is never required, the conditions that would lead to having green formatting would also lead to the row being hidden - isn't that right?

regards, barry
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:ExpExchHelp
ID: 39729320
Barry -- thanks, please see attached JPG indicating that column H is ignored in XLS 2003.

Here's the conditional formatting hierarchy:

1. Rows should be all white (columns A:H) if value = "Don't show record"
2. If values = "Show record", then green should be shown if = "Reached steady state"... otherwise, I should see column H records in red.

Makes sense?

EEH
Snapshot.jpg
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 39730816
OK, it's a while since I used Excel 2003 - I didn't even have it on my PC - re-installed now and when I looked at my document in Excel 2003, yes, I saw that it didn't work for column H - the condition was applied but after the other two conditions - it needs to be first so I swapped the order

Check out this version

regards, barry
disappearing-rowsV2.xls
0
 

Author Comment

by:ExpExchHelp
ID: 39731518
Barry:

Thanks, works like a charm!

EEH
0
 

Author Closing Comment

by:ExpExchHelp
ID: 39731519
Most excellent solution.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question