trim not working

ExcelTom

Board Regular
Joined
May 6, 2015
Messages
62
I am trying to use =trim(D2), but it is acting like I am not using a formula. It is just displaying =trim(D2) in the cell. The field I am looking at is an address field so they start with numbers, if that makes a difference.

Thanks for any help.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Chech that the cell is not formatted as text & also check that you have not selected "Show formulas" on the formula tab
 
Upvote 0
Try pressing F2 to enter the Cell and then come out and see if the formula then populates. I have had this a number of times when changing from text to general but the Cell not updating until it has been entered and exited
 
Upvote 0
also make sure that you don't have a space before the = sign
 
Upvote 0
No space before = and F2 didn't work. The weird thing is I went to another sheet within the same book, that has an address and I was able to use the trim function with no problem. Do I need to do something to the formatting of the cells?
 
Upvote 0
We did a workaround and got it going. I copied the data to a new sheet and was able to trim with no problem. Weird stuff.

Thanks.
 
Upvote 0
Are there are formulae on that sheet that work normally?
 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,224
Members
452,620
Latest member
dsubash

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top