Tips: To find exactly articles with useful content for readers, search on Google with the syntax: "Keyword" + "khoafastnews". (Example: new card for new priest Khoafastnews).Search now
74 lượt xem

8 Ways Concatenate in Excel Can Improve Your Data-KHOAFA

8 Ways Concatenate in Excel Can Improve Your Data

Whenever data in your Excel spreadsheet doesn’t look exactly the way visitors’d favorite, or visitors unexpected thing a better way to present the data in your sheet, concatenate can help.

The concatenate function in Excel is one of the most or used functions of random. The reason is that it’s So Problem versatile. Whenever data in your spreadsheet doesn’t look exactly the way visitors’d favorite, or visitors unexpected thing a better way to present the data in your sheet, concatenate can help.

How Concatenate in Excel Works

The Concatenate function is straightforward to effect. The syntax for the function works as follows:

CONCATENATE(text1, text2, text3, …)

So function appears very merely. It will string sitting together multiple text strings into a single string. visitors place each string (or the cell that holds the string) separated by commas inside the function.

using concatenate in excel

While it may be merely, its uses are plentiful.

In So article, visitors’ll go over a few examples of some of the most capable of ways visitors can effect the Concatenate function in your various projects.

one. Formatting Names

One of the most common uses for the Concatenate function is when your spreadsheet contains names in two columns, favorite in the example above. So is one of the easiest ways to effect So function since it involves stringing sitting together two columns of course a space in the middle.

The syntax for So is:

CONCATENATE(B2,” “, A2)

So will put the first common name and the last common name in the correct order, of course a space in the middle. To fill the rest of the column for the other names, hold down the Shift important matter on the keyboard and double click.

using concatenate for names in Excel

So will autofill the column of course the rest of the names.

2. Update a status in Plain Language

visitors may effect a spreadsheet to put sitting together a large amount of data to perform a complex series of calculations whenever visitors open the sheet. But all visitors really notice about is the end calculation.

Save time by using Concatenate to craft a status of course the final result at the very number one of the sheet. if that the calculated result is in cell G47, visitors will effect the following formula to create an updated status in cell A1:

=CONCATENATE(“The total expenditures to date is: $”, G47)

So will result in the statement at the number one of the spreadsheet, as shown below.

updated status with concatenate

today’s time visitors can save some time by just do opening the sheet and getting the result at a glance.

3. Parse a Mailing Address

One of the most popular uses for the Concatenate function is taking various fields in a database filled of course information from users, customers, or anyone else and piecing sitting together their full address into a single field.

So way, visitors can grab the entire address of course a quick right-click and copy.

Your spreadsheet may with pieces of the address split up among fields spread across the entire table.

build address with concatenate

visitors can build a formatted address by stringing the pieces of the address into one cell, separated by a carriage return. In Excel, that’s “Char(10)”.

visitors’d piece sitting together the address using the following function:

=CONCATENATE(G2,CHAR(10),H2,CHAR(10),K2,”,”,L2,” “,M2)

The carriage return code goes after a period of time a time the common name and the street, and the city, street, and zip code unexpected thing to possess meaning formatted of course a comma and a space.

The result may realistically look favorite a jumbled mess. So is so of that visitors unexpected thing to format the address cells of course Wrap text.

Do So by selecting all of the address cells, right-clicking, and selecting Format Cells. In the Format Cells window, select the Alignment tab and enable Wrap text.

setting wrap text in Excel

today’s time visitors’ll see that all of the addresses are formatted as expected.

formatted address fields

So approach can be used for random field where visitors want to create formatted text that pulls sitting together data from throughout the spreadsheet.

4. Parse sitting together a URL

Another good effect for the Concatenate function is piecing sitting together all of the elements for a full URL string. For example, the URL link to the purchased product may be produced up of the site domain, the department, and the Product ID in the product spreadsheet.

parse url using concatenate

For each row, visitors can build the URL using both static and dynamic addressing for cells.

