|Mar 27, 2013, 09:56 AM||#1|
Numbers Equation Help...
I don't normally consider using Excel or Numbers to be programming but I know other people do and I feel like this might be beyond the people who frequent the other sections of the forums so here goes.
I want to be able to write a simple spreadsheet for calculating my grade in a class that has the following 3 input columns:
A: Names for all my assignments
B: The grades I got on each assignment
C: A list of weights
Now here's where it gets a bit confusing: The weight and grade in a given row aren't necessarily related to each other. Instead, the highest grade in column B gets the highest weight in column C, the second highest grade in column C gets the second highest weight in column C, and so on. I don't want the table sorted automatically by any column (I'll manually drag stuff around as necessary.)
I want an output column D which contains B, from the same row, multiplied by the correct value from C, as described in the preceding paragraph.
Does anyone know how I can do this in Numbers? I've looked up and down the available functions nothing is jumping out at me.
Edit: Naturally, it's right when I post the question after weeks of searching that an idea comes to me...
I see there's a RANK function and an INDEX function... I feel like between these two things I almost have an answer...
Actually, never mind, I just found an even more obvious function, LARGE...
D = B * LARGE(C:, RANK(B, B:, TRUE))
Now I just need to remember how exactly formatting equations works and this will be totally solved...
All done! Here's what the properly formatted formula looks like:
= (Scored Set 1) * LARGE((Available Weights), RANK((Scored Set 1), (Scored)))
It seems that getting the value from a specific cell in the same row of a different column is just (<Column Name> <Row Name>) and getting all the values from a specific column is just (<Column Name>).
Actually... it's not quite done yet... given multiple scores of equal value, it'll consider them to have the same rank, and so a single weight could be used multiple times. I may have to hack together a solution...
Don't tell me Macs don't last: 2007 iMac, 2007 Mac Mini, 2008 MacBook Air, all Vintage.
(iMac obsoletion: April 28, 2015, MBA: October 14, 2015, Mac Mini: March 9, 2016)
Last edited by ArtOfWarfare; Mar 27, 2013 at 11:01 AM.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Certain Equation editor for excel||Knisse||Mac Basics and Help||0||Oct 25, 2013 11:08 AM|
|Reconsidering the Applecare equation on the MBA||clyde2801||MacBook Air||13||Sep 17, 2013 06:19 PM|
|The iMac / Mac mini equation||jcmguitar||iMac||12||Dec 19, 2012 03:52 PM|
|Presentation apps for iPad with equation editor support||badboyz31||iPad Apps||3||Jul 26, 2012 07:05 AM|
All times are GMT -5. The time now is 01:05 PM.