Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Spacing
i have about 300 fields in 1 column and there is a space
before most words that doesn't allow me to sort the column properly as the words with spaces before them are shown first and then it starts with the alphabets A-Z. Is there a way to get rid of the spaces infron of the words collectivelly rather then wasting time to do it 1 by 1. Thankyou Hasan |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Spacing
=trim(a1) gets rid of spaces before and after the contents of a1.
If there are otherwise no spaces in your cells, just do a find/replace. Find a space and replace with nothing. Replace all. <-*-<-*-<-*-<-*-<-*-<-*-<-*-<-*- Hope this helps! Anne Troy (better known as Dreamboat) Web: www.VBAExpress.com <-*-<-*-<-*-<-*-<-*-<-*-<-*-<-*- "Hasan" wrote in message ... i have about 300 fields in 1 column and there is a space before most words that doesn't allow me to sort the column properly as the words with spaces before them are shown first and then it starts with the alphabets A-Z. Is there a way to get rid of the spaces infron of the words collectivelly rather then wasting time to do it 1 by 1. Thankyou Hasan |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Spacing
Thanks alot mate it works a treat.
-----Original Message----- =trim(a1) gets rid of spaces before and after the contents of a1. If there are otherwise no spaces in your cells, just do a find/replace. Find a space and replace with nothing. Replace all. <-*-<-*-<-*-<-*-<-*-<-*-<-*-<-*- Hope this helps! Anne Troy (better known as Dreamboat) Web: www.VBAExpress.com <-*-<-*-<-*-<-*-<-*-<-*-<-*-<-*- "Hasan" wrote in message ... i have about 300 fields in 1 column and there is a space before most words that doesn't allow me to sort the column properly as the words with spaces before them are shown first and then it starts with the alphabets A-Z. Is there a way to get rid of the spaces infron of the words collectivelly rather then wasting time to do it 1 by 1. Thankyou Hasan . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Spacing between characters | Excel Discussion (Misc queries) | |||
Spacing problems | Excel Worksheet Functions | |||
CELL SPACING | Excel Discussion (Misc queries) | |||
Common spacing | Excel Worksheet Functions | |||
SPACING | Excel Worksheet Functions |