#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 169
Default Data Validation help

In article , Fuzzycow23 wrote:
Spencer101;1608120 Wrote:
Could you explain what these values represent and what manipulation
you're attempting to achieve with the formula?

It will be much easier to provide you with a working solution if we're
armed with that info.

This is for a soccer game report, in which the numbers before the slash
are the jersey number of the scorer, and the numbers after the slash
represent the time of the goal, expressed as a minute reference, e.g. 78
= 78th minute of the game.
The organization I work for has a terrible time in getting users to
input data correctly according to this format, so it was my task to see
if we can restrict users to entering data in this format or else the
cell would reject the input. I've found the closest thing to a solution
to be the data validation feature but I'm stuck on the code.
Recap, I've got the formula working for ##/##' and ###/###', but the
formula bar seems to cap off at a certain point, so I cannot add on the
formats ##/###' and ###/##'. I can easily rework the formula so that
any 2 of these formats is included, but not all 4.


Any reason for not using 2 input cells (ie player number in A5; time in B5)
? That would simplify your problem enormously. :)


  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by Bruce Sinclair View Post
In article , Fuzzycow23 wrote:
Spencer101;1608120 Wrote:
Could you explain what these values represent and what manipulation
you're attempting to achieve with the formula?

It will be much easier to provide you with a working solution if we're
armed with that info.

This is for a soccer game report, in which the numbers before the slash
are the jersey number of the scorer, and the numbers after the slash
represent the time of the goal, expressed as a minute reference, e.g. 78
= 78th minute of the game.
The organization I work for has a terrible time in getting users to
input data correctly according to this format, so it was my task to see
if we can restrict users to entering data in this format or else the
cell would reject the input. I've found the closest thing to a solution
to be the data validation feature but I'm stuck on the code.
Recap, I've got the formula working for ##/##' and ###/###', but the
formula bar seems to cap off at a certain point, so I cannot add on the
formats ##/###' and ###/##'. I can easily rework the formula so that
any 2 of these formats is included, but not all 4.


Any reason for not using 2 input cells (ie player number in A5; time in B5)
? That would simplify your problem enormously. :)
Having seen the workbook, that was my suggestion too.
It seems the best option.
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
custom data validation on cells with data validation values AKrobbins Excel Worksheet Functions 2 June 21st 11 04:20 PM
Data Validation - Validation list is larger than the cell width Barb Reinhardt Excel Programming 1 March 4th 10 08:24 PM
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
Data validation with validation lists and combo boxs Keith Excel Discussion (Misc queries) 1 October 12th 06 11:08 AM


All times are GMT +1. The time now is 05:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"