MS Excel partial match sheet1!A1 with sheet2!A1 return sheet2!B1

Ken A

I need to return values from Sheet2!B1 where the string in Sheet2!A1 partially matches the string in Sheet1!A1. I have 3000 rows of random letters and numbers in A1 with the corresponding logical data in column B1

IE:

Sheet1!A1 = aslkdjfaslkjjjj

Sheet2!A1 = faslkjjj

Sheet2!B1 = realdata

I need to populate Sheet1!B1 with the real data contained in Sheet2!B1 where Sheet2!A1 partially matches the string in Sheet1!A1

This is confusing but I'm not sure how else to explain it.

cybernetic.nomad

If I understood what you want, there's a way to do it with a helper column:

1) In Column C of Sheet2, use the following formula:

=IFERROR(MATCH("*"&A1&"*",Sheet1!A$1:A$3000,0),"")

And populate down

2) In Column B of Sheet1, use the following formula:

=IFERROR(INDIRECT("Sheet2!B"&MATCH(ROW(B1),Sheet2!C$1:C$3000,0)),"")

And populate down

Note: if this is the correct solution, then please edit your question with the added info, it will make it easier for others to find it

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Open a document in sheet2 of a workbook

From Dev

Google script - copy columnC data from Sheet21 to columnC Sheet2, if not present in Sheet2 already

From Dev

Define range as all data in coumn A on Sheet2

From Dev

Loop through cells; Copy if not blank; Paste in sheet2 unformatted

From Dev

Copy rows to sheet2 in value in range is met

From Dev

How to save DataFrame to Sheet2 in xlsx file

From Dev

Lookup Name From Sheet2 and Copy Row to Sheet3

From Dev

MS Access Partial Match 2 Tables

From Dev

Format list in one excel sheet to match another sheet

From Dev

Return HLOOKUP value for whole sheet in Excel

From Dev

Return referenced sheet name within an formula in excel

From Dev

VBA Excel return value from other sheet

From Dev

VBA 2 timestamp in same excel sheet

From Dev

Excel match 2 columns get return value

From Dev

is it possible to change sheet name with apache poi MS excel java android

From Dev

MS Excel - create a screenshot of every sheet (using script?)

From Dev

MS Excel - join external (SQL) data with local table (sheet)

From Dev

MS EXCEL - Lookup/Check for multiple columns values in other sheet

From Dev

Return a yes, no value from another sheet using If Index Match formula

From Dev

return partial match in cyhper

From Dev

Python statsmodel outpput and Excel/Google Sheet output doesn't match

From Dev

Excel VBA - Copy Entire Row to Another Sheet based on Array Match

From Dev

excel vba: copy rows if data match with values in column in another sheet

From Dev

c# Search excel sheet and verify if textbox contents match cell

From Dev

MS Excel - Match 3 columns between two sheets. When matches are found, copy a 4th column from each to a third sheet

From Dev

How would I convert a MS-Acess Query to a sheet in MS-Excel

From Dev

Excel compare two columns from one sheet copy entire row on match to new sheet

From Dev

Excel: How to have an IF function return the value of the cell from another sheet

From Dev

Split information at the : and push the 2nd part to another sheet in Excel

From Dev

How to open an Excel sheet in browser using Java+Struts2?

Related Related

  1. 1

    Open a document in sheet2 of a workbook

  2. 2

    Google script - copy columnC data from Sheet21 to columnC Sheet2, if not present in Sheet2 already

  3. 3

    Define range as all data in coumn A on Sheet2

  4. 4

    Loop through cells; Copy if not blank; Paste in sheet2 unformatted

  5. 5

    Copy rows to sheet2 in value in range is met

  6. 6

    How to save DataFrame to Sheet2 in xlsx file

  7. 7

    Lookup Name From Sheet2 and Copy Row to Sheet3

  8. 8

    MS Access Partial Match 2 Tables

  9. 9

    Format list in one excel sheet to match another sheet

  10. 10

    Return HLOOKUP value for whole sheet in Excel

  11. 11

    Return referenced sheet name within an formula in excel

  12. 12

    VBA Excel return value from other sheet

  13. 13

    VBA 2 timestamp in same excel sheet

  14. 14

    Excel match 2 columns get return value

  15. 15

    is it possible to change sheet name with apache poi MS excel java android

  16. 16

    MS Excel - create a screenshot of every sheet (using script?)

  17. 17

    MS Excel - join external (SQL) data with local table (sheet)

  18. 18

    MS EXCEL - Lookup/Check for multiple columns values in other sheet

  19. 19

    Return a yes, no value from another sheet using If Index Match formula

  20. 20

    return partial match in cyhper

  21. 21

    Python statsmodel outpput and Excel/Google Sheet output doesn't match

  22. 22

    Excel VBA - Copy Entire Row to Another Sheet based on Array Match

  23. 23

    excel vba: copy rows if data match with values in column in another sheet

  24. 24

    c# Search excel sheet and verify if textbox contents match cell

  25. 25

    MS Excel - Match 3 columns between two sheets. When matches are found, copy a 4th column from each to a third sheet

  26. 26

    How would I convert a MS-Acess Query to a sheet in MS-Excel

  27. 27

    Excel compare two columns from one sheet copy entire row on match to new sheet

  28. 28

    Excel: How to have an IF function return the value of the cell from another sheet

  29. 29

    Split information at the : and push the 2nd part to another sheet in Excel

  30. 30

    How to open an Excel sheet in browser using Java+Struts2?

HotTag

Archive