Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default Format Cell and Data Validation

I'm creating a receipt form that's simple enough for non-Excel expert to use.

There's a column where you enter stuff called BSB number (Bank-State-Branch)
and it is two sets of three digits with hyphen in between (ex. 062-913)

I'd like to format cell so that you type in six digits (ex. 062913) and have
it displayed as 062-913. I'd also like to restrict the entry to six digits
exactly.

With Excel 2007, in Format CellsNumber, I chose Custom and specified Type:
###-###. Also with Data Validation, I put Allow: Text length, Data: equal
to, Length: 6.

This, however doesn't seem to work and when I enter the above example, error
message shows and if you press on, it'll show as "62-913".

How can I make this to work?
--
Maki @ Canberra.AU
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default Format Cell and Data Validation

Try using 000-000 instead of ###-### for you cell format.

--
Rick (MVP - Excel)


"Maki" wrote in message
...
I'm creating a receipt form that's simple enough for non-Excel expert to
use.

There's a column where you enter stuff called BSB number
(Bank-State-Branch)
and it is two sets of three digits with hyphen in between (ex. 062-913)

I'd like to format cell so that you type in six digits (ex. 062913) and
have
it displayed as 062-913. I'd also like to restrict the entry to six
digits
exactly.

With Excel 2007, in Format CellsNumber, I chose Custom and specified
Type:
###-###. Also with Data Validation, I put Allow: Text length, Data: equal
to, Length: 6.

This, however doesn't seem to work and when I enter the above example,
error
message shows and if you press on, it'll show as "62-913".

How can I make this to work?
--
Maki @ Canberra.AU


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default Format Cell and Data Validation

Thank you, Rick.

It does show the first zero now but I still get error message with data
validation.
How can I rectify this?

--
Maki @ Canberra.AU


"Rick Rothstein" wrote:

Try using 000-000 instead of ###-### for you cell format.

--
Rick (MVP - Excel)


"Maki" wrote in message
...
I'm creating a receipt form that's simple enough for non-Excel expert to
use.

There's a column where you enter stuff called BSB number
(Bank-State-Branch)
and it is two sets of three digits with hyphen in between (ex. 062-913)

I'd like to format cell so that you type in six digits (ex. 062913) and
have
it displayed as 062-913. I'd also like to restrict the entry to six
digits
exactly.

With Excel 2007, in Format CellsNumber, I chose Custom and specified
Type:
###-###. Also with Data Validation, I put Allow: Text length, Data: equal
to, Length: 6.

This, however doesn't seem to work and when I enter the above example,
error
message shows and if you press on, it'll show as "62-913".

How can I make this to work?
--
Maki @ Canberra.AU



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default Format Cell and Data Validation

What happens if you change the validation from "equal to 6" to "equal to or
less than 6" (or whatever XL2007's equivalent of that is)?

--
Rick (MVP - Excel)


"Maki" wrote in message
...
Thank you, Rick.

It does show the first zero now but I still get error message with data
validation.
How can I rectify this?

--
Maki @ Canberra.AU


"Rick Rothstein" wrote:

Try using 000-000 instead of ###-### for you cell format.

--
Rick (MVP - Excel)


"Maki" wrote in message
...
I'm creating a receipt form that's simple enough for non-Excel expert
to
use.

There's a column where you enter stuff called BSB number
(Bank-State-Branch)
and it is two sets of three digits with hyphen in between (ex. 062-913)

I'd like to format cell so that you type in six digits (ex. 062913) and
have
it displayed as 062-913. I'd also like to restrict the entry to six
digits
exactly.

With Excel 2007, in Format CellsNumber, I chose Custom and specified
Type:
###-###. Also with Data Validation, I put Allow: Text length, Data:
equal
to, Length: 6.

This, however doesn't seem to work and when I enter the above example,
error
message shows and if you press on, it'll show as "62-913".

How can I make this to work?
--
Maki @ Canberra.AU




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default Format Cell and Data Validation

Yes, this did work!

Thank you, Rick!
--
Maki @ Canberra.AU


"Rick Rothstein" wrote:

What happens if you change the validation from "equal to 6" to "equal to or
less than 6" (or whatever XL2007's equivalent of that is)?

--
Rick (MVP - Excel)


"Maki" wrote in message
...
Thank you, Rick.

It does show the first zero now but I still get error message with data
validation.
How can I rectify this?

--
Maki @ Canberra.AU


"Rick Rothstein" wrote:

Try using 000-000 instead of ###-### for you cell format.

--
Rick (MVP - Excel)


"Maki" wrote in message
...
I'm creating a receipt form that's simple enough for non-Excel expert
to
use.

There's a column where you enter stuff called BSB number
(Bank-State-Branch)
and it is two sets of three digits with hyphen in between (ex. 062-913)

I'd like to format cell so that you type in six digits (ex. 062913) and
have
it displayed as 062-913. I'd also like to restrict the entry to six
digits
exactly.

With Excel 2007, in Format CellsNumber, I chose Custom and specified
Type:
###-###. Also with Data Validation, I put Allow: Text length, Data:
equal
to, Length: 6.

This, however doesn't seem to work and when I enter the above example,
error
message shows and if you press on, it'll show as "62-913".

How can I make this to work?
--
Maki @ Canberra.AU




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
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 10:35 PM
Cell validation = format? John Excel Discussion (Misc queries) 2 March 22nd 08 11:22 PM
Data Validation or Conditional Format (or combo of) Scott Excel Worksheet Functions 3 November 3rd 05 04:57 PM
data validation list drop down text format too small Bruce Edwards Excel Worksheet Functions 3 May 22nd 05 07:28 PM
Custom Format and Data Validation Q John Excel Worksheet Functions 1 January 6th 05 06:56 PM


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