Excel 2010 Tutorial - Conditional Formatting

In this video from the Excel 2010 Tutorial series, School of Technology Program Coordinator, Justin Denton, teaches us all about conditional formatting in Microsoft Excel 2010. This tutorial video is a great beginning step to your courses in technology at Rasmussen College.


Then we have the big one, which is conditional formatting, because that is always fun to mess around with. So conditional formatting is when you're keying off on given reports. The one conditional format I put in was if last year sales or current year sales is greater than last year sales, I want to have this column flag as a green. Or you might want to put a word in there or something like that. Whereas, if last year sales or current year sales is less than last year sales, I want it to build up in red.

So we do that. You will actually be on the Home tab underneath the style section. We will have a Conditional Formatting button. We'll click that.

You have some default ones that are already built out. I guess I am not really into the default, but you can work with the defaults. They're fairly easy. You have got some icon sets that you can create and put little flags in there. There is nothing wrong with any of that. I like seeing what I am building, so I will use New Rule.

So a new rule, you have some generic ones. You have got a Format All Cells Based on Their Value, Format Only Cells That Contain. So in this instance, you will say if the cell value contains equal to, not equal to, between, whatever, then you will format the cell. For the one we are working with, I am using Use The Formula to Determine Which Cells To Format.

When we went through formulas, it also reinforces the formula principles. So if you work with formulas a little bit more, you will remember them quite well. So my formula is if-- let me click in here. So select that. If I want to put, if B5 is less than C5, and that is my formula. That is it. I click the cell, put the less than sign, click the other cell. It builds the formula for the most part for you.

Then your criteria is, what format do you want to set. Well, if it's less than, that means my sales are less, so I want it to be a red. So I'll flag it as a red. I hit OK. OK, again. And that is it. And it automatically formats on the fly.

Well, I have a negative value now. I don't have a positive value so, if this number goes into 3,100, well, I can do the same thing. I can build another rule in that same cell that creates a positive value. It's the same process, Conditional Formatting, New Rule, Use the Formulas to Determine.


So I want to know if B5 is greater than C5, then I am going to format it in green. Gives me a positive feel that we are doing good in this region for sales. OK through it. And it's now automatically formatted in green, because the current sales is greater. If it's less, it will go ahead and flip back to red. Once you build the conditional formatting rule, you're set.

Now, what if they're equal? I want to have just a different color. Green is positive. Red is a negative thing.

Well, if it's the same, then I might want to bring a little attention to it. I do not want it to format in red because there is not a critical concern. I do not want it to format in green, because it's not a really big positive the sales stayed the same.

So I can create a third rule on that cell, and say if B5 equals C5, I am just going to format it in yellow. I am going to put brackets around this just in case. So now, if I do 2,800, it will format in yellow. So now-- Yeah?

So you have got three rules on that one cell.


So you can create all three, or is it remembering? How did it turn red when you changed that? So it will remember. So if I go in here, and I go back to 2,700, it will turn red, do 3,100, it will do green.

Because there is three formulas on that one cell.

On that one cell. So if you want to manage those formulas, if you are not for sure, because that is where I forgot I had formatted and had to remove the green one, because I was messing around. So if I go back in here, you have this Manage Rules. So depending on what cell you have selected, it will tell you all the rules that are applied to that cell. And then if you want, you can select the rule, hit Edit Rule, remove the rule. If you want to add new rules that Manage Rules window will allow you to really, really work with that cell quite a bit.

So you can then copy that one cell and add to all the other cells?

Yeah. If I copy this, paste it down here, when positive, which might be wrong. 5,500. It didn't take the conditional formatting. Yeah, it did. Oh, you know what?

You can change your datas.

Yeah. What you'll end up wanting to do, because the formula string has got the dollar sign when you're building these out, if you're going to do the copy and paste, that is where we are talking about that dollar sign in the cell reference. I will have to edit my rule.

Let me go back here real quick. Let me undo this. So go back here. I will edit these rules. And you have got to get rid of the dollar signs, because when we copy, it will increment all these values.

I will quickly do this. Because by default on the conditional rules, it makes it a constant. So now, if I copy this, paste it, now it will apply. So if I put 5,500, it will go yellow.

So it's just one thing that you have to look at. So when you're building out your conditional formatting, if you know you're going to copy it after you've built one format out, then just make sure those cell references do not have the dollar signs, because then it will only reference back to the original cell you built it against. Sound good? Cool.

External links provided on Rasmussen.edu are for reference only. Rasmussen College does not guarantee, approve, control, or specifically endorse the information or products available on websites linked to, and is not endorsed by website owners, authors and/or organizations referenced.

Kendall is an Online Community Specialist at Collegis Education who oversees online communities on behalf of Rasmussen College. She has a passion for social media and enjoys motivating and encouraging former, current and future learners.

Receive Personalized Information Today

  • Personalized financial aid
  • Customized support services
  • Detailed program plan
  • Attend a no-obiligation Nursing Information Session
  • Meet the Dean of Nursing
  • Enrollment application
  • Personalized financial aid
  • Career path guidance

What would you like to study?

How may we contact you?

Please complete all fields

By requesting information, I authorize Rasmussen College to contact me by email, phone or text message at the number provided.

Share Your Story Ideas
Our campuses and online community have stories to tell and we want to hear them! Did your campus raise the most money in the community for an organization? Do you have online study tips for other students? Would you like to share a personal success story about overcoming an obstacle while earning your degree?
To have your story idea considered:
  • You must be a faculty member, current student or graduate
  • Story ideas must be regarding Rasmussen College or an inspiring story about a student at Rasmussen College
  • Your submission must be original and may not have been published elsewhere online already
Please Note: Your story idea may be featured on the Rasmussen College News Beat or on one of our social networks. A member of our news team will contact you should we move forward with a blog post.
Feel free to suggest an idea for a blog post to be featured on the Rasmussen College News Beat by filling out the form below:

First Name: (required)

Last Name: (required)

Email Address: (required)

Phone Number: (required)

500 characters or less


Your Story Idea Has Been Submitted

Thank you for sending us a story idea! We’re reviewing submissions and may contact you soon to learn more about your story. In the meantime, make sure to check out our current blogs to see what’s happening on campus.