=CONCATENATE(“https://”,D1,”/”,D3,”/”,O3,”.php”)

So attaches the static text “HTTPS:” to the beginning and “.php” to the end of the URL string for that product. visitors’ll insert the URL segments by selecting the cells for the domain, the department, and the product ID between each of the forward slashes. All of these are separated by commas.

The result is a perfectly formatted URL link to that product.

url concatenate

visitors can fill the rest of the cells using with the approach as above. Hold down the shift important matter and place the mouse at the lower right corner of the first cell where visitors’ve built the concatenated URL until visitors see double parallel lines. Double click to fill the rest of the cells in that column of course with the function. Cells will automatically control for each row.

5. Dynamic Title Charts

One of the widely used uses of the Concatenate function is to dynamically title charts in a spreadsheet. So is often needed to update things favorite the current date for a spreadsheet that’s used as a recurring report.

For example, in the sell products spreadsheet, visitors can create a title cell that holds the title for the chart. Using the Concatenate function, visitors can update the current date when visitors update the spreadsheet.

=CONCATENATE(“Total sell products as of: “,YEAR(today’s time()))

So cell will update of course the correct date every time the chart updates.

creating concatenate cell for a chart title

Next, visitors with to set the chart title to update of course those cell contents.

To do So:

  1. Select the Chart title
  2. Select the function field and type “=I1” (replace I1 where visitors built the chart title concatenation)
  3. Press Enter and the chart title will match the dynamically updated cell

creating dynamic chart title

today’s time, whenever the spreadsheet updates, the chart will with the correct date in the title. visitors don’t with to worry about remembering to update it whenever visitors run the report.

6. combine Numbers and Text

Another capable of feature of the Concatenate function is that it lets visitors combine text cells and number cells into one string. visitors can also with in dates if that visitors convert the date field to text.

For example, to convert each sale event into a plain English statement, visitors might effect a Concatenation function favorite shown below.

=CONCATENATE(C4,” sold “,E4,” units of “,D4,” on “,TEXT(A4,”mm/dd/yyyy”))

So will take two text fields (sell products rep common name and unit common name) and combine them of course a number and date field (unit number and date of sale).

combine numbers and text with concatenate

So allows visitors to build an entire text field that visitors can then effect to send out email content from the Excel sheet automatically.

7. Automatically Build HTML

if that visitors take that contact to combine text, values, and other data from your spreadsheet into a single cell of content, and then combine that of course the effect of the Char(10) newline function and HTML codes, visitors could build HTML code that visitors could insert into random web page.

A effect for So might be copying spreadsheet calculation results into a web page where visitors provide the calculation results to the public (or to your internal corporate network).

For example, let’s say that visitors’re executing a book club website and post weekly updates to members of course the latest reading materials for the month. if that visitors effect a spreadsheet to log each monthly update, visitors can effect Concatenate to build the page content for that entry.

web page content spreadsheet

Create another cell for the web page content, and then Concatenate your content using cell entries from the sheet:

=CONCATENATE(“Hello again everyone! <pandgt;”,CHAR(10), “So month visitors’re going to possess meaning reading <emandgt;”,A2,”</emandgt; by <emandgt;”,B2,”</emandgt;.<pandgt;”,Char(10),” So title was published in <emandgt;”,C2,”</emandgt;.”, ” I’m looking forward to hearing what visitors all think!”)

As visitors can see, combining static strings, information from cells, and formatting codes combined of course HTML formatting codes lets visitors create random content at all that dynamically pulls information from your spreadsheet.

html concatenate

of course a little creativity, visitors could generate not only little of page content. And copy and paste it directly into your blog posts.

8. Generate Codes

Another capable of trick visitors can effect concatenate is to piece sitting together sections of information from each field into a important code. visitors can effect that code as a unique identifier.

Using the product spreadsheet example, let’s say visitors want to create a unique code to identify every individual purchase produced on the website. In So example, the purchase code will be produced up of:

  • The first two letters of the department
  • The last two letters of the customer common name
  • The first two numbers of the zip code
  • The last 8 numbers of the product ID

visitors can do So all by combining the Concatenate function of course Left and Right string functions:

=CONCATENATE(LEFT(D3,2),RIGHT(H3,2),LEFT(M3,2),RIGHT(O3,8))

So nests the Left function (grabbing characters from the left) and the Right function (taking characters from the right) into the Concatenate function.

creating unique code with concatenate

So is capable of for creating unique passwords to build a unique website URL slug for web pages.

Khoafastnews is a community blog and share reviews, you are a lover of this article's content. Please give us 1 Like, Share. Thank you. Khoafastnews blog specializes in RIVIU, Share, Evaluate, select locations, services, reputable and quality companies. Place your ad here chính thức.

Bài viết mới cập nhật:

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *