Solved

Conditional Formatting

Posted on 2014-10-28
3
308 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
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel Calculation 4 48
Random times with 12/24 hour switching 9 27
How do you check for multiple possibilities in Excel 7 26
Do Wend Macro not working 22 33
A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
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.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

839 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