MySQL Forums
Forum List  »  MySQL for Excel

Re: Calculating fields
Posted by: Dave Niezabitowski
Date: March 10, 2012 09:58PM

Peter Brawley Wrote:
-------------------------------------------------------
> > When I enter the results in the table I need use
> this formula from a spreadsheet
> >
> IF($A7-B$6*0.3<0.51,20*(SQRT(SQRT(B$6)*(B$6)/$A7))
> ,20)+20
>
> ?! Impossible to answer till you specify which
> table columns correspond to which Excel cells.

Ok, I think that I may have found the corresponding variables.

I modified the forumula a bit.
Attendance field is in the - Events table. The FINISH_POS is in the Results table. And I need the answer to this automatically entered into the AWARD field in the results table.

ROUND(IF(FINISH_POS-ATTENDANCE*0.3<0.51,15*(SQRT(SQRT(ATTENDANCE)*(ATTENDANCE-6)/FINISH_POSITION)),20)+20)

I added the ROUND because I need the answer rounded to the whole numbers. No decimals.

Options: ReplyQuote


Subject
Views
Written By
Posted
2225
March 09, 2012 12:40AM
1262
March 09, 2012 01:40AM
1269
March 09, 2012 10:55AM
1218
March 09, 2012 11:15AM
1332
March 10, 2012 10:07PM
1323
March 09, 2012 12:08PM
Re: Calculating fields
1215
March 10, 2012 09:58PM
1174
March 10, 2012 10:18PM
1278
March 11, 2012 02:27AM
1357
March 11, 2012 10:50AM
1244
March 09, 2012 07:42AM
1263
March 11, 2012 12:27PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.