PC Review


Reply
Thread Tools Rate Thread

Could This Be Done With VBA?

 
 
Saxman
Guest
Posts: n/a
 
      23rd Oct 2006
I have a worksheet used for horse race ratings.

Columns A, B, and C, contain the last 3 form figures. Entries can be 1
(1st), 2, 3, 4 or 0. There are no headings in these columns.

Columns D, E, F, G, H, I and J contain data referring to the number of
days since the horse last ran. The headings in the above columns are;-
1 - 4, 5 - 10, 11 - 20, 21 - 31, 32 - 62, 63 - 99, 100+

Columns A, B, and C contain any sequence of digits ranging from 1 1 1 to
blank blank 0, making a total of 155 combinations.

A rating is given where the lines and columns intersect. e.g. Cell D2
contains a rating of 92, whereas cell J156 has a value of 9 (the
opposite end of the spectrum).

Rather than cross referencing and scrolling, would it be possible to
input the form and days into a window with fields/cells in order to get
a horse's rating from an output cell?

Could this be done with a lookup or VBA?

I have posted this to microsoft.public.excel.misc as well.

TIA
 
Reply With Quote
 
 
 
 
=?Utf-8?B?R2FyeScncyBTdHVkZW50?=
Guest
Posts: n/a
 
      24th Oct 2006
yes
--
Gary''s Student


"Saxman" wrote:

> I have a worksheet used for horse race ratings.
>
> Columns A, B, and C, contain the last 3 form figures. Entries can be 1
> (1st), 2, 3, 4 or 0. There are no headings in these columns.
>
> Columns D, E, F, G, H, I and J contain data referring to the number of
> days since the horse last ran. The headings in the above columns are;-
> 1 - 4, 5 - 10, 11 - 20, 21 - 31, 32 - 62, 63 - 99, 100+
>
> Columns A, B, and C contain any sequence of digits ranging from 1 1 1 to
> blank blank 0, making a total of 155 combinations.
>
> A rating is given where the lines and columns intersect. e.g. Cell D2
> contains a rating of 92, whereas cell J156 has a value of 9 (the
> opposite end of the spectrum).
>
> Rather than cross referencing and scrolling, would it be possible to
> input the form and days into a window with fields/cells in order to get
> a horse's rating from an output cell?
>
> Could this be done with a lookup or VBA?
>
> I have posted this to microsoft.public.excel.misc as well.
>
> TIA
>

 
Reply With Quote
 
Saxman
Guest
Posts: n/a
 
      24th Oct 2006
Gary''s Student wrote:
> yes


Could you give me an example of where to start? Would I need lookup
tables. Sorry, but I'm not too familiar with VBA. Have delved into VB6
though.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:52 AM.