I have been trying to extract the required data from a single cell and I have tried using some common formulas but its not working for all the cells exactly.
I would appreciate your help in this regards.
Google Sheet
Formula 1
=LEFT(A2,FIND(C2,A2)-1)
Formula 2
=SUBSTITUTE(TRIM(SUBSTITUTE(SUBSTITUTE(LEFT(RIGHT(A2,len(A2)-FIND(") ",A2)),6),")",""),"(","")),"|","")
I duplicated your tab and entered the following formula in cell E2:
=ArrayFormula(ifna(regexextract(A2:A,"\[\s\]\s(.+)?\s\((.+)\)")))
Explanation
\[\s\]\s - find [ ]
(.+)?\s\( - extract everything after it until the next occurence of (
(.+)\) - extract everything after the above ( and before the next occurence of )
EDIT: The first time I've tried #ztiaa answer it didn't work... don't know why. I kept investigating REGEX and gave it another try, and it did... You'd probably prefer that. I leave my answer just as a memory, and if it's useful for someone else in another scenario
Honestly, I don't handle regex as #ztiaa, but what I've found difficult about your example is that there are sometimes more than one opening parenthesis... that's why I looked for a way of finding the last appearance of "(". You can learn more about this workaround here
I changed "#" with "CUT HERE" in my example, just in case "#" may appear in your example. With that in mind, you can set these two formulas:
=ArrayFormula(IF(A3:A="","",MID(A3:A,5,FIND("CUT HERE",SUBSTITUTE(A3:A,"(","CUT
HERE",LEN(A3:A)-LEN(SUBSTITUTE(A3:A,"(",""))))-5)))
=arrayformula(if(A3:A="","",mid(A3:A,FIND("CUT HERE",SUBSTITUTE(A3:A,"(","CUT
HERE",LEN(A3:A)-LEN(SUBSTITUTE(A3:A,"(",""))))+1,FIND(")",A3:A,FIND("CUT
HERE",SUBSTITUTE(A3:A,"(","CUT
HERE",LEN(A3:A)-LEN(SUBSTITUTE(A3:A,"(",""))))+1)-FIND("CUT
HERE",SUBSTITUTE(A3:A,"(","CUT
HERE",LEN(A3:A)-LEN(SUBSTITUTE(A3:A,"(",""))))-1)))
The second one is really long because it has to find the amount of characters in between brackets. But it appears to work. Probably there's a more ellegant way with Regex, I repeat :)
Look in J and K of your example:
I am trying to make a google spreadsheet that splits a word or string of numbers in half and puts the back half in front of the first half in a new column. However, I am new to this who process and so I came here to ask for help. I originally tried macros but couldn't get them to copy and paste information from columns.
Here is the basic idea:
The spreadsheet cuts the number or word in half putting the back in front.
Thanks for everyone's time.
In case of an odd number of chars, ROUNDUP must be used in RIGHT or LEFT function:
=ArrayFormula(RIGHT(A1:A,ROUNDUP(LEN(A1:A)/2)) & left(A1:A,LEN(A1:A)/2))
I think your problem shall be solved using the following code:
=CONCATENATE(right(A2,len(A2)/2),LEFT(A2,len(A2)/2))
What character encoding should I use when addings events to Keen ?
Whenever I use international characters (e.g. ö / ë) , they are stored fine (when I look in the event explorer).
But whenever I use them in reports or the data explorer, they get mangled.
It seems this problem has been fixed over the last couple of days. Awesome!
Folks,
Came across this, and dont quite know the answer. What is the character set used here, and how can i convert a sample message into similar set online somewhere?
original string:
Strike Back
result string:
§ƭřïƙè ßáçƙ
What character set is this?
That's simply a "leetifier", or "13375p34k converter" or whatever else they're called. It simply changes letters to similar looking letters based on a usually hardcoded lookup table. That's all. This has nothing to do with character sets or encodings at all.
Anser is here, Pseudolocalization
http://www.pseudolocalize.com/
Using Crystal Reports 11, I want to report on the number of characters within a memo field. The problem is that it is feeding through HTML from the System.
I want to remove all text that is within "<" and ">" and am having some problems doing this.
I guessed that my best way of doing this was a Replace formula, but it only seems to allow specific characters or group of characters to be replaced. I tried the following:
Replace ({Field_Name},"","")
Basically I want to be able to remove all text within the "<>" symbols to then be able to view the remaining data.
I know that there is an option to format the field with HTML which will then display only the text, but when a count is done on the field, it still includes the HTML text in the character count.
Any help wouldbe great.
Thanks
Dave
After struggling for # a wk. to try to remove HTML from my emails, I decided to go into system restore and went back to a date when I thought this had happened (a wk) and voila - gone! Nada! No HTML! Problem solved so easily.