Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Colin Vicary
 
Posts: n/a
Default Detecting Case of Text in a Cell


Hi All

I know it's possible to change the case of text in a cell in Excel
using Lower, Upper and Proper, but is there a function that tells me
the current case of the text?

A user has a spreadsheet of catalogue items, some in proper case and
some in upper. He wants to seperate those in upper case into a separate
sheet but I can't think of an easy way of doing it.

Can anyone help?

Colin


--
Colin Vicary
------------------------------------------------------------------------
Colin Vicary's Profile: http://www.excelforum.com/member.php...o&userid=10472
View this thread: http://www.excelforum.com/showthread...hreadid=477485

  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default Detecting Case of Text in a Cell

I'd use a column with cells containing a formula like:

=IF(EXACT(A1,UPPER(A1)),"Upper",IF(EXACT(A1,LOWER( A1)),"Lower",
IF(EXACT(A1,PROPER(A1)),"Proper","somethingelse")) )

(all one cell)

Then just filter on that column.

Be aware that 1234 will be treated as Upper--same with empty cells.



Colin Vicary wrote:

Hi All

I know it's possible to change the case of text in a cell in Excel
using Lower, Upper and Proper, but is there a function that tells me
the current case of the text?

A user has a spreadsheet of catalogue items, some in proper case and
some in upper. He wants to seperate those in upper case into a separate
sheet but I can't think of an easy way of doing it.

Can anyone help?

Colin

--
Colin Vicary
------------------------------------------------------------------------
Colin Vicary's Profile: http://www.excelforum.com/member.php...o&userid=10472
View this thread: http://www.excelforum.com/showthread...hreadid=477485


--

Dave Peterson
  #3   Report Post  
Colin Vicary
 
Posts: n/a
Default Detecting Case of Text in a Cell


Dave

That worked perfectly, thanks for your help.

Colin


--
Colin Vicary
------------------------------------------------------------------------
Colin Vicary's Profile: http://www.excelforum.com/member.php...o&userid=10472
View this thread: http://www.excelforum.com/showthread...hreadid=477485

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert numbers to text bellman Excel Discussion (Misc queries) 0 October 4th 05 10:28 PM
How to .. sbgvp Excel Discussion (Misc queries) 8 October 4th 05 09:16 PM
excel melissa Excel Worksheet Functions 2 August 19th 05 09:46 PM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
Spellnumber Norman Jones Excel Worksheet Functions 6 December 13th 04 07:21 AM


All times are GMT +1. The time now is 02:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"