Solved

Conditional Formatting

Posted on 2014-10-28
3
310 Views
Last Modified: 2014-10-28
I have an Excel workbook with two sheets. The “Mark” sheet allows you to capture the names and marks. The “Level” sheet displays the level for the entered mark in the first sheet. The problem I have is that for the rows that have no names the cell is still formatted. It should only do this for rows that have names. See attached file.
Scoresheet.xlsx
0
Comment
Question by:zerog
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 6

Expert Comment

by:Brian Matis
ID: 40409046
The problem is with the IF statements in column B on the Level tab. You need to define what should happen when the cells on the Mark tab are blank. Here's an IF statement you can use that'll set blank values on the Mark tab to being blank values on the level tab.

=IF(Mark!B4="", "", IF( Mark!B4<=39, "1", IF( Mark!B4<=69, "2", IF( Mark!B4<=100, "3" ) ) ))

Open in new window

0
 
LVL 6

Accepted Solution

by:
Brian Matis earned 500 total points
ID: 40409050
Here's a revised version of the spreadsheet with the updates. Is this what you meant?
Scoresheet-2.xlsx
0
 
LVL 19

Expert Comment

by:Montoya
ID: 40409078
you can change your formula to: =IF(ISBLANK(Mark!A4)=FALSE,(IF( Mark!B4<=39, "1", IF( Mark!B4<=69, "2", IF( Mark!B4<=100, "3" ) ) )),0)
this basically checks whether or not the name exists, before performing your conditional formatting.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

733 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