ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   how do i truncate text-- create cell with only 125 charecters (https://www.excelbanter.com/excel-worksheet-functions/97704-how-do-i-truncate-text-create-cell-only-125-charecters.html)

zahara

how do i truncate text-- create cell with only 125 charecters
 
i have a spreadsheet to import into a database.

some cells have over 125 charecters for a field where the database only has
125.

i'd like to create a new column in the spreadsheet where each cell has the
first 125 charecters of the original cell.

how do i do this? thanks.

Marcelo

how do i truncate text-- create cell with only 125 charecters
 
hi

=left(a2,155)

hth
regards from Brazil
Marcelo

"zahara" escreveu:

i have a spreadsheet to import into a database.

some cells have over 125 charecters for a field where the database only has
125.

i'd like to create a new column in the spreadsheet where each cell has the
first 125 charecters of the original cell.

how do i do this? thanks.


kassie

how do i truncate text-- create cell with only 125 charecters
 
If you have the string in say A1, then in B1 enter =LEFT(A1). If you want to
do several rows, copy this down as far as necessary.

"zahara" wrote:

i have a spreadsheet to import into a database.

some cells have over 125 charecters for a field where the database only has
125.

i'd like to create a new column in the spreadsheet where each cell has the
first 125 charecters of the original cell.

how do i do this? thanks.



All times are GMT +1. The time now is 02:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com