Microsoft Excel 2007 Data Concatenation Methods
Concatenation is the process of stringing together different pieces of information to form a new piece of data. For example, if we have columns containing people’s title and first name and another containing their last name, we could use concatenation to create their full name. All we need to do is to string together the title, first name and last name.
Excel offers two concatenation techniques. The first is to use ‘&’ (the ampersand) which is the concatenation operator: the second is to use the CONCATENATE function. To use the ampersand in our Full Name example, we would first enter an “=” sign to indicate to Excel that we want to create a function. Secondly, we would click on the cell containing the title to enable Excel add a reference to that cell to our formula.
Next, we need to add a space to separate the title from the first name. To do this, we type the concatenation operator followed by a space and since a space is a character it has to be enclosed in quotation marks. Thus, we would type ‘& ” ” &’. After that, we click on the cell that contains the first name, then type ‘& ” ” &’ once more to add a space separating the first name from the last name.
Find another great article http://firepitring.org/outdoor-breakthrough-in-fabric-technology
To finish, we click the cell that contains the last name and, to confirm the formula, either press the Enter key or click on the Enter button on the left of the formula bar.
Now let’s look at doing the same thing using the CONCATENATE function. When using the Insert Function command, this is found in the Text category and permits you to string together up to 255 pieces of information. For example, let’s say that our title was in cell C2, our first name in D2 and our last name in E2; our formula would be ‘=CONCATENATE(C2,” “,D2,” “,E2)’.
As to which is the better method; frankly, there is not much to choose between them. Simply use the technique which you feel makes more sense to you. One argument for using the first method is that the use of the concatenation operator is found in almost all scripting and programming languages. Some environments use an ampersand as the operator; others use the plus sign.
You can find out more about Excel VBA training courses, visit Macresource Computer Training, a UK IT training company offering Excel VBA training courses at their central London training centre.
Other articles you might like;
- C-MAP NT+ ME-C201 - NE Africa Med Mid East Coast - Furuno FP-Card
- Blue Sea 4005 Standard Cable Caps
- C-MAP NT+ ME-C202 - Red Sea-Arabian Sea - Furuno FP-Card
- C-MAP NT+ NA-C039 - Ohio River Cairo Pittsburgh - Furuno FP-Card
- Blue Sea 3000 HD-Series Battery Switch Single Circuit ON/OFF
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.