Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default test for upper case

Is their a function or way to use the UPPER function to test if the contents
on a cell are all Upper case?

Alternatively if someone has a macro to do so I could copy I would appreciate.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,069
Default test for upper case

To check A1, in another cell enter

=IF(EXACT(A1,UPPER(A1)),TRUE,FALSE)

Copy as needed. Hope this helps,

Hutch

"MusicMan" wrote:

Is their a function or way to use the UPPER function to test if the contents
on a cell are all Upper case?

Alternatively if someone has a macro to do so I could copy I would appreciate.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default test for upper case

Very close, but blanks also came back true. I can handle them in IF test
though. Thanks very much.

"Tom Hutchins" wrote:

To check A1, in another cell enter

=IF(EXACT(A1,UPPER(A1)),TRUE,FALSE)

Copy as needed. Hope this helps,

Hutch

"MusicMan" wrote:

Is their a function or way to use the UPPER function to test if the contents
on a cell are all Upper case?

Alternatively if someone has a macro to do so I could copy I would appreciate.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 806
Default test for upper case

ABS(CODE(A1)-77.5)<13


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default test for upper case

Hi,

Try this

=IF(A1<"",EXACT(A1,UPPER(A1)))


--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"MusicMan" wrote:

Very close, but blanks also came back true. I can handle them in IF test
though. Thanks very much.

"Tom Hutchins" wrote:

To check A1, in another cell enter

=IF(EXACT(A1,UPPER(A1)),TRUE,FALSE)

Copy as needed. Hope this helps,

Hutch

"MusicMan" wrote:

Is their a function or way to use the UPPER function to test if the contents
on a cell are all Upper case?

Alternatively if someone has a macro to do so I could copy I would appreciate.

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default test for upper case

You don't, of course, need the IF(...,TRUE,FALSE), because you've already
got a Boolean.

=EXACT(A1,UPPER(A1)) will do.
--
David Biddulph

"Tom Hutchins" wrote in message
...
To check A1, in another cell enter

=IF(EXACT(A1,UPPER(A1)),TRUE,FALSE)

Copy as needed. Hope this helps,

Hutch

"MusicMan" wrote:

Is their a function or way to use the UPPER function to test if the
contents
on a cell are all Upper case?

Alternatively if someone has a macro to do so I could copy I would
appreciate.



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 lower to upper case automatically without using UPPER Sal Excel Discussion (Misc queries) 6 July 26th 09 11:27 AM
Changing upper case characters to upper/lower Richard Zignego Excel Discussion (Misc queries) 1 December 17th 07 10:09 PM
Defaulting test to Upper case Skippy Excel Worksheet Functions 3 September 13th 07 04:17 PM
Changing file in all upper case to upper and lower case Sagit Excel Discussion (Misc queries) 15 May 30th 07 06:08 AM
How do I convert all upper case excel sheet into upper and lower . DebDay Excel Discussion (Misc queries) 1 March 9th 05 08:31 PM


All times are GMT +1. The time now is 04:47 PM.

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"