+ Reply to Thread
Results 1 to 4 of 4

Sum two columns and highlight any value less then 5

  1. #1
    Registered User
    Join Date
    09-03-2010
    Location
    Washington
    MS-Off Ver
    Excel 2007
    Posts
    14

    Sum two columns and highlight any value less then 5

    I'm trying to create a formula to add up two columns and highlight the cells that don't add up to 5. There are two columns for each day from the 11th to the 31st. Right now I'm just manually looking at the two columns and highlighting them if the two numbers don't add up to 5. I would love to automate that process. I attached a sample, if the two numbers don't equal 5 I want to highlight both of these cells. There is five sets of data and I need to do this on all five sets. I highlighted the first set to show what I'm looking for.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    09-03-2010
    Location
    Iloilo, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Sum two columns and highlight any value less then 5

    Hi,

    The easiest way is to use conditional formatting on the cell that contains the sum formula

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,352

    Re: Sum two columns and highlight any value less then 5

    Hi king12yan,

    With 3 Named Ranges and 3 Conditional Formatting rules you have your answer in the attached.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    09-03-2010
    Location
    Washington
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Sum two columns and highlight any value less then 5

    Thanks MarvinP I was able to figure out what I needed after your nug in the right directions.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1