View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
scooper scooper is offline
external usenet poster
 
Posts: 13
Default Help with a function

1. In the columns to the right put boolean conditions to test whether an
entry has been made etc.
2. Refine these down to a single if statement in the column you wish to
show with the result.

scooper


"Bri" wrote in message
...
Hello. I'm quite new to excel VBA and could really use help with a
function. Here's the situation.

When judging dance competitions, there are up to 5 judges. Their scores
are listed in adjacent columns. I need to call a function in the next
column that computes the average score subject to some conditions.
a) If there are 5 or 4 judges, the high and low scores are dropped and
the average of the remaining scores is used. (Scores may have up to three
decimal places, eg 9.115)
b) If there are 1, 2 or 3 judges, no scores are dropped when finding the
average
c) When a judge is missing from the panel, the cell is left blank.(not to
be confused with a judged score of 0.000)
d) The final score is rounded DOWN to three decimal places, so that
7.13583 becomes 7.135, not 7.136 as you might expect.

I've got a competition coming up soon, so I hope someone can help!

Thanks in advance
Bri