I have a current saved search formula that groups values from two fields in lowercase, and It also replaces any spaces with hyphen. Currently it also removes two special characters including period and forward slash. I am now trying to modify this formula to also remove 2 additional characters including Apostrophe (‘) and quotation mark (“)
Following is the current formula: TRANSLATE(LOWER(CONCAT({custitem38}||'-', {custitem16})), ' /.', '--')
This worked for me: TRANSLATE(LOWER(CONCAT({custitem38}||'-', {custitem16})), ' "/.', '--')
enter code hereTRANSLATE(LOWER(CONCAT({custitem38}||'-', {custitem16})), ' "/.', '--')
This might work
TRANSLATE(LOWER(CONCAT({custitem38}||'-', {custitem16})),'‘"/"/.', '--')
Related
Apparently the report seems to explicitly trimming any trailing spaces on report fields. But I need those spaces because it's a bank feed. I got an expression something like :
=PadRight( [BAccount.AcctName] , 50, ' ' )
or
=' BLAH '
Still no spaces
Does anyone has any tricks to achieve it ?
TIA
I believe the report engine will trim all whitespace and non-printable characters.
Does anyone has any tricks to achieve it ?
Yes, based on assumption above; one possible trick is to append a printable Unicode character at the end of the string that renders as whitespace but isn't technically considered white space. This type of trick is very common in phishing attacks.
I choose the 'Braille Pattern Blank' character which renders like a space character but isn't considered whitespace.
Reference:
https://www.compart.com/en/unicode/U+2800
You can copy it directly from character box in link above (highlighted blue):
And paste it in Acumatica report designer to append it after the blank space:
I tested this by selecting the field in report, it appended the desired spaces:
Context
I have data like this:
Reyes, Ma. Luisa Jun-Oh, Junee Carter, John Jr.
I need to use a combination of excel formulas in one cell to remove commas, periods, spaces and replace with underscore. Also need to add text after the names (to be used as PDF filename).
Expected output
Reyes_MaLuisa_Text123; JunOh_Junee_Text123; Carter_JohnJr_Text 123 (no
period and trailing space removed)
What I've tried
Formula used: =REPLACE(I2,FIND(", ",I2,1),2,"_") & "_Text123" where I
is the name field.
Thanks.
SUBSTITUTE it is easy to use
=SUBSTITUTE( SUBSTITUTE(I2,",","_") ," ","_")
I want to replace the last slash and any text attached to it by using excel formula and replace it with .jpg
Examples:
//example.com/123/abcd/image-adaptive-clothing/bluecolor
//example.com/123/abcd/image-blouse-image/greencolor
Note: There are 6 slashes in each URLs.
Advanced Thanks.
I believe that spaces are not valid characters in URLs so:
Use Substitute to replace the 6th / with a space i.e. CHAR(32)
Use Mid and Search to trim your string from the 1st character up until the space
Add on your .jpg string to the end
=MID(A2,1,SEARCH(CHAR(32),SUBSTITUTE(A2,"/",CHAR(32),6))-1) & ".jpg"
I am choosing to use the space character since we can assume your string will not have any spaces present to start with. Therefore, when we search for it, we can assume the space that is found is the one we inserted
I'm using Excels find and replace to remove hyphens from long numbers. They are mixed between birth dates and organisation numbers that have been filled with leading zeros to have the same number of characters. There are a LOT of numbers so find and replace seems to be the simplest solution to remove the hyphens.
But when i use find and replace the leading zeros are truncated and I have not found a solution to keep them afterwards.
For example i have:
19551230-1234
01234567-8901
and after find and replace I have
1,95512E+11
12345678901
but want the format as:
195512301234
012345678901
So I want to keep the leading zeros after find and replace. I've tried formatting the cells as text, but it doesn't work as the find and replace automatically truncates the leading zero and keeps the remaining characters, so the zero is completely removed. I am using Excel 2010, but answers for several versions are appreciated.
Just put a single quote in front of your leading number - ex. '01234 It will take the number as-is literally and the quote will not show in the field.
Use the SUBSTITUTE formula instead of Find and Replace like so:
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1," ",""),"/",""),")",""),"(",""),"-","")
The result is text.
I have numbers witch when is 1000 then has comma "," before hundreds like 1,234,00
How to remove 1st comma or make 2nd to appear so it would be 1234,00 or in excel as it works as number if has only space then with space or comma?
I have formula so far for getting number
=MID(LEFT($A604;FIND(" on ";$A604)-1);FIND("?";$A604)+1;LEN($A604))*1
And for removing all i put it in substitute to remove commas but that makes number wrong higher like 123400
=SUBSTITUTE(MID(LEFT($A604;FIND(" on ";$A604)-1);FIND("?";$A604)+1;LEN($A604));",";"")*1
The issue is the format #,##0, puts a comma before every third number. You need to treat it as a string
Try this in B2:
=IF(A2<999,A2,CONCATENATE(MID(A2,1,LEN(A2)-3),",",MID(A2,LEN(A2)-2,3)))
Depending on your use it might be best to remove the IF