+ Reply to Thread
Results 1 to 3 of 3

Vlookup/conditional formatting

Hybrid View

david_pt Vlookup/conditional formatting 12-11-2009, 08:09 PM
shg Re: Vlookup/conditional... 12-11-2009, 08:33 PM
david_pt Re: Vlookup/conditional... 12-11-2009, 08:47 PM
  1. #1
    Registered User
    Join Date
    12-05-2008
    Location
    Portugal
    Posts
    19

    Vlookup/conditional formatting

    So here's the problem:

    I used a VLOOKUP function in a cell. The returned value is.... "zero", because the returned value was none since that cell was blank.

    Now, I have a "0" on that cell. No matter if I hide it through excel preferences, or whatever, even if I try to FORMAT it's background color accordingly it will not be right. And here is the reason:

    I want two conditions to be met, one is the cell is "0" or the returned value is blank: I want that background to be white. The second one is if returns any value/word at all: I want that background to be grey

    No matter what I try, the cell with the "supposed vlookup value of zero" will always be grey, and not white. Must be due to some sort of conflict with vlookup, assuming it always does return a value, but even if I try a white background if the value is zero, it still doesn't work.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Vlookup/conditional formatting

    Set the default formatting to white, and use conditional formatting to make it grey if the cell value is non-zero.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    12-05-2008
    Location
    Portugal
    Posts
    19

    Re: Vlookup/conditional formatting

    Worked, it was pretty simple actually...

    Thanks

+ 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