I have a client name and I want to know if the client is already known having a shorter name of the company.
The client list is more detailled than the client short name.
Exemple : "COMPANY INC US" is known as "COMPANY".
I'm searching for something like this but it doesn't work.
=EQUIV([#Client];Table[Client_short_name]&"*";0)
Thanks for help
You could try index/match, with match looking for approximates (set third parameter to 1).
Or you could use something like this
=ISNUMBER(SEARCH(short_name, full_name))
Related
I have table as below. In first column name of the company and in next column corresponding country.
The look up value of company name is not exact match in this case
The company name from table is a subset of the look up value.
Reference Table as below:
The output expected is as follows:
I tried using formula=VLOOKUP(LEFT(B14,LEN(B14)-4),$H$2:$I$4,2,FALSE)
but it only help solve first entry and not for others. The output I got with above formula is as below:
Request help in sorting this issue.
Thanks
Maybe try the following:
=INDEX(I:I,SUMPRODUCT(ISNUMBER(FIND(H$3:H$4,B14))*ROW(H$3:H$4)))
However, this might be troublesome when you anticipate a word can be a sub-string inside another, eventually giving wrong results. If that won't be the case, that's great, but if so, then maybe safer would be:
=VLOOKUP(FILTERXML("<t><s>"&SUBSTITUTE(TEXTJOIN(" ",1,H$3:H$4,B14)," ","</s><s>")&"</s></t>","//s[preceding::*=.]"),H$2:I$4,2)
I´m trying to set up unique values in my PowerApp-Form. The data is stored in a Sharepoint list. I have a column called watches, items in this column have a unique number, which have to be unique. People can pick multiple of those watches in a LookUp-field. But before submitting the form, I need to check if those picked values already exist in my list and at least display an error message.
I have setup a regular text field and added following rule to it:
If(LookUp(MyList.Watches;DataCardValue4.SelectedItems.Value in Watches;"OK")<>"OK";"No Error";"Watch already exist")
DataCardValue4 is my LookUp field, where people can pick those watches. With this rule I want to check if a item already is in my column watches and let my text field display the error. Somehow the rule doesn´t work.
Can you tell me how I compare multiple lookup choices to my table/column entries?
The first parameter to the LookUp function should be the table (SharePoint list) rather than the column. So the first parameter should be 'MyList' rather than 'MyList.Watches'. Also, I'm not sure that the formula provided (second parameter to LookUp) will work. In your formula, you will be looking for multiple items (DataCardValue4.SelectedItems.Value) within multiple items (Watches). Perhaps you can update your app to have users only pick one watch value before submitting?
One last thing to note. I'm not sure how big you expect your SharePoint list to get, but I would highly recommend keeping your LookUp formula within the bounds to support delegation. More specifically, SharePoint has different formula requirements than other connectors. For example, you can use '=' in your formula, but not 'in'.
Your new rule might look something like below. Please note that it could have syntax errors and might not even be delegable in it's current form since I am providing the rule with no checking. Also, I switched from using LookUp to using Filter instead just because I'm more familiar with Filter. However, both functions are very similar.
If(CountRows(Filter(MyList; DataCardValue4.Selected.Value = Watches)) > 0; "Watch already exist"; "No Error")
I've recently started working with Excel due to running my own business now. As with anything I do, I want my logs to be practical, efficient and most of all working correctly. I'm almost satisfied with what I got so far but I can't seem to figure out how to let Excel look up a customer ID.
Basically what I want is:
In the first sheet I add a customer by name in column B, his assigned customer ID is in column A
In sheet 2 I type in the name of the customer in column E and I want Excel to look up that lastname in sheet 1 and then add the related customer ID in sheet 2 in column A
The reason for this is that I have returning customers and I don't want them to have a new customer ID, I want them to have the same ID as they had previously without going through all my customers to look if they are a returning customer and if so what their customer ID is.
I've been playing around with the INDEX function as that seemed to be the function used for this kinda stuff, but I just can't figure it out.
I look forward to hearing your tips and tricks in regards to this issue, thanks in advance!
Marc
In Sheet 2 A2
=INDEX(Sheet1!A:A,MATCH(E2,Sheet1!B:B,0),1)
This answer would work for you assuming Sheet1 stores ID in A, name in B, and your second sheet has you type the name in E.
Caveats being that matching based on typed names are extremely prone to error, it would have to be an exact match. Perhaps consider using data validation or a more robust solution in the medium term.
I have an issue with the formula below.
=VLOOKUP(B$22,Scenarios.New!$A$1:$M$211,MATCH(Output!$A27,Scenarios.New!$A$1:$M$1,0),FALSE)
Take a look at the image
This is basically doing one thing. Find the Action No. that is in the sheet "Scenario.New" of the Scenario ID 1017. It is working fine, as it returns 1,so formula is working, but sometimes I have 2 actions.
As you see. my formula will only look at the first Scend ID and will ignore the other one as is already found the first one. What I want to do is add a piece in the code that says Action No. = 1 or 2. Because based on the action No. some other fields will change too. Any ideas to solve it? Thanks!
first, i'm doubt with your question. second, your tabel is horisontal but you use VLOOKUP? or im wrong to undertand this?
but let me help you,i think you should try this,
table
enter image description here
=HLOOKUP(A5;Sheet1!$A$4:$G$5;2;FALSE)
take number 1 or 2 from table. but, if your table have double value be reference like image, HLOOKUP return first reference.
I would ike to get just the email address from the column :Email From" in sharepoint 2007. Can anyone please help me wrting the formula to get the email id.
old value : abc, def <dabc#dxxx.com>
expected value: dabc#dxxx.com
How to write the expression so that i get something like that. Please help me.
I have added something like below in the calculated column, but somehow i cannot rip '>' symbol
=MID([E-Mail From],FIND("<",[E-Mail From])+1,FIND(">",[E-Mail From])-1)
and the o/p is
dabc#dxxx.com>
It looks like you have it; maybe this tweak?
MID([E-Mail From],((instr("<",[E-Mail From]))+1),((instr(">",[E-Mail From]))-1))