REGEXEXTRACT function exact match - google-sheets

I applied this function on D2, and it works but matching should be case sensitive. At this moment, it match anyting similar. Example, It repeats Intern for International or Internal. But it should not do this way. If Intern not found on Title (C), then should show nothing. Pls help.
INDEX(REGEXEXTRACT(E2:E, TEXTJOIN("|", 1, C2:C)))
Here is image link: https://docs.google.com/drawings/d/1gkQ1eOfupBeAnkHjQC97ALNKvHSS5l3v6BkqMUSrMX4/edit?usp=sharing

Could you give a try with this:
=BYROW(C2:C,LAMBDA(cx,if(cx="",,IFERROR(REGEXEXTRACT(cx,"(?i)"&TEXTJOIN("|", 1, ARRAYFORMULA(REGEXREPLACE(E2:E,"(.+)","\\b$1\\b"))))))))
-

use:
=INDEX(REGEXEXTRACT(E2:E, TEXTJOIN("|", 1, SORT(C2:C, 1, 0))))

Related

Google Sheets - Index, Match formula from multiple columns

I got a problem with one fromula.
Two sheets:
1st Sheet
2nd Sheet
Look at formula on 2nd sheet B2
=IFERROR(INDEX(Importrange("1sj7FlrO5ZbHkIUwtpkJdU3tokEBwEXRvyIpi6eVHig4","Sheet1!A:A"),
MATCH($A2,Importrange("1sj7FlrO5ZbHkIUwtpkJdU3tokEBwEXRvyIpi6eVHig4","Sheet1!B:B"), 0)), "Not ordered")
It is matching my status from 1st spreadsheet but only from B column. My question is how to add C column as well (add another match criteria). I want to have B and C together. Is it possible?
Thanks!
I've tried something like this but it is not working :
=INDEX("1sj7FlrO5ZbHkIUwtpkJdU3tokEBwEXRvyIpi6eVHig4","Sheet1!A:A"), MATCH($A2,Importrange("1sj7FlrO5ZbHkIUwtpkJdU3tokEBwEXRvyIpi6eVHig4","Sheet1!B:B"),
MATCH($A2,Importrange("1sj7FlrO5ZbHkIUwtpkJdU3tokEBwEXRvyIpi6eVHig4","Sheet1!C:C"), 0))
=IFERROR(INDEX(Importrange("1sj7FlrO5ZbHkIUwtpkJdU3tokEBwEXRvyIpi6eVHig4","Sheet1!A:A"),MATCH($A2,Importrange("1sj7FlrO5ZbHkIUwtpkJdU3tokEBwEXRvyIpi6eVHig4","Sheet1!B:B"), 0)), IFERROR(INDEX(Importrange("1sj7FlrO5ZbHkIUwtpkJdU3tokEBwEXRvyIpi6eVHig4","Sheet1!A:A"), MATCH($A2,Importrange("1sj7FlrO5ZbHkIUwtpkJdU3tokEBwEXRvyIpi6eVHig4","Sheet1!C:C"), 0)), "Not ordered"))
Try this! I joined a second exact formula as yours in the second parameter of the first IFERROR
It'd probably be easier to just do a an OR statement. So something like this.
=If(Or(isnumber(firstcolumnLookupFormula),
isnumber(SecondColumnLookupFormula)),"Ordered","Not Ordered").
You could do as many as needed then.

VLookup search for columns concatenation

I have a search term which spans into 3 columns.
text_A, text_B, text_C
I'm trying to find the A column value for a row which forms almost the same values:
text_A, text_B, text that starts with text_C
I get no result even before handling the search of starts with text_C, even though I expected to get one.
Any tip on how to change this?
=VLOOKUP(I10:I&"^"&J10:J, C10:C&"^"&D10:D, 1, FALSE)
try:
=INDEX(IFNA(VLOOKUP(I10:I&"^"&J10:J, {C10:C&"^"&D10:D, E10:E}, 2, 0)))
update
=ARRAYFORMULA(IFNA(VLOOKUP(I10:I&"×"&J10:J&"×"&K10:K,
{C10:C&"×"&D10:D&"×"&IFERROR(REGEXEXTRACT(E10:E&"",
TEXTJOIN("|", 1, SORT(K10:K, 1, 0)))), B10:B}, 2, 0)))

