I am trying to trim a url with a formula after a set word within the url, I can do it apart from I can not remove the first character of the keyword, in this case it is "Company".
I am using this formula
=MID(A2,1,IFERROR(FIND(""Company"",A2),FIND(""company"",A2))+0)
From & To
If I remove the +0 completely at or change it to a 0 then I keep getting an error message and I can not work it out.
Q) Can someone please explain why i can not remove the last character?
Also if you can help can you please keep it as a formula as shown above, as I am limited in VBA
As Always thanks in advance
Im sorry for posting the above, all it need was a -1 at the end. I tried this before posting and it kept giving me and error messages. I have just tried it AGAIN and it has worked. I only posted as I was stuck on this for hours and could not find a solution.
Related
I have the following formula but for some reason is not returning anything, can someone help me? Thanks
=COUNTIFS(B:B,">="&Ranges!A2,B:B,"<="&Ranges!B2+0.999988,C:C,">=Ranges!$D$2",C:C,"<=Ranges!$E$2")
You've got the criteria wrong in the last part - they should use similar syntax to the first two - in other words:
=COUNTIFS(B:B,">="&Ranges!A2,B:B,"<="&Ranges!B2+0.999988,C:C,">="&Ranges!$D$2,C:C,"<="&Ranges!$E$2)
does anybody has an excel formula for me which just gives me back the clickid parameter? Unfortunately this parameter is not always at the same position so I can't fix it with character count. It should always be between &clickid= and &
https://app.appsflyer.com/id770725904?pid=website_adwords&c=C_DEU_billig&tl_rf=https%3A%2F%2Fwww.google.com%2F&tl_nw=g&tl_mt=e&clickid=EAIaIQobChMIj5zchvqs4AIVQamaCh06NQlOEAAYASACEgJhRPD_BwE&af_keywords=billig+telefonieren+nach+iran&af_c_id=1597316081&af_adset_id=60710335432&af_ad_type=1t1&af_adset=Iran&af_ad_id=303032652682
Well for sure a regular expression will be able to find this, but a rather simple formula could do the trick aswell. For example:
=MID(A1,FIND("clickid=",A1)+8,FIND("&",A1,FIND("clickid=",A1)+8)-(FIND("clickid=",A1)+8))
This will work but someone may have a tidier option ...
=LEFT(SUBSTITUTE(MID(A1,FIND("clickid",A1),1000),"clickid=", ""),FIND("&",SUBSTITUTE(MID(A1,FIND("clickid",A1),1000),"clickid=", ""))-1)
Throw your URL into cell A1 and test it out.
I need to limit the characters that can be used in a field to 0-9 and {} and -
I have this working so far, in the Input Validation:
#Matches(#thisvalue; "+{()0-9}")
But how do I go and add the - in this formula?
As usual, thanks fot the help.
Oh boy... I guess I was tired last night... I ended up making work with this:
#Matches(#ThisValue; "+{\-()0-9}")
Hope it might help someone else one day...
I am trying to do a VLOOKUP in excel, and I have, lets say the following unique identifiers:
Failure
Accept/Fail Okay
Accept/Fail N/A
Success
using the VLOOKUP, when i use Failure or Success as the unique identifier, it finds the data I am looking for, but if I try to VLOOKUP the other which spaces or slashes, it just returns #N/A.
Is there something I am missing? like i said, the simple 1 word ones are found with no issues, but the others don't work.
Any help would be appreciated!
Thanks
Tried this on my end and was able to reproduce the problem.
The solution appears to be to set the optional [range_lookup] argument to FALSE. After doing this, I was able to perform successful lookups using all of the provided values.
Could someone help me turn this 2 Criteria match function into a 4 criteria match function please? This one works, but is only the start:
=INDEX(range1,MATCH(1,(A19=range2)*(B19=range3),0))
I also want a third and fourth match in the above formula, with those two being an OR option. I thought based upon the working version that this might work, but it doesn't:
=INDEX(range1,MATCH(1,(A19=range2)*(B19=range3)*(OR(C19=range4,D19=range5)),0))
I've been trying to use AND commands, my initial version of the first code above being this:
=INDEX(range1,MATCH(1,AND(A19=range2,B19=range3),0))
It always returns #N/A after CTRL+ALT+ENTER is entered though, so it's obviously an issue with my understanding of either MATCH or AND (or both I guess),
The first example works EXACTLY as intended, but unfortunately I don't know why and I can't work it out well enough to adapt it. Maybe I'm too tired and have run out of space in my head for the peculiar way in which Excel formulas work, but I've read and re-read the help files for them and still it doesn't make sense to me.
Any help would be greatly appreciated, as always.
Thanks,
Joe
I'm just guessing here, but would this work?
=INDEX(range1,MATCH(1,(A19=range2)*(B19=range3)*(((C19 = range4)+(D19 = range5))>0),0))