ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Median for Year (https://www.excelbanter.com/excel-discussion-misc-queries/149210-median-year.html)

[email protected]

Median for Year
 
How do I set up a formula that will calculate the job that produced
the median amount of revenue for each year? (Jobs are counted in the
year they were submitted.) My data is set up as below:

Columns:
A: Customer Name
B: Customer Number
C: Date Job was Submitted
D: Date Job was Returned
E: Turnaround Time
F: Associate who Completed the Job
G: Revenue from Job


Thanks in advance for your help,

Kevin


bj

Median for Year
 
try
to get the row
try
=MATCH(MEDIAN(IF(year(C:C)=2007,G:G)),G:G*(year(C: C)=2007),0)
this will select the first job with the median.
you can use index match to extract the specific info you want
if there are several the job gets a little harder.

" wrote:

How do I set up a formula that will calculate the job that produced
the median amount of revenue for each year? (Jobs are counted in the
year they were submitted.) My data is set up as below:

Columns:
A: Customer Name
B: Customer Number
C: Date Job was Submitted
D: Date Job was Returned
E: Turnaround Time
F: Associate who Completed the Job
G: Revenue from Job


Thanks in advance for your help,

Kevin



T. Valko

Median for Year
 
If there is an even number of data points the median will never (?) be one
of those data points.

--
Biff
Microsoft Excel MVP


"bj" wrote in message
...
try
to get the row
try
=MATCH(MEDIAN(IF(year(C:C)=2007,G:G)),G:G*(year(C: C)=2007),0)
this will select the first job with the median.
you can use index match to extract the specific info you want
if there are several the job gets a little harder.

" wrote:

How do I set up a formula that will calculate the job that produced
the median amount of revenue for each year? (Jobs are counted in the
year they were submitted.) My data is set up as below:

Columns:
A: Customer Name
B: Customer Number
C: Date Job was Submitted
D: Date Job was Returned
E: Turnaround Time
F: Associate who Completed the Job
G: Revenue from Job


Thanks in advance for your help,

Kevin





T. Valko

Median for Year
 
If there is an even number of data points the median will never (?) be one
of those data points.


Unless all the data points are the same but in a practical application when
is that ever the case?

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
If there is an even number of data points the median will never (?) be one
of those data points.

--
Biff
Microsoft Excel MVP


"bj" wrote in message
...
try
to get the row
try
=MATCH(MEDIAN(IF(year(C:C)=2007,G:G)),G:G*(year(C: C)=2007),0)
this will select the first job with the median.
you can use index match to extract the specific info you want
if there are several the job gets a little harder.

" wrote:

How do I set up a formula that will calculate the job that produced
the median amount of revenue for each year? (Jobs are counted in the
year they were submitted.) My data is set up as below:

Columns:
A: Customer Name
B: Customer Number
C: Date Job was Submitted
D: Date Job was Returned
E: Turnaround Time
F: Associate who Completed the Job
G: Revenue from Job


Thanks in advance for your help,

Kevin







T. Valko

Median for Year
 
Ok, this is my final** answer <g :

If there is an even number of data points the median will never (?) be one
of those data points.


Let me rephrase that:

If there is an even number of data points the median will most likely not be
one of those data points.

** until my next answer

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
If there is an even number of data points the median will never (?) be
one of those data points.


Unless all the data points are the same but in a practical application
when is that ever the case?

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
If there is an even number of data points the median will never (?) be
one of those data points.

--
Biff
Microsoft Excel MVP


"bj" wrote in message
...
try
to get the row
try
=MATCH(MEDIAN(IF(year(C:C)=2007,G:G)),G:G*(year(C: C)=2007),0)
this will select the first job with the median.
you can use index match to extract the specific info you want
if there are several the job gets a little harder.

" wrote:

How do I set up a formula that will calculate the job that produced
the median amount of revenue for each year? (Jobs are counted in the
year they were submitted.) My data is set up as below:

Columns:
A: Customer Name
B: Customer Number
C: Date Job was Submitted
D: Date Job was Returned
E: Turnaround Time
F: Associate who Completed the Job
G: Revenue from Job


Thanks in advance for your help,

Kevin









Tim Shnell

Median for Year
 
On Jul 6, 2:28 pm, "T. Valko" wrote:
Ok, this is my final** answer <g :

If there is an even number of data points the median will never (?) be one
of those data points.


Let me rephrase that:

If there is an even number of data points the median will most likely not be
one of those data points.

** until my next answer

--
Biff
Microsoft Excel MVP

"T. Valko" wrote in message

...

If there is an even number of data points the median will never (?) be
one of those data points.


Unless all the data points are the same but in a practical application
when is that ever the case?


--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
If there is an even number of data points the median will never (?) be
one of those data points.


--
Biff
Microsoft Excel MVP


"bj" wrote in message
...
try
to get the row
try
=MATCH(MEDIAN(IF(year(C:C)=2007,G:G)),G:G*(year(C: C)=2007),0)
this will select the first job with the median.
you can use index match to extract the specific info you want
if there are several the job gets a little harder.


" wrote:


How do I set up a formula that will calculate the job that produced
the median amount of revenue for each year? (Jobs are counted in the
year they were submitted.) My data is set up as below:


Columns:
A: Customer Name
B: Customer Number
C: Date Job was Submitted
D: Date Job was Returned
E: Turnaround Time
F: Associate who Completed the Job
G: Revenue from Job


Thanks in advance for your help,


Kevin


The median will only be one of the data points if:

1)There is an odd number of data points.

OR

2)There is an even number of data points and the middle two are the
same.


T. Valko

Median for Year
 
"Tim Shnell" wrote in message
oups.com...
On Jul 6, 2:28 pm, "T. Valko" wrote:
Ok, this is my final** answer <g :

If there is an even number of data points the median will never (?) be
one
of those data points.


Let me rephrase that:

If there is an even number of data points the median will most likely not
be
one of those data points.

** until my next answer

--
Biff
Microsoft Excel MVP

"T. Valko" wrote in message

...

If there is an even number of data points the median will never (?) be
one of those data points.


Unless all the data points are the same but in a practical application
when is that ever the case?


--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
If there is an even number of data points the median will never (?) be
one of those data points.


--
Biff
Microsoft Excel MVP


"bj" wrote in message
...
try
to get the row
try
=MATCH(MEDIAN(IF(year(C:C)=2007,G:G)),G:G*(year(C: C)=2007),0)
this will select the first job with the median.
you can use index match to extract the specific info you want
if there are several the job gets a little harder.


" wrote:


How do I set up a formula that will calculate the job that produced
the median amount of revenue for each year? (Jobs are counted in
the
year they were submitted.) My data is set up as below:


Columns:
A: Customer Name
B: Customer Number
C: Date Job was Submitted
D: Date Job was Returned
E: Turnaround Time
F: Associate who Completed the Job
G: Revenue from Job


Thanks in advance for your help,


Kevin


The median will only be one of the data points if:

1)There is an odd number of data points.

OR

2)There is an even number of data points and the middle two are the
same.


That's an excellent way of explaining it!

So, if you're using a MATCH formula to find the MEDIAN there's a good
possibilty that it may not exist.

--
Biff
Microsoft Excel MVP




All times are GMT +1. The time now is 04:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com