Sketch of Me Excel Blog @ TVMCalcs.com

Saturday, March 08, 2008

Testing a String for Proper Case

Have you ever needed to check a string in a worksheet cell to see if it is in proper case? By "proper case" I mean that the first letter of each word in the string is capitalized and the other characters are lowercase. For example, you may have a list of people’s names (maybe for a mailing list) and you need to be sure that the names are written properly (e.g., John Smith, not john Smith or John sMith). It seems that this should be easy in Excel, but it isn’t obvious (at least there is no easy, built-in function that you can use to validate the string). In this post I will demonstrate three

Continue reading...


Posted by Tim on 03/08 at 07:28 PM in Array Formulas in Functions in Offset in String Functions in Code in left in len in mid in Proper in VBA
Comments (1) • PermalinkTell-a-Friend

Tuesday, August 28, 2007

Dealing With Unusual Date Formats

I’m sure that you have all been through this: You go to a Website (or a database, probably from a mainframe) to get some data. The problem is that the dates are formatted in some obscure way that Excel doesn’t understand. In this post, I’ll give you an idea of how to convert these dates into something that you can work with.

Yesterday I was working on a project that involves charting some economic data series. Frequently, charts of economic time series show shaded areas that indicate a period of recession (I’ve got a post that shows how to do that). So, I needed to know the dates for

Continue reading...


Posted by Tim on 08/28 at 02:57 AM in Dates in Economic Data in Excel in Functions in Date Functions in Date in EOMonth in String Functions in Find in left in len in mid in right in Search
Comments (2) • PermalinkTell-a-Friend
Page 1 of 1 pages