Reputation: 21
I am trying to use the EXCEL Trim function on a range of cells but it doesn't seem to work, instead, it throws an error "#VALUE!". I am just beginning to learn Excel and was going through this W3Schools Learning Module on Excel, there under the TRIM Function they were able to use the function on a range of cells I am unable to do. Can someone help me out, please? I am using Office 2019
Upvotes: -1
Views: 714
Reputation: 77
Other Best way it to use power query where you can apply column transform over multiple column in same time . Power query is strong feature of excel that allow you to apply multiple step together with nested feature
Source = YourTable,
TrimmedColumn = Table.TransformColumns(Source, {{"ColumnName", Text.Trim, type text}})
in
TrimmedColumn
Upvotes: 0
Reputation: 6314
On an array an array formula has to be used. Do the followings:
or
Upvotes: 1