Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-19-2016, 12:17 PM
LearnerExcel LearnerExcel is offline How to remove spaces from Cells which are at the end of value? Windows 7 32bit How to remove spaces from Cells which are at the end of value? Office 2003
Advanced Beginner
How to remove spaces from Cells which are at the end of value?
 
Join Date: Nov 2016
Posts: 81
LearnerExcel will become famous soon enoughLearnerExcel will become famous soon enough
Default How to remove spaces from Cells which are at the end of value?

How can I remove the space at the end of the cell value? I am not able to calculate values because of this.



Please find attached the Excel File as an example.
Attached Files
File Type: xlsx Remove Spaces from the End of Cells.xlsx (10.1 KB, 11 views)
Reply With Quote
  #2  
Old 12-19-2016, 12:44 PM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline How to remove spaces from Cells which are at the end of value? Windows 7 64bit How to remove spaces from Cells which are at the end of value? Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Something like =SUMPRODUCT(--TRIM(CLEAN(SUBSTITUTE(D3:d21,CHAR(160)," ")))+0) for col D ?

(CHAR(160) is the non breaking character space, not the usual space whiich is CHAR(32)
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 12-19-2016, 01:10 PM
LearnerExcel LearnerExcel is offline How to remove spaces from Cells which are at the end of value? Windows 7 32bit How to remove spaces from Cells which are at the end of value? Office 2003
Advanced Beginner
How to remove spaces from Cells which are at the end of value?
 
Join Date: Nov 2016
Posts: 81
LearnerExcel will become famous soon enoughLearnerExcel will become famous soon enough
Default

Thank a lot for your support. It's working quite fine.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to remove spaces from Cells which are at the end of value? Do not add two spaces after Mr. or Ms. jeffreybrown Word VBA 8 02-15-2017 05:39 AM
How to remove spaces from Cells which are at the end of value? Add two spaces in TOC jeffreybrown Word 2 12-14-2016 03:36 PM
How to remove spaces from Cells which are at the end of value? Remove borders from cells otuatail Excel 1 08-12-2016 05:25 AM
Copying text range of cells to different cells adds an extra line jpb103 Word VBA 2 07-23-2014 12:22 PM
editing text and remove spaces romanticbiro Word VBA 5 07-04-2014 07:42 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:37 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft