Query for finding names and addresses in all uppercase

Options
Hi,


Does anyone know how to query records with names and addresses in all uppercase?


Louise

Comments

  • Alan French:

    I don't know whether it's possible to do that in RE, but you could certainly export the entire list to Excel and identify them there very easily. Excel isn't normally case-sensitive when comparing text so you'll probably want to use the Exact function, which is.

    =EXACT(A2,UPPER(A2)) will compare the contents of cell A2 to its upper case version and return TRUE if they are the same and FALSE if they are not, so you'll be interested in the ones that are true.


    Once you've found the names that are incorrectly formatted, you can use the PROPER function to get them into the correct case. PROPER capitalises the first letter of every word, so you may find that it doesn't work correctly for names such as McDonald.

    Alan - is there a way to find if only the first name is all caps - for example if there is a LISA Smith or something like that. I've tested the formula below and get a False result but I assume it is because the entire cell is not all uppercase

  • I'd either export the first and last names in separate fields, or if it's a lot of hassle to redo the export then you could use Excel's "Text to Columns" tool, using a space as the delimiter, to split the name up into multiple columns and then use the formula on each column. Exporting them separately is probably better if there's a chance that some constituents might have spaces anywhere other than between their first and last name (e.g. Anne Marie Smith) as Text To Columns will split those names across more than 2 cells which might make the data more of a pain to work with.
  • Thanks Alan!


    Makes perfect sense...I just did not know if there was some other fancy, super smart, excel command  :)

Categories