I've tried multiple function types, with no success.
I have a list of keywords named 'Keywords' and i have a column of string text. For each string of text in a cell I would like to pick out the first keyword from 'Keywords' list and place in an adjacent cell. I've been stumped for a couple days now and am reaching out for help.
Any assistance is appreciated. Thanks
Use INDEX with AGGREGATE:
=IFERROR(INDEX(A:A,AGGREGATE(15,7,ROW($A$2:$A$4)/(ISNUMBER(SEARCH($A$2:$A$4,C2))),1)),"")
Related
I am not very familiar with Excel functions and I need some advice on the following problem.
I have two worksheets called List1 and List2, which help me with ordering goods for my shop.
I want to find the exact keyword in List1 column B, e.g car, "read" the corresponding value from column C, then find the same word in List2 and return the value in column C. I am open to solutions using macro, script, or excel formula.
I tried to solve it with VLOOKUP function in List2 but the data is from my supplier so it's in different order and he may change or add some new rows in it sometimes and i must always copy the function from the previous version of the file one by one and paste them to the new one. The table contains more than 3,000 items but I am only ordering something like 200.
Thanks in advance, for any help...
Try this:
=INDEX(list1.$c$2:$c$7,MATCH(list2.c2,list1.$A$1:$A$6,0))
I'm looking for a formula that can search a given list of strings and match a certain cell based on whether that cell contains text that appears in any part of a string from the list.
An example to show what I want to achieve:
Reference_List:
Some Product A
Another Example
(XYZ) FinalTest
ABC (Acronym Explanation)
List that I'm searching through:
FooBar
Another Example
QuickBrownFox
JumpedOverLazy Example
Acronym Explanation (ABC)
FinalTest (XYZ)
Ideal Matches Found:
Another Example
JumpedOverLazy Example (false positive but I would be okay with it)
Acronym Explanation (ABC)
FinalTest (XYZ)
So as you can see, it's testing the Search List against every sub-string in the Reference_List
Also, I don't mind if it contains false positives, but currently I'm running into too many false negatives with things like: (where List_REF is the name of cells e.g. A1:A20)
=SUMPRODUCT(--ISNUMBER(SEARCH(LIST_REF,A1)))>0
I've also looked at this example but I was unable to get it to work properly
Any help would be appreciated, Thank you
Edit:
Another Idea? Maybe if I could split each cell in the reference list into an array based on "spaces", then feed those arrays into the SUMPRODUCT function seen above that would search every cell by the sub array? Don't know how to do it but I'm gonna look into it
The below formula may be of help to you. With the Reference range column in A and the Search list in column G, apply this formula : =IFERROR(IF(EXACT(A2,G$2),G$2,IF(EXACT(A2,G$3),G$3,IF(EXACT(A2,G$4),G$4,IF(EXACT(A2,G$5),G$5,IF(EXACT(A2,G$6),G$6,IF(EXACT(A2,G$7),G$7,"")))))),"")
So I have a table with description lines like this: EFT VISA RF#509723083734 04/07 ENDICIA POSTAGE (EMS) 650-321-2640.
What I'd like to be able to do is add up all the amounts with descriptions containing "Endicia".
I tried =VLOOKUP(SEARCH("endicia",D9,0)="true",D2:F12,3) but that didn't work.
I tried using SumIf instead, with similar lack of success.
Any advice would be much appreciated
IF helpful, the description is in column D and the amount is in column E.
If you can add an additional column, you can add one in that only counts the number if the keyword ("ENDICIA") is found in the cell (otherwise return 0).
=IFERROR(IF(FIND("ENDICIA",D1),E1,0),0)
From there you just need to sum the column where you put this formula.
Please try:
=SUMIF(D:D,"*ENDICIA*",E:E)
I am using the Vlookup to pull data, but the data table row that I want data from may be using a different text string, I was hoping someone can help me out with the correct syntax to use (I can't get it to work) - this is what I have so far:
=IFERROR(VLOOKUP("String 1"&"String 2",'excelbook'!$A$2:$Y$75,B$407,FALSE),0)
Would totally appreciate your help, thanks!
If you are looking for the row which contains String 1 OR String 2 in the first column, you can use the following formula:
=IFERROR( VLOOKUP("String 1",'excelbook'!$A$2:$Y$75,B$407,FALSE), IFERROR(VLOOKUP("String 2",'excelbook'!$A$2:$Y$75,B$407,FALSE),0) )
I'm trying to figure out a way to search for multiple strings in Excel across multiple cells. I'm working with a database list of individuals and their corresponding address and demographic information. I need to find out a count and isolate the records of any cells with any of the names in the below formula in them. The formula works just fine when I'm only looking in one cell, ie B16, but when I put in for example (B16:D16) it throws a #VALUE error.
=IF(OR(B16={"JOHN","CATHLEEN","JANES"}),1,0)
Any help you can offer is very much appreciated.
Thanks,
Bill
=IF(OR(B16:D16="John",B16:D16="Cathleen",B16:D16="Janes"),1,0)
This works as long as at least one of the names is in the range. If none of the names are in the range it will throw the #Value error. You could trap that out by wrapping this formula in an "IFERROR" function. I'm not sure how much use this formula is in that it only tells you that at least one of the names exists in the range, not which name or where in the list.
Consider:
=IF((SUMPRODUCT(--(B16:D16="JOHN"))+SUMPRODUCT(--(B16:D16="JANES"))+SUMPRODUCT(--(B16:D16="CATHLEEN")))=0,0,1)