Multi Dimension Index-Match

I'm stuck with this assignment where I need to use index-match formula to input values from another sheet.
Google Sheet: https://docs.google.com/spreadsheets/d/182b4foaNURrAysA9pQ2rtFinU0U1TnwBDNHEkInbjiQ/edit?usp=sharing
I need to get value from Sheet "Mon-Sun" to show in the sheet "Work hour" using formula. My friend said I should use index-match, but I cannot seem to be able to do it (Only know how to do basic index-match). Been thinking for hours now but cannot find the solution. Please help.
Perhaps the following, which is just an INDEX with two MATCH's (ID and day of the week), and a bit of logic to handle your setup with merged cells, as well as whether it's Day or Night.
=index('Mon-Sun'!$B$3:$O$6,match($A4,'Mon-Sun'!$A$3:$A$6,0),match(if(isblank(C$2),B$2,C$2),'Mon-Sun'!$B$1:$O$1,0)+if(C$3="Day",0,1))
delete everything in range C4:Z
paste this in C4 cell and drag to the right:
=ARRAYFORMULA(IFNA(VLOOKUP($A4:$A, {'Mon-Sun'!$A3:$A, INDIRECT("Mon-Sun!"&ADDRESS(3,
MATCH(IF(C2="", B2, C2), 'Mon-Sun'!1:1, 0)+IF(C2="", 1, 0), 4)&":"&ADDRESS(ROWS('Mon-Sun'!A:A),
MATCH(IF(C2="", B2, C2), 'Mon-Sun'!1:1, 0)+IF(C2="", 1, 0), 4))}, 2, 0)))

Need to populate a field when 'specific' text is added to a column

As stated by my headline, I would like to accomplish the following based on this image that I made, and hopefully, it makes sense. I've done something similar to this function but can't quite remember what it is I'm missing.
The formula I have attempted to do on my own (below). Please let me know what I am missing or if I'm over complicating the formula or just not thinking about this the right way.
Access to my sheet:
https://docs.google.com/spreadsheets/d/1_HtEmzJgG5hLxU426JSYgr03g6TJGtl7qbpaY7jk2AI/edit?usp=sharing
=ARRAYFORMULA(IFERROR(VLOOKUP(QUERY(SPLIT(TRANSPOSE(SPLIT(QUERY(TRANSPOSE(QUERY("♂"&UPPER(TRIM(IFERROR(
SPLIT('Sheet 1'!A2:A, ","))))&"♀"&'Sheet 1'!B2:B, , 999^99)), , 999^99), "♂")), "♀"), 0), 2, 0)))
a simple VLOOKUP solves this...
=ARRAYFORMULA(IFERROR(VLOOKUP(D2:D, 'Sheet 1'!A:B, 2, 0)))

Partial match vlookup in a sentence

https://docs.google.com/spreadsheets/d/16NqKD4OGVAwwVK38dht1_NbFrMxkSSIeTXvxOcYXCRg/edit?usp=sharing
Do you do a partial vlookup, searching for a word in a sentence? I have downloaded my bank statement CSV and the description of the payment is quite long-winded, I am looking to categorize each payment. In this example, I am looking to categorize 'Waitrose' as a 'Grocery' purchase.
Please feel free to try formula and make edits to the sheet, thanks!
=ARRAYFORMULA(IFERROR(VLOOKUP(REGEXEXTRACT(C2:C,
TEXTJOIN("|", 1, Category!D2:D)), Category!D2:F, {1, 2, 3}, 0)))

Resources