This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /MS Excel

How to Change Cell Color Based on Value Microsoft Excel

Updated on:
June 5, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to automatically color Excel cells based on their values.

Quick summary

This tutorial shows how to use Conditional Formatting in Microsoft Excel to automatically change cell background color based on a numeric value threshold. Once configured, updating your sales target instantly refreshes the color-coded formatting across your entire data range.


Steps

  1. Select your data range by clicking the first cell, then press Ctrl + Shift + Right Arrow and Ctrl + Shift + Down Arrow to extend the selection.
  2. Go to the Home tab, click Conditional Formatting, and select Manage Rules.
  3. Click New Rule, then click OK to proceed.
  4. Choose Format only cells that contain as the rule type.
  5. Set the rule to format cells with values greater than or equal to your sales target (e.g., 5000).
  6. Click the Format button, go to the Fill tab, and choose a background color (e.g., green).
  7. Click Apply and OK to activate the rule — cells meeting the target highlight automatically, and changing the sales target (e.g., to 7500) instantly updates the formatting.

📌 Why this matters

Conditional Formatting in Microsoft Excel is one of the most powerful built-in tools for instant data visualization — it lets analysts, managers, and teams spot performance trends at a glance without writing a single formula. By automatically changing cell color based on value thresholds like a sales target, users can track KPIs, flag underperforming figures, and communicate results clearly in dashboards and reports. This rule-based approach is fully dynamic: updating a target value immediately refreshes all highlighted cells, eliminating manual review. For anyone working with sales data, financial reports, or operational metrics in Excel, mastering conditional cell color formatting is a foundational productivity skill.
Your product deserves an interactive demo
Start free
Similar Articles
MS Excel

How to Organize Dates by Week in Excel

Madhav Bhandari
Director of Marketing @ Storylane
MS Excel

How to Make Cells Fit Text Microsoft Excel

Madhav Bhandari
Director of Marketing @ Storylane
MS Excel

How to Make a Bar Graph in Microsoft Excel

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Hubs
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it