Defining custom cell format (1 Viewer)

Bogzla

Registered User.
Local time
Today, 23:11
Joined
May 30, 2006
Messages
55
Hi all, having a head scratcher as to how I can set up cells in excel to only allow certain values to be entered... basically what I want is to only allow either a '1' or a '0' to be entered into certain cells (preferably without going into vba coding, but I can use it if necessary).
I have tried various things in
Format cells > Number > custom
with no luck. Is there a simple solution to this?

thanks,
Bogzla
 

shades

Registered User.
Local time
Today, 17:11
Joined
Mar 25, 2002
Messages
516
Howdy.

Will Data Validation work? Go to Data > Validation, and in the resulting dialog window, on the Settings tab, in the dropdown at the top choose "List".

Then box below, enter this:

1,2

Uncheck the box that says "in-cell dropdown".

Click OK.
________
SUBARU 1500
 
Last edited:

Bogzla

Registered User.
Local time
Today, 23:11
Joined
May 30, 2006
Messages
55
Perfect, Thanks for that, I knew there had to be a straightforward way of doing it :D
 

Users who are viewing this thread

Top Bottom