+ Reply to Thread
Results 1 to 2 of 2

Modified VLOOKUP function to return value and cell formatting

  1. #1
    Registered User
    Join Date
    12-18-2008
    Location
    White Rock
    Posts
    76

    Modified VLOOKUP function to return value and cell formatting

    Hello,

    I'm trying to track down a vlookup/equivalent piece of VBA codeto modify so that when I assign the function and variables in the cell it will not just return the lookup value, but also the cell color.

    Any help is greatly appreciated.

    Cheers!

  2. #2
    Forum Contributor
    Join Date
    10-18-2012
    Location
    Telford, England
    MS-Off Ver
    Excel 2010 (2003)
    Posts
    294

    Re: Modified VLOOKUP function to return value and cell formatting

    Use the match function to do the lookup, then index to get the value, and the color or other property.
    It will look something like this outline

    Please Login or Register  to view this content.

+ 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