#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sjs
 
Posts: n/a
Default Count Characters

I have thousands of rows in my spreadsheet and I need to identify the cells
that contain more than 30 characters. I know how to do a Validation on a
cell but that only flags me when I enter data into the formatted cell, not
when data already exists. Any ideas?

tks,
steve
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Harlan Grove
 
Posts: n/a
Default Count Characters

sjs wrote...
I have thousands of rows in my spreadsheet and I need to identify the cells
that contain more than 30 characters. I know how to do a Validation on a
cell but that only flags me when I enter data into the formatted cell, not
when data already exists. Any ideas?


Strictly more than 30 characters? Edit Find, Find what entry should
be

???????????????????????????????

that's 31 question marks. Alternatively, use conditional formatting
with the formula condition for cell D5 being =LEN(D5)30 and give it a
distinctive format (IMO, different background colors work best).

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default Count Characters

Assuming that Column A contains your data, enter the following formula
in B1, and copy down:

=(LEN(A1)30)+0

The formula will return 0 for cells containing less than 30 characters,
and 1 for those containing more than 30 characters.

Hope this helps!

In article ,
sjs wrote:

I have thousands of rows in my spreadsheet and I need to identify the cells
that contain more than 30 characters. I know how to do a Validation on a
cell but that only flags me when I enter data into the formatted cell, not
when data already exists. Any ideas?

tks,
steve

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Chris Lavender
 
Posts: n/a
Default Count Characters

Hi Steve

You can use an IF function on another sheet eg =IF(LEN(Sheet1!A1)30,1,"")
and then use that data somehow. You don't say what you want to do with your
cells containing more than 30 characters. If you want to convert them all
to 30 characters max, then you can enter a formula on Sheet2, eg
=LEFT(Sheet1!A1,30), copy it down and across and then convert it all to
values....

HTH
Best rgds
Chris Lav



"sjs" wrote in message
...
I have thousands of rows in my spreadsheet and I need to identify the

cells
that contain more than 30 characters. I know how to do a Validation on a
cell but that only flags me when I enter data into the formatted cell, not
when data already exists. Any ideas?

tks,
steve



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sjs
 
Posts: n/a
Default Count Characters

Excellent, thanks!!

"Harlan Grove" wrote:

sjs wrote...
I have thousands of rows in my spreadsheet and I need to identify the cells
that contain more than 30 characters. I know how to do a Validation on a
cell but that only flags me when I enter data into the formatted cell, not
when data already exists. Any ideas?


Strictly more than 30 characters? Edit Find, Find what entry should
be

???????????????????????????????

that's 31 question marks. Alternatively, use conditional formatting
with the formula condition for cell D5 being =LEN(D5)30 and give it a
distinctive format (IMO, different background colors work best).




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sjs
 
Posts: n/a
Default Count Characters

Perfecto!! Thanks!

"Domenic" wrote:

Assuming that Column A contains your data, enter the following formula
in B1, and copy down:

=(LEN(A1)30)+0

The formula will return 0 for cells containing less than 30 characters,
and 1 for those containing more than 30 characters.

Hope this helps!

In article ,
sjs wrote:

I have thousands of rows in my spreadsheet and I need to identify the cells
that contain more than 30 characters. I know how to do a Validation on a
cell but that only flags me when I enter data into the formatted cell, not
when data already exists. Any ideas?

tks,
steve


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sjs
 
Posts: n/a
Default Count Characters

Hi Chris,

Thanks for the help...I simply need to identify fields that exceed 30
characters then I need to shorten them appropriately, the fields are product
descriptions that I'll import into a business system. The "LEN" command to
id the cells works like a champ!

Have a great weekend!

steve

"Chris Lavender" wrote:

Hi Steve

You can use an IF function on another sheet eg =IF(LEN(Sheet1!A1)30,1,"")
and then use that data somehow. You don't say what you want to do with your
cells containing more than 30 characters. If you want to convert them all
to 30 characters max, then you can enter a formula on Sheet2, eg
=LEFT(Sheet1!A1,30), copy it down and across and then convert it all to
values....

HTH
Best rgds
Chris Lav



"sjs" wrote in message
...
I have thousands of rows in my spreadsheet and I need to identify the

cells
that contain more than 30 characters. I know how to do a Validation on a
cell but that only flags me when I enter data into the formatted cell, not
when data already exists. Any ideas?

tks,
steve




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
Count Number of Characters in a cell? AHJuncti Excel Discussion (Misc queries) 2 June 16th 05 07:39 PM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 8 May 18th 05 04:23 AM
How do you count number of characters in a single cell Joe Excel Worksheet Functions 1 February 18th 05 09:08 PM
How do you count number of characters in a single cell Joe Excel Worksheet Functions 1 February 18th 05 08:33 PM
Count unique alpha numeric "characters" in a common cell WIM4246 Excel Worksheet Functions 4 December 11th 04 02:27 AM


All times are GMT +1. The time now is 10:44 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"