Forum Discussion
Ross Stewart
Jul 24, 2018Copper Contributor
Length in a cell
I have a large Excel spreadsheet with one column containing a 3-character client ID. Sometimes these client IDs are entered (wrongly) as 4 and 5 character IDs.
Is there a simple test I can use to check for (? list) those entries where the ID is longer than 3 characters?
8 Replies
- Lorenzo KimBronze Contributor
Mr. Stewart
you can use the DATA > Data Validation to control the number of characters in a column or cell..
pls see below image
- Ross StewartCopper Contributor
Thanks Lorenzo, but if I opt to circle the errors, I can't see how to sort these to the top of the table, so that they can be fixed.
I was hoping for some way of running a little report which might extract, or display together, the invalid entries. (Currently the table is around 1200 entries but will be growing each month).
Any thoughts?
- Lorenzo KimBronze ContributorMr. Stewart maybe a "simpler" way.... add a column besides your ID column - in that added column place the formula =len(A1) where A1 is the column of ID, then copy the formula down.. sort the sheet in accordance with that added column -- you will now see the variations..after that you can delete the added column.. HTH