Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default how do I delete the last two spaces in a cell

i have a cell that has numbers and then two spaces after the number. I
cannot sort correctly with the spaces. What formula will allow me to keep
the numbers and
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 104
Default how do I delete the last two spaces in a cell

Hi Brantty,

Have you tried using find and replace. Select the range, find [Spacebar]
[Spacebar], leave the replace with blank and replace all
--
Hope this helps,
MarkN


"brantty" wrote:

i have a cell that has numbers and then two spaces after the number. I
cannot sort correctly with the spaces. What formula will allow me to keep
the numbers and

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default how do I delete the last two spaces in a cell


The "numbers" you have must have a ' in front of them if the spaces at
the end are showing up. To remove them insert a column next to the one
containing your numbers and insert the formula =TRIM(B1) into it and
copy it down for as many rows as you have. This will remove all the
spaces.

brantty Wrote:
i have a cell that has numbers and then two spaces after the number. I
cannot sort correctly with the spaces. What formula will allow me to
keep
the numbers and



--
Excelenator


------------------------------------------------------------------------
Excelenator's Profile: http://www.excelforum.com/member.php...o&userid=36768
View this thread: http://www.excelforum.com/showthread...hreadid=565421

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
Help with this conditional IF statement C-Dawg Excel Discussion (Misc queries) 3 May 15th 06 06:01 PM
resetting last cell jagdish.eashwar Excel Discussion (Misc queries) 11 March 31st 06 02:06 AM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
delete cell that doesn't contain a specific word [email protected] Excel Discussion (Misc queries) 1 October 12th 05 05:54 AM
Delete Cell Value Based on Another Cell T or F DocuMike Excel Discussion (Misc queries) 3 January 5th 05 08:46 PM


All times are GMT +1. The time now is 03:41 PM.

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

About Us

"It's about Microsoft Excel"