+ Reply to Thread
Results 1 to 4 of 4

Vlookup formula to select and highlight (conditional formatting) multiple results

  1. #1
    Registered User
    Join Date
    10-10-2011
    Location
    Cardiff
    MS-Off Ver
    Excel 2010
    Posts
    8

    Vlookup formula to select and highlight (conditional formatting) multiple results

    Hi All,
    I am putting together a spreadsheet (example attached) and I've hit a wall.

    If I enter a delegates name in a A3, their respective date of birth appears in B3 using the following vlookup formula - =VLOOKUP(A3,G2:J5,2,FALSE)
    I would also like to be able to highlight the delegates current subject in column C and level they are currently working at in column D when I enter their name. (column E is manually completed at the end of each session)

    I've attached an example sheet showing the my layout and the data source (which currently numbers over 100 delegates).
    Any help to achieve the above will be appreciated

    regards,

    attendance example.xlsx

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Vlookup formula to select and highlight (conditional formatting) multiple results

    Use INDEX/MATCH or LOOKUP instead of VLOOKUP.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Vlookup formula to select and highlight (conditional formatting) multiple results

    Change the layout of the sheet: Use:

    Named Ranges:
    Please Login or Register  to view this content.
    Conditional Formatting forumulas for columns C and D:
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Ben Van Johnson

  4. #4
    Registered User
    Join Date
    10-10-2011
    Location
    Cardiff
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Vlookup formula to select and highlight (conditional formatting) multiple results

    Thanks protonLeah.

    It took a bit of tweaking but is now working as required.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 11-08-2013, 05:57 AM
  2. vlookup in conditional formatting to to highlight percentage Ranges
    By Sd100 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-23-2013, 09:19 PM
  3. [SOLVED] Conditional formatting, highlight multiple of a specific number
    By Mihail-Cosmin in forum Excel General
    Replies: 11
    Last Post: 03-21-2012, 12:16 PM
  4. Using conditional formatting to highlight multiple duplicates
    By JONNY981 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 06-28-2010, 03:24 AM
  5. Vlookup to select multiple results with one lookup value
    By datanewbie in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-12-2009, 08:01 PM

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