Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 125
Default Validation numeric and text

Hi

Is it possible to validate a cell that will only except numeric values, and
only the letter "H"? My idea, is that when the guy is on holiday, "H" can be
entered instead of the numeric value "0"

Thanks in advance

Regards

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200708/1

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Validation numeric and text

One way:

Allow: Custom
Formula: =OR(ISNUMBER(A1),A1="H")


In article <76a66fe54efa3@uwe, "BNT1 via OfficeKB.com" <u19326@uwe
wrote:

Hi

Is it possible to validate a cell that will only except numeric values, and
only the letter "H"? My idea, is that when the guy is on holiday, "H" can be
entered instead of the numeric value "0"

Thanks in advance

Regards

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Validation numeric and text

So you want the cell to accept *either* a number or the letter H?

Try this:

DataValidation
AllowCustom
Formula: =OR(ISNUMBER(A1),A1="H")


--
Biff
Microsoft Excel MVP


"BNT1 via OfficeKB.com" <u19326@uwe wrote in message
news:76a66fe54efa3@uwe...
Hi

Is it possible to validate a cell that will only except numeric values,
and
only the letter "H"? My idea, is that when the guy is on holiday, "H" can
be
entered instead of the numeric value "0"

Thanks in advance

Regards

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200708/1



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 125
Default Validation numeric and text

thanks guys

T. Valko wrote:
So you want the cell to accept *either* a number or the letter H?

Try this:

DataValidation
AllowCustom
Formula: =OR(ISNUMBER(A1),A1="H")

Hi

[quoted text clipped - 7 lines]

Regards


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200708/1

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Validation numeric and text

You're welcome!

--
Biff
Microsoft Excel MVP


"BNT1 via OfficeKB.com" <u19326@uwe wrote in message
news:76afb532db1be@uwe...
thanks guys

T. Valko wrote:
So you want the cell to accept *either* a number or the letter H?

Try this:

DataValidation
AllowCustom
Formula: =OR(ISNUMBER(A1),A1="H")

Hi

[quoted text clipped - 7 lines]

Regards


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200708/1



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
Text treated as a numeric value? betany70 Excel Discussion (Misc queries) 4 July 23rd 07 07:42 PM
A validation rule on Alpha and Numeric characters Sar* Excel Worksheet Functions 11 June 11th 07 11:47 PM
numeric value disply in text Anil Excel Discussion (Misc queries) 1 July 10th 06 02:19 PM
Numeric in Text to convert back to the form of Numeric for VLookup Purposes achilles Excel Discussion (Misc queries) 4 February 6th 06 07:05 AM
Text to Numeric lehigh46 Excel Worksheet Functions 3 July 28th 05 06:16 PM


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