Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default IF functions with multiple results including blank

=IF(LEN(C3)<=D3,"Entry Acceptable","Too Many Characters")
C3 starts off empty and is an input field. D3 is the maximum number of
characters including spaces allowed.
Trying to add another step to formula that if cell C3 is blank/empty no
result would be shown.
--
Steve
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
~L ~L is offline
external usenet poster
 
Posts: 177
Default IF functions with multiple results including blank

Data Validation supports minimum and maximum entry lengths. Have you taken a
look at that?

You can find it in the data menu (or tab in 2007).

You can even have custom error and input messages.

"Steve" wrote:

=IF(LEN(C3)<=D3,"Entry Acceptable","Too Many Characters")
C3 starts off empty and is an input field. D3 is the maximum number of
characters including spaces allowed.
Trying to add another step to formula that if cell C3 is blank/empty no
result would be shown.
--
Steve

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default IF functions with multiple results including blank

Try this:

=IF(C3="","",IF(LEN(C3)<=D3,"Entry Acceptable","Too Many Characters"))


--
Biff
Microsoft Excel MVP


"Steve" wrote in message
...
=IF(LEN(C3)<=D3,"Entry Acceptable","Too Many Characters")
C3 starts off empty and is an input field. D3 is the maximum number of
characters including spaces allowed.
Trying to add another step to formula that if cell C3 is blank/empty no
result would be shown.
--
Steve



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default IF functions with multiple results including blank

Using 2003. Thanks.
--
Steve


"~L" wrote:

Data Validation supports minimum and maximum entry lengths. Have you taken a
look at that?

You can find it in the data menu (or tab in 2007).

You can even have custom error and input messages.

"Steve" wrote:

=IF(LEN(C3)<=D3,"Entry Acceptable","Too Many Characters")
C3 starts off empty and is an input field. D3 is the maximum number of
characters including spaces allowed.
Trying to add another step to formula that if cell C3 is blank/empty no
result would be shown.
--
Steve

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default IF functions with multiple results including blank

Thank you. This provided the result I was looking for.
--
Steve


"T. Valko" wrote:

Try this:

=IF(C3="","",IF(LEN(C3)<=D3,"Entry Acceptable","Too Many Characters"))


--
Biff
Microsoft Excel MVP


"Steve" wrote in message
...
=IF(LEN(C3)<=D3,"Entry Acceptable","Too Many Characters")
C3 starts off empty and is an input field. D3 is the maximum number of
characters including spaces allowed.
Trying to add another step to formula that if cell C3 is blank/empty no
result would be shown.
--
Steve






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
~L ~L is offline
external usenet poster
 
Posts: 177
Default IF functions with multiple results including blank

Using 2003:
Select the range you want this rule to apply to then go to data, then
validation.

On the settings tab of the dialogue that comes up, under the allow field,
choose 'text length' then set your minimum and maximum (which can be cell
references if you want).

On the error alert tab, put "Too Many Characters"

If you are applying this to a list that has already been typed and you turn
on the formula auditing toolbar, there will be a button for circle invalid
data. If you click it, all entries greater than D3 will be circled.

"Steve" wrote:

Using 2003. Thanks.
--
Steve


"~L" wrote:

Data Validation supports minimum and maximum entry lengths. Have you taken a
look at that?

You can find it in the data menu (or tab in 2007).

You can even have custom error and input messages.

"Steve" wrote:

=IF(LEN(C3)<=D3,"Entry Acceptable","Too Many Characters")
C3 starts off empty and is an input field. D3 is the maximum number of
characters including spaces allowed.
Trying to add another step to formula that if cell C3 is blank/empty no
result would be shown.
--
Steve

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default IF functions with multiple results including blank

Thank you. This was another way of relaying info back to end-user.
--
Steve


"~L" wrote:

Using 2003:
Select the range you want this rule to apply to then go to data, then
validation.

On the settings tab of the dialogue that comes up, under the allow field,
choose 'text length' then set your minimum and maximum (which can be cell
references if you want).

On the error alert tab, put "Too Many Characters"

If you are applying this to a list that has already been typed and you turn
on the formula auditing toolbar, there will be a button for circle invalid
data. If you click it, all entries greater than D3 will be circled.

"Steve" wrote:

Using 2003. Thanks.
--
Steve


"~L" wrote:

Data Validation supports minimum and maximum entry lengths. Have you taken a
look at that?

You can find it in the data menu (or tab in 2007).

You can even have custom error and input messages.

"Steve" wrote:

=IF(LEN(C3)<=D3,"Entry Acceptable","Too Many Characters")
C3 starts off empty and is an input field. D3 is the maximum number of
characters including spaces allowed.
Trying to add another step to formula that if cell C3 is blank/empty no
result would be shown.
--
Steve

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default IF functions with multiple results including blank

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Steve" wrote in message
...
Thank you. This provided the result I was looking for.
--
Steve


"T. Valko" wrote:

Try this:

=IF(C3="","",IF(LEN(C3)<=D3,"Entry Acceptable","Too Many Characters"))


--
Biff
Microsoft Excel MVP


"Steve" wrote in message
...
=IF(LEN(C3)<=D3,"Entry Acceptable","Too Many Characters")
C3 starts off empty and is an input field. D3 is the maximum number of
characters including spaces allowed.
Trying to add another step to formula that if cell C3 is blank/empty no
result would be shown.
--
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
Index & Match functions - multiple criteria and multiple results [email protected] Excel Worksheet Functions 4 May 2nd 07 03:13 AM
Obtaining Multiple Results Using Index/Match Functions Archie999 Excel Worksheet Functions 1 March 3rd 07 07:57 AM
Obtaining Multiple Results Using Index/Match Functions Teethless mama Excel Worksheet Functions 0 March 3rd 07 03:16 AM
Obtaining Multiple Results Using Index/Match Functions Archie999 Excel Worksheet Functions 1 March 3rd 07 03:14 AM
Advanced Filter for multiple criteria, including blank cells Striperon Excel Worksheet Functions 3 November 9th 06 06:33 PM


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