+ Reply to Thread
Results 1 to 8 of 8

VLOOKUP and VLOOKUPCOMMENT in one cell

  1. #1
    Registered User
    Join Date
    08-21-2020
    Location
    Toronto, Canada
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    5

    VLOOKUP and VLOOKUPCOMMENT in one cell

    Hello all, I was wondering if it's possible to have a VLOOKUP and a VLOOKUPCOMMENT in a single cell getting information from another sheet(I'm calling it my Master Sheet)?
    Last edited by Vinny4$; 08-21-2020 at 11:44 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: VLOOKUP and VLOOKUPCOMMENT in one cell

    What do you mean by VLOOKUPCOMMENT?

  3. #3
    Registered User
    Join Date
    08-21-2020
    Location
    Toronto, Canada
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    5

    Re: VLOOKUP and VLOOKUPCOMMENT in one cell

    Hi Pepe, I would like to add an automatic 'Comment' to show up when someone hovers over the cell

  4. #4
    Registered User
    Join Date
    08-21-2020
    Location
    Toronto, Canada
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    5

    Re: VLOOKUP and VLOOKUPCOMMENT in one cell

    Below is my current formula, it works great but I thought I could also add to it a 'Comment' when someone goes over the cell

    =VLOOKUP(C3,Master!$A$2:$B$9789,2,FALSE)

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: VLOOKUP and VLOOKUPCOMMENT in one cell

    Where would these VLOOKUPCOMMENTS come from? Would then be in Column C of Sheet Master?
    This would require VBA to pull those comments and place them into "comments"
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  6. #6
    Registered User
    Join Date
    08-21-2020
    Location
    Toronto, Canada
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    5

    Re: VLOOKUP and VLOOKUPCOMMENT in one cell

    ok, I understand, I did create a VBA to pull the required info, but, it is possible to add it in the same cell where I already have a VLOOKUP for the individuals name?

  7. #7
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: VLOOKUP and VLOOKUPCOMMENT in one cell

    Here is something you can practice with

    set up a blank workbook before using it in your actual wb.

    addcomment.jpg

    This will be the code to use.

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    08-21-2020
    Location
    Toronto, Canada
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    5

    Re: VLOOKUP and VLOOKUPCOMMENT in one cell

    This is great, I will try tomorrow, too long of a day today.

    TY

+ 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: 10-24-2019, 09:46 PM
  2. Vlookup - keeping the leading zeros in a cell to allow the vlookup to work
    By UFBEE1970 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-02-2019, 04:41 PM
  3. Replies: 5
    Last Post: 12-07-2016, 09:18 AM
  4. VBA external VLOOKUP instead of VLOOKUP-formula in cell
    By ExcelBonk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-07-2016, 02:41 PM
  5. Replies: 3
    Last Post: 07-10-2014, 10:56 AM
  6. Display Cell within VLookup range that excel thinks matches the VLookup Value
    By headachexcelperson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-04-2013, 04:56 PM
  7. Replies: 10
    Last Post: 04-29-2005, 05:06 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