Closed Thread
Results 1 to 8 of 8

Excel 2007 - Conditional Formatting Nightmare.

  1. #1
    Registered User
    Join Date
    12-20-2015
    Location
    San Francisco, CA
    MS-Off Ver
    2007
    Posts
    4

    Excel 2007 - Conditional Formatting Nightmare.

    Ok here's where I am at this point:

    I have an excel workbook that has a static "map" where cells represent physical locations in a store. Each cell on that map has a location code entered as its value. I'm attempting to get the static location code cells on the map to change color based on the sales numbers associated with that location. I've attached a workbook that gives a pretty accurate depiction of the type of interface we're talking about.

    Here's where I'm stuck. I can't figure out how to get conditional formatting to identify that if any cell in a range (my example workbook is A1:C7) matches the value of any cell in H (attached example) the sales data from the corresponding cell in I will dictate the color shading based on distance from the AVG of column I. I've used a Pivot Table to pull the data from another spreadsheet in the file I'm working on, however I'm just interested in getting this to work period.

    Any help (or guidance) will be greatly appreciated. It's annoying because I can conceptualize what I need to do, just not HOW to do it.

    Static Locations.xlsx

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Excel 2007 - Conditional Formatting Nightmare.

    i think i understand what you are asking for

    see attached file

    i have used conditional format formula

    Formula below
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    applies to
    =$A$1:$C$7

    i did a second one which applies to same area but slight change in formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    12-20-2015
    Location
    San Francisco, CA
    MS-Off Ver
    2007
    Posts
    4

    Re: Excel 2007 - Conditional Formatting Nightmare.

    I want to mention that I'm not personally in love with being forced to use 2007 for this, and if it's easier to solve in later versions that would be good info (a reference would help as well) since that might allow me to negotiate switching the versions company-wide.

  4. #4
    Registered User
    Join Date
    12-20-2015
    Location
    San Francisco, CA
    MS-Off Ver
    2007
    Posts
    4

    Re: Excel 2007 - Conditional Formatting Nightmare.

    Thanks for getting back to me so quickly!

    The sheet I just downloaded from you didn't quite solve the problem I'm talking about, and also appears to have overwritten some cells... I've redone the colors so you can see more clearly what I'm talking about having happen. The goal is for virtually the EXACT same color coding from column "I" applied to the cells on the far left of the sheet (A1:C7) without changing the text on that block of cells.Static Locations.xlsx

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Excel 2007 - Conditional Formatting Nightmare.

    As long as all references are on the same sheet, 2007 CF works well, but it cannot reference (directly) other sheets. You need to create range names and use that as references in the CF rules. 2010-onwards overcomes that
    restriction

    Also, CF cannot reference colors, colors are cosmetic, and CF (and other formulas) works on data
    Last edited by FDibbins; 12-20-2015 at 07:42 PM.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Registered User
    Join Date
    12-20-2015
    Location
    San Francisco, CA
    MS-Off Ver
    2007
    Posts
    4

    Re: Excel 2007 - Conditional Formatting Nightmare.

    Quote Originally Posted by FDibbins View Post
    As long as all references are on the same sheet, 2007 CF works well, but it cannot reference (directly) other sheets. You need to create range names and use that as references in the CF rules. 2010-onwards overcomes that
    restriction

    Also, CF cannot reference colors, colors are cosmetic, and CF (and other formulas) works on data
    Ok thanks for that info! My hang up is that I know what to do just not how. The sentence in my head for the conditional formatting is:

    If a cell between A1 To C7 equals the value of a cell in column "H", color the cell (from A1:C7) based on how the value in the column immediately right from the cell in "H" corresponds to its position relative to the running Avg of that column (in this case I).

    So if A1 = H1, then A1 would be highlighted based on the value of I1 because that's the corresponding sales data.
    Last edited by thewigglesworth; 12-20-2015 at 07:59 PM.

  7. #7
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Excel 2007 - Conditional Formatting Nightmare.

    ok
    since you posted in VBA section i assume a VBA solution would work
    otherwise i am at a loss

    im pretty sure this works in excel 2007
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Excel 2007 - Conditional Formatting Nightmare.

    OP posted in CS forum, so this thread is now closed

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Date conditional formatting nightmare
    By Clayt_dog in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-20-2014, 09:48 AM
  2. Replies: 4
    Last Post: 12-19-2013, 01:52 AM
  3. Replies: 0
    Last Post: 06-12-2013, 09:44 AM
  4. Excel 2007 : Conditional formatting not available?
    By dmh.55 in forum Excel General
    Replies: 4
    Last Post: 03-24-2013, 03:08 PM
  5. Replies: 10
    Last Post: 05-20-2012, 08:41 AM
  6. Excel 2007 conditional formatting
    By gocolonel77 in forum Excel General
    Replies: 1
    Last Post: 09-16-2011, 04:27 PM
  7. Excel 2007 DPI/PPI Nightmare
    By JonPaulWild in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-17-2008, 08:12 AM

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