I need to remove the last character in a cell if it is a comma. I can't remove all commas because there are other commas in the text.
I need to remove the last character in a cell if it is a comma. I can't remove all commas because there are other commas in the text.
Last edited by Johnf42; 09-15-2009 at 12:02 AM.
=if(right(a1,1)=",",left(a1,len(a1)-1),a1)
Thank you, it worked.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks