need to fill the value from Column A to Column B

ShashankSaxena-2458 131 Reputation points
2021-10-25T15:39:21.323+00:00

Hello All,

I have an excel file in which values are given in the format below in file-1 and I need to print the output in file-2 in which if I see only lmn.microsoft.com in Column1, then I need to print ValueA in Column-2.

File:1
Column A Column B
abc.shashank.com, pqr.shashank.com, xyz.shashank.saxena
cde.microsoft.com, stu.microsoft.com, lmn.microsoft.com ValueA

I have checked the Vlookup, but it needs full value to fetch the output from File-1, partial word is not working.

Can anyone help with this.

Regards,

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,455 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,638 questions
{count} votes

Accepted answer
  1. Emily Hua-MSFT 27,526 Reputation points
    2021-10-26T09:05:54.283+00:00

    Hi @Anonymous ,

    Thanks for your sharing.

    According to your images, I make a sample as following.
    143710-capture61.jpg
    143714-capture62.jpg

    I use the formula =LOOKUP(1,0/FIND(A1,Sheet1!A$1:A$2),Sheet1!B$1:B$2) in B1 of Sheet 2 to to find the corresponding values.

    If I have any misundertandings, you could let me know.

    -------Update--------

    If File-1 and File-2 are in one worksheet, you could refer to following.
    143973-capture64.jpg
    Based on the image above of my sample, the formula is =LOOKUP(1,0/FIND(F2,A$2:A$3),B$2:B$3).


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



0 additional answers

Sort by: Most helpful