Is there a function that identifies proper names

hectc7

New Member
Joined
Aug 25, 2015
Messages
4
Here is the scenario, We have an excel list of terms but we want to isolate those terms that are proper names of schools.

In real life we want to isolate the proper name term from the following list

cat
dog
Murry's school
church

Is there such a function??

Thanks!
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
So, you are basically looking for any entry with a capital letter in it, right?
If so, you use Conditional Formatting to bold or highlight those entries.
Let's say that those values are in column A. Then select column A, and enter this Conditional Formatting Formula:
Code:
=EXACT(A1,LOWER(A1))=FALSE
and choose your bold or highlight formatting.
 
Upvote 0
Hello,

May be a simple UDF ...

Code:
Function IsFirstLetterCaps(str As String) As Boolean
' Example in cell B1 = IsFirstLetterCaps(A1)
  IsFirstLetterCaps = (Left(Trim(str), 1) = UCase(Left(Trim(str), 1)))
End Function

Hope this will help
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

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