#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 103
Default Blank space

I have big database of customers and have blank space beoire the customer
name start. How can i remove it in bunch?



Dinesh
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 39
Default Blank space

On Mar 1, 6:08*pm, Dinesh wrote:
I have big database of customers and have blank space beoire the customer
name start. *How can i remove it in bunch?

Dinesh


Save your workbook.
Use the function palette to enter the TRIM function in a column to the
right of the names.
Enter the cell reference of the name.
Drag the function down the length of the list of names.
Copy all of the resulting names.
Select the first cell in the original column of names.
Right click and select Paste Special.
Select Values only.
Delete the TRIM formulas
If you like the results, Save the workbook.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Blank space

Hi,

Another approach which would avoid any unintended consequences of the TRIM
function (TRIM will turn a double space between words into a single space)
would be to do exactly as Slim Slender suggest but use the formula:

=MID(A1,2,LEN(A1))

This will only remove the leading "space".

Cheers,

Matt

"Dinesh" wrote:

I have big database of customers and have blank space beoire the customer
name start. How can i remove it in bunch?



Dinesh

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Blank space

Or =RIGHT(A1,LEN(A1)-1) ?
--
David Biddulph


"Matt Geare" wrote in message
...
Hi,

Another approach which would avoid any unintended consequences of the TRIM
function (TRIM will turn a double space between words into a single space)
would be to do exactly as Slim Slender suggest but use the formula:

=MID(A1,2,LEN(A1))

This will only remove the leading "space".

Cheers,

Matt

"Dinesh" wrote:

I have big database of customers and have blank space beoire the customer
name start. How can i remove it in bunch?



Dinesh



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 103
Default Blank space

Thank you all. It works pefectly.

Dinesh

"David Biddulph" wrote:

Or =RIGHT(A1,LEN(A1)-1) ?
--
David Biddulph


"Matt Geare" wrote in message
...
Hi,

Another approach which would avoid any unintended consequences of the TRIM
function (TRIM will turn a double space between words into a single space)
would be to do exactly as Slim Slender suggest but use the formula:

=MID(A1,2,LEN(A1))

This will only remove the leading "space".

Cheers,

Matt

"Dinesh" wrote:

I have big database of customers and have blank space beoire the customer
name start. How can i remove it in bunch?



Dinesh



.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default Blank space

On the off-chance your cells might have a combination of 1, 2, or more
leading blank spaces, or even possibly some of them having no leading blank
space, you can safely use this formula to perform a "left trim" on the text
for all of these cases...

=MID(A2,FIND(LEFT(TRIM(A2)),A2),LEN(A2))

--
Rick (MVP - Excel)


"Dinesh" wrote in message
...
Thank you all. It works pefectly.

Dinesh

"David Biddulph" wrote:

Or =RIGHT(A1,LEN(A1)-1) ?
--
David Biddulph


"Matt Geare" wrote in message
...
Hi,

Another approach which would avoid any unintended consequences of the
TRIM
function (TRIM will turn a double space between words into a single
space)
would be to do exactly as Slim Slender suggest but use the formula:

=MID(A1,2,LEN(A1))

This will only remove the leading "space".

Cheers,

Matt

"Dinesh" wrote:

I have big database of customers and have blank space beoire the
customer
name start. How can i remove it in bunch?



Dinesh



.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How many way to represent the blank space? Eric Excel Discussion (Misc queries) 7 April 26th 09 06:47 PM
why does blank space appear at end of number? Mary Excel Discussion (Misc queries) 2 March 26th 08 12:04 AM
add blank space in cell if first name is not blank stef Excel Worksheet Functions 6 August 23rd 06 02:26 AM
BLANK SPACE TO A NUMBER kevin Excel Worksheet Functions 3 December 30th 05 06:10 PM
I want a blank space on a worksheet when the question is blank? Patrizia Excel Discussion (Misc queries) 2 June 23rd 05 12:51 AM


All times are GMT +1. The time now is 12:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"