How to split 'Full Name' into two columns for 'First' and 'Last' name??
Any ideas on how to achieve this? http://office.microsoft.com/en-us/excel-help/split-names-by-using-convert-text-t o-columns-HA001149851.aspx
If:
A1 = Fistname Lastname
For firstname:
(First Name) B1 =SUBSTITUTE($A1," " & $C1, "")
For the Last name:
(Last Name) C1 =RIGHT(A1,LEN(A1)-FIND("#",SUBSTITUTE(A1," ","#",LEN(A1)-LEN(SUBSTITUTE(A1," ","")))))
If
A1 = Lastname, Firstname
(Last Name) B1 =SUBSTITUTE($A1,", " & $C1, "")
(First Name) C1 =RIGHT($A1,LEN($A1)-FIND("#",SUBSTITUTE($A1," ","#",LEN($A1)-LEN(SUBSTITUTE($A1," ","")))))
Let me know if you need one that traps multiple commas or middle names.
Similar Messages
-
How to split invoice/document into two venders?
Can anyone please tell me how to split invoice/document into two vendors. Like if I get an invoice for $1000 and it needs to be splitted between father and son, $500 to each. How would I set that up in SAP? I am not sure if this will be an invoice split or a document split.
Thanks
MonikaIf you are using an FI entry F-43 to generate invoice this can be done by giving the same invoice ref. in the Inv. Ref. field for two vendors. This is manual
Document Split will split the document between two profit center and not between vendors. -
How to split 'Firstname Lastname' into 2 columns 'First' and 'Last'?
I import a .csv file from PayPal that throws the customer's First name, MI and Last Name all in one column. I have no problem going through and deleting the middle initial to make just two words separated with a space.
How can I split the First and Last names that are separated by a space into two separate columns? It's a piece of cake in Excel, but for some stupid reason, I can't use Excel 08 for Mac to do it. Keeps saying that there is data in column #XX without a heading (there is no data there) when I try to import to PayPal Multi-order shipping.
Please help! I'm desperate. Taking me for ever to cut and past each last name into the new column.
Thanks for any help with this!
MarcusHere is a script which does the trick.
--[SCRIPT splitfirst_lastname]
Enregistrer le script en tant que Script ou Application : splitfirst_lastname.xxx
déplacer le fichier ainsi créé dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
Sélectionner la colonne de chaînes à découper (et éventuellement davantage pour définir la colonne recevant les noms propres).
Aller au menu Scripts , choisir Numbers puis choisir splitfirst_lastname
Le script découpe les chaînes sources au premier espace.
Le prénom remplace la chaîne initiale.
Le reste est déposé dans la cellule adjacente à droite ou dans la cellule de la denière colonne sélectionnée.
--=====
L'aide du Finder explique:
L'Utilitaire AppleScript permet d'activer le Menu des scripts :
Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
Cochez la case "Afficher le menu des scripts dans la barre de menus".
Sous 10.6.x,
aller dans le panneau "Général" du dialogue Préférences de l'Éditeur Applescript
puis cocher la case "Afficher le menu des scripts dans la barre des menus".
--=====
Save the script as a Script or an Application : splitfirst_lastname.xxx
Move the newly created file into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
Select a column of strings to split (and maybe more columns to define the column receiving lastNames).
Go to the Scripts Menu, choose Numbers, then choose "splitfirst_lastname"
The script split the source strings on the first embedded space.
The FirstName replace the original string.
The reminder is stored in the cell adjacent on the right (or in the last column of the selected range.
--=====
The Finder's Help explains:
To make the Script menu appear:
Open the AppleScript utility located in Applications/AppleScript.
Select the "Show Script Menu in menu bar" checkbox.
Under 10.6.x,
go to the General panel of AppleScript Editor’s Preferences dialog box
and check the “Show Script menu in menu bar” option.
--=====
Yvan KOENIG (VALLAURIS, France)
2011/02/23
--=====
on run
run script doyourduty
end run
--=====
script doyourduty
set {dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2} to my getSelParams()
if colNum2 = colNum1 then set colNum2 to colNum1 + 1
tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
repeat with r from rowNum1 to rowNum2
tell row r
set first_last to value of cell colNum1
if (first_last is not 0.0) and first_last contains space then
set in_pieces to my decoupe(first_last, space)
set value of cell colNum1 to item 1 of in_pieces
set value of cell colNum2 to my recolle(items 2 thru -1 of in_pieces, space)
end if
end tell -- row
end repeat
end tell -- Numbers
end script
--=====
set {rowNum1, colNum1, rowNum2, colNum2} to my getCellsAddresses(dname,s_name,t_name,arange)
on getCellsAddresses(d_Name, s_Name, t_Name, r_Name)
local two_Names, row_Num1, col_Num1, row_Num2, col_Num2
tell application "Numbers"
set d_Name to name of document d_Name (* useful if we passed a number *)
tell document d_Name
set s_Name to name of sheet s_Name (* useful if we passed a number *)
tell sheet s_Name
set t_Name to name of table t_Name (* useful if we passed a number *)
end tell -- sheet
end tell -- document
end tell -- Numbers
if r_Name contains ":" then
set two_Names to my decoupe(r_Name, ":")
set {row_Num1, col_Num1} to my decipher(d_Name, s_Name, t_Name, item 1 of two_Names)
if item 2 of two_Names = item 1 of two_Names then
set {row_Num2, col_Num2} to {row_Num1, col_Num1}
else
set {row_Num2, col_Num2} to my decipher(d_Name, s_Name, t_Name, item 2 of two_Names)
end if
else
set {row_Num1, col_Num1} to my decipher(d_Name, s_Name, t_Name, r_Name)
set {row_Num2, col_Num2} to {row_Num1, col_Num1}
end if -- r_Name contains…
return {row_Num1, col_Num1, row_Num2, col_Num2}
end getCellsAddresses
--=====
set { dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2} to my getSelParams()
on getSelParams()
local r_Name, t_Name, s_Name, d_Name
set {d_Name, s_Name, t_Name, r_Name} to my getSelection()
if r_Name is missing value then
if my parleAnglais() then
error "No selected cells"
else
error "Il n'y a pas de cellule sélectionnée !"
end if
end if
return {d_Name, s_Name, t_Name, r_Name} & my getCellsAddresses(d_Name, s_Name, t_Name, r_Name)
end getSelParams
--=====
set {rowNumber, columnNumber} to my decipher(docName,sheetName,tableName,cellRef)
apply to named row or named column !
on decipher(d, s, t, n)
tell application "Numbers" to tell document d to tell sheet s to tell table t to ¬
return {address of row of cell n, address of column of cell n}
end decipher
--=====
set { d_Name, s_Name, t_Name, r_Name} to my getSelection()
on getSelection()
local _, theRange, theTable, theSheet, theDoc, errMsg, errNum
tell application "Numbers" to tell document 1
repeat with i from 1 to the count of sheets
tell sheet i
set x to the count of tables
if x > 0 then
repeat with y from 1 to x
try
(selection range of table y) as text
on error errMsg number errNum
set {_, theRange, _, theTable, _, theSheet, _, theDoc} to my decoupe(errMsg, quote)
return {theDoc, theSheet, theTable, theRange}
end try
end repeat -- y
end if -- x>0
end tell -- sheet
end repeat -- i
end tell -- document
return {missing value, missing value, missing value, missing value}
end getSelection
--=====
on parleAnglais()
local z
try
tell application "Numbers" to set z to localized string "Cancel"
on error
set z to "Cancel"
end try
return (z is not "Annuler")
end parleAnglais
--=====
on decoupe(t, d)
local oTIDs, l
set oTIDs to AppleScript's text item delimiters
set AppleScript's text item delimiters to d
set l to text items of t
set AppleScript's text item delimiters to oTIDs
return l
end decoupe
--=====
on recolle(l, d)
local oTIDs, t
set oTIDs to AppleScript's text item delimiters
set AppleScript's text item delimiters to d
set t to l as text
set AppleScript's text item delimiters to oTIDs
return t
end recolle
--=====
--[/SCRIPT]
Yvan KOENIG (VALLAURIS, France) mercredi 23 février 2011 10:18:36 -
How to split the records into two parts
Hi experts,
I have a field with 75 char length, this field have records also, Now i want to split the field into two differnt fields. That means upto first 40 char goes to one field, from 41st char to 70 char goes to another field, for that how to split record into two parts.
Plz advice this,
MohanaHi,
Do the following:
f1 = fsource(40).
f2 = fsource+40(30).
where fsource is the 70 character original string and target strings are f1 (length 40) and f2 (length 30).
Cheers,
Aditya
Edited by: Aditya Laud on Feb 22, 2008 2:10 AM -
How to split a file into two small file
Hi All,
I want to raed a file from FTP server.Then i have to split a file into two small file.File format look like this.
R01!service_order!item_guid!resource_guid!assignment_guid
R02!Service_order!product_id!product_discription!quantity
R02!Service_order!product_id!product_discription!quantity
R02!Service_order!product_id!product_discription!quantity
i want split file into 2 file,according to header and item details.one table containt header information (label R01) and second table containt (label R02).
can anybody help me for this.how can i split into 2 file.
Thanks
Vishwas SahuCreate 2 internal tables. sat it_header, it_detail
Check for 1st 3 characters and if it is R01 then send it into it_header and if it comes out to be R02 then send it to it_detail.
Once done... You can either attach these tables into mail as two seperate files
Or you can download each internal table using GUI_DOWNLOAD.
Hope this helps!!
Kanchan -
How to split one monitor into two, differently configured desktops
Hello,
I have a 27" iMac. I would like to split the screen into two differently configured desktops or monitors. Apps like TwoUp or Divy don't exactly do this. I'll explain it with an example:
Suppose I'm working on a document and I need to open many folders to retrieve files. One common problem is that opened folders overlap each other and sometimes they overlap with the document I'm working on, or they go underneath the document. I would like to split the screen vertically in, say, two virtual, independent desktops/monitors, like this:
- one window/space on one side (say, on the left) of the screen would contain the document from top to bottom, with no dock bar on the bottom
- the other window/space (right) would behave as a regular, full desktop, with the entire dock on the bottom
In this way, if I need to navigate to find a file to use in the document, I would move the cursor to the right. The Finder would work only in this window/space, thus windows or other applications would never overlap or clutter the left side of the screen. Drag-and-drop from right to left should be possible.
One way to imagine it is as if the 16x9 monitor were comprised by two vertical, 8x9 independent monitors side by side, each with its own configuration.
Is this possible? Can anyone recommend an application or type of setup?
Thank you,
-celsoLooking for something like this?
You can tell Display Maid to save the positions of your open windows across many apps and later restore those positions when things become a mess. With Display Maid you don’t have to restore windows one at a time, or even one app at a time. Display Maid restores all saved window positions across all apps with one command. It will also restore window positions automatically when it detects a workspace change.
http://www.funk-isoft.com/index.php/display-maid -
Split a field into 3 columns for a report - Shoud be done in R/3 or BW
Hi all,
I have to split a Text Description (TXTMD) into 3 columns for reporting.
This description is available in R/3 table and in BW InfoObject.
What is the best way to accomplish this task ?
Should I enhance the Extract structure and fill those 3 new ZZ fields on R/3?
Should I do it on BW side ? How, please ???
Thanks in advance.
Regards,
Venkat.If the purpose of splitting is to overcome the limitation of Infoobject, I would recommend doing that in BW side for a couple reasons: You don't need worry about having R/3 transport and also if you are working on LO extractors you don't need to worry about setup tables. Secondly, it is easy to manage the fields in BW side than R/3, because you will be sending fewer fields.
thanks.
Wond -
How to split Big Applications over two HDs for optimal performance?
Assuming both situations are using a 80gb Raptor [drive #1] and 500gb 7K500 [drive #2]:
would it be better to ....
a) install both the OS and applications on the raptor, while using the 500gb as the scratch?
b) install the OS on the raptor, and have all applications installed on the 500gb drive and have the scratch on the same drive?
how about for applications such as Final Cut Pro, which has a lot of associating files (and sound bites in the case of Audio Programs) ..... what would be the best way to split this up over those two drives? (for optimal CPU/disk performance)
any help would be MUCH appreciated!! THANKSMethinks you're overworrying the problem. You should be able to install Tiger and most applications into something less than 30 GB. Everything I have, iLife, Office 2004, Quicken, Toast, TurboTax, and a slew more take up less than 10 GB. Install everything you have on the Raptor, then partition the 500 GB into two or four partitions and use them to store your data, music, movie, and photo files. Link them to your User folder's like named folders. That should satisfy your needs.
-
How do I bulk edit contact's nicknames to first and last names?
i imported contacts to the contacts app and they all say "NoName".
i click on one of them and the first and last name fields are empty but the nickname field has the first and last name in it.
how can i bulk edit 1120 contacts to change the full nickname to a first and last name?
ex: "First" ~ "Last" ~ "Nickname"
"Blank" ~ "Blank" ~ "John Smith"
i want to to be:
"John" ~ "Smith"
help me create an applescript or use a program or something cuz its killing me....thanks
ohh and i used both of the following applescripts and nothing happened:
tell application "Address Book"
set all_Persons to every person in group "Test"
repeat with per_son in all_Persons
set nknm to per_son's nickname
set per_son's first name to word 1 of nknm
set per_son's last name to word -1 of nknm
end repeat
end tell
ANDDDDDD
tell application "Address Book"
set {ASTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, space}
repeat with onePerson in (get people whose nickname is not missing value)
set N to text items of (get nickname of onePerson)
tell contents of onePerson
set first name to text items 1 thru -2 of N as text
set last name to text item -1 of N as text
end tell
end repeat
set AppleScript's text item delimiters to ASTID
end tell
neither did anything...to any1 that wants to use the scripts and have them work just type "save" on the next like after end tell and itll do it........
-
Splitting data up into two columns
Apologies if this is covered previously ( i'm sure it probably is) i've imported .csv into numbers but the first cell contains two pieces of information separated by a space (TI NUMEROLOGY etc) how do I separate into two cells so I can sort data by the different identifers (TI = Title)
IB 1859060196
BI PAPERBACK
AU SHINE
BC VXFN
CO UK
PD 19990923
NP 128
RP 9.99
RI 9.99
RE 9.99
PU CONNECTIONS BOOK PUBLISHING
YP 1999
TI NUMEROLOGY
TI YOUR CHARACTER AND FUTURE REVEALED IN NUMBERS
EA 9781859060193
RF R
SG 2
GC M01
DE A unique step-by-step visual approach to numerology
DE characters and compatibility from names and birth dates.Hi Alan,
Another thought. You can sort the data as it is. Click on Reorganize button on the ToolBar:
To get:
Every cell starting with TI and a space will come together, and sorted by whatever follows TI and a space.
However, if it looks nicer to split the entries, use Badunit's formula.
Alan wrote: "I also clicked on C2 and went to insert/fill/ but the options are greyed out o I can'r apply to all unless I do it manually... and it's a mahoosive file."
To fill down, click on C2 then drag the white handle down. Or, select the rows that you want to fill before Insert > Fill (Numbers needs to know how far to fill).
Ian. -
Error when splitting a Table into two columns - Please help!
Hi!
I have created a table in which I have created a header which has been split into 3 parts conisting of 2 columns. These all work fine. However, when I try to split the row below the header row into 2 columns, it does so but, in a way, connects the line inbetween the two columns with the line inbetween the two columns above and will not allow me to move it left or right by manually changing specs or dragging the line. Please help! (I'm using CS5 by the way!) Thank you!I suggest you begin with a pre-built CSS Layout. DW has several to help jump start your projects. Go to File > New Blank Page > HTML. Select a layout from the 3rd panel and hit CREATE. See screenshot.
Save this layout as test.html and begin building your prototype page saving and validating code often during your work sessions.
Code Validation Tools
CSS - http://jigsaw.w3.org/css-validator/
HTML - http://validator.w3.org/
Good luck with your project!
Nancy O. -
How to split XML document into two
I want to create new docuemnt by taking part of the existent XML document under the node document_text
vNodeList := xmldom.getElementsByTagName(vdoc, 'document_text');
vNode := xmldom.item(vNodeList, 0); -- The xmldom.getNodeName(vNode) of this node is exactly what i am
-- looking for
vdoc:= xmldom.makeDocument( vNode);
insert into cltab values (empty_clob()) returning cl into cl;
xmldom.writeToClob(vdoc_txt, cl);
But after that i am still getting the whole document tree, - copy of the whole document.
What am i doing wrong? What functions should i use for this kind of task? xmldom.clonenode?
Could you recommend any good description of the xmldom package?
Thanks,
RomanIf you are using an FI entry F-43 to generate invoice this can be done by giving the same invoice ref. in the Inv. Ref. field for two vendors. This is manual
Document Split will split the document between two profit center and not between vendors. -
PRE9: How to split one clip into two (or more) clips?
I can't believe this is so hard to do... But HOW?
You don't necessarily need to separate the file into individual clips. When you do a cut on the timeline, this is a virtual cut, leaving the original file untouched but determining what will appear in the output. You can split the clip into multiple pieces, delete the bits you don't want, add transitions, insert new bits, whatever you want, all without affecting the original file in any way. Once you're happy, you output a new file using the Share options, and you get a new video file, with your original files still untouched.
If you want to split your file into multiple individual files, you can use the sliders on the time scale, and export (Share) using the Share Work Area Only checkbox. If you're doing this for purposes of reassembly, it would be better to save the individual clips in as lossless a format as possible, the default AVI format taking considerably more space but not losing quality. Hint: the sliders can be positioned to the time marker using Alt-[ and Alt-]. Once you've done this, note that your original file will still be there, untouched.
There is also VideoRedo Plus, a cheap program which gives frame-accurate selection and allows rapid subdivision of a piece of footage. It doesn't re-render as PE9 would (this is where loss of image quality creeps in using compressed formats such as MPEG), copying the original frames. You can then reassemble the bits using your video editor. -
How to split rows based on two columns..
Hi all...
I have a requirement.
I have product column, sell, purchace prices..(total of three columns) in a data set.
my data set is such a way that..if sale price exists...there is no purchase price and vice versa..
I need too present in a report ,two tables:
table 1 consists of only Sale price items
table 2 should contain only Pruchase Items.
Please see the below picture for clear understanding..
Is that doable? Where do we need to impose a condition?I tried to impose a condition but,it didnt seem to work
http://i51.tinypic.com/29xfdc6.jpg
Please help.Can you send me the template and xml file to [email protected]? I can try to help.
Did you try to filter out the records by the sale price or purchase price column not equal to null?
Thanks,
Bipuser -
How to split one characteristic into 2 columns in query
Hi,
There is a characteristic TASK, which has a navigation attribute Phase Indicator, and if Phase Indicator = 1, then this Task is a Phase, or else it's a normal Task.
Now I want to have a result with 2 columns like:
Phase Normal Task
PH1 T1
PH1 T2
PH2 T3
PH2 T4
Could you give any advice on how to realize it?
Thanks in advance!
Regards,
NapoleonHi Napoleon,
In ur query create 2 selections and give description as phase and normal task.
In the 'phase' sleection drag 'task' as info object and give restriction for the nav attribute 'phase indicator' with 1.
Similarly in the 'normal task' selection again drag 'task' as info object and give restriction for the nav attribute 'phase indicator' with not equal to 1.Hope it helps
Regards,
Rathy
Maybe you are looking for
-
Is there a way to edit multiple photos at once?
I take a lot of pictures that I usually end up tagging (in the bottom corner). Sometimes it's over 100. Is there an easier way than opening them up one my one and inserting text on all of them?
-
Downloaded Lion 10.7.4. Safari won't open
Downloaded Lion 10.7.4. Safari won't open. I can get on internet through app store, and itunes, but Safari gives me error messages, and says to reopen. I am writing this question on my IPad.
-
Creating a default Cover Flow size
Hi In Finder, one can change the default for column widths in column view, for example... so my question is: how does one change the default depth for the Cover Flow view... it seems to default to about four fifths the height of the finder window whi
-
Where can i find the ringtone folder in the newest itunes
where can i find the ringtone folder in the newest itunes
-
How to Disable Detail VO Row Edit button in the HGRID
Hi, I have a HGRID with recursion and basing on some criteria i have to disable the Edit button of the master and detail rows.Last row which dont have recursion but that level itself satisifies some criteria and button should be disabled.As there is