+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting Cells based on a formula in the cell, not the value of the cell?

  1. #1
    Registered User
    Join Date
    05-24-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    5

    Conditional Formatting Cells based on a formula in the cell, not the value of the cell?

    Hello,

    I am wondering if anyone can tell me how to make conditional formatting based on a formula in a cell, not the value of the cell?

    To give some background:

    I have a sheet that compares financial information of various companies (let's call it 'Sheet 1') using a vlookup to a sheet that pulls from a database (let's call it 'Sheet 2'). The last column in 'Sheet 1' is a column with my company's information. Most of the financial information for my company comes from a 'Sheet 3' that contains corporate model information. Some of the financial information on my company that is not found in 'Sheet 3' is pulled from the database 'Sheet 2' using a vlookup. I want to set up conditional formatting so that I can see which cells have been pulled from 'Sheet 2' (formula using a vlookup) and which cells have been pulled from 'Sheet 3' (just a direct reference to the exact cell).

    If any one could give me some insight into how to solve this problem I would really appreciate it!

    Thank you!!

  2. #2
    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,938

    Re: Conditional Formatting Cells based on a formula in the cell, not the value of the cell

    i dont believe you can set up a CF based on the formula IN the cell, but perhaps you could set it up to see which value is pulled (from the sounds of it, the answers come from specific sheets?) and then use that for the CF?
    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

  3. #3
    Registered User
    Join Date
    05-24-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Conditional Formatting Cells based on a formula in the cell, not the value of the cell

    Are you suggesting that you can set up a CF based on where the value is pulled from? If that is the case, would you please elaborate on how to do that?

    If you mean just CF based on the value in the cell that won't work because it's different for every cell and in many cases whether it is pulled from Sheet 2 or Sheet 3 the numbers could be the same.

  4. #4
    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,938

    Re: Conditional Formatting Cells based on a formula in the cell, not the value of the cell

    well if you cant base the CF on the cell itself, then maybe look elsewhere to base the CFof? if that means looking at where the value for that cell comes from, then parhaps thats an option to consider?

    if you could upload a sample, i could take a look and see if we can come up with something for you?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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