monicamarie
Board Regular
- Joined
- Sep 2, 2008
- Messages
- 70
- Office Version
- 365
Hello,
I am trying to find a formula that will produce the results below for the median. My array table is sorted by the Purchase Date from ascending to descending. I am basically trying to find the median date range based on the Purchase Date where all unique values from the Inventory Code column are included. In my example below the date range I need is from 2/6/13 to 2/19/13. I'm not quite sure how else to explain this so hopefully I am making sense. Is there a formula that will produce this result? It doesn't have to be like the example below where the result is showing in column C as "Median". I just need to somehow come up with a way to get the answer 2/6/13 to 2/19/13.
Thank you.
<TBODY>
</TBODY>
I am trying to find a formula that will produce the results below for the median. My array table is sorted by the Purchase Date from ascending to descending. I am basically trying to find the median date range based on the Purchase Date where all unique values from the Inventory Code column are included. In my example below the date range I need is from 2/6/13 to 2/19/13. I'm not quite sure how else to explain this so hopefully I am making sense. Is there a formula that will produce this result? It doesn't have to be like the example below where the result is showing in column C as "Median". I just need to somehow come up with a way to get the answer 2/6/13 to 2/19/13.
Thank you.
1<o | A<o | B<o | C<o |
2<o | Inventory Code<o | Purchase Date<o | Result<o |
3<o | 19933146<o | 1/19/2013<o | <o |
4<o | 36601355<o | 1/28/2013<o | <o |
5<o | 19933146<o | 2/1/2013<o | <o |
6<o | 19933146<o | 2/2/2013<o | <o |
7<o | 30012569<o | 2/6/2013<o | median<o |
8<o | 31258801<o | 2/6/2013<o | median<o |
9<o | 36601355<o | 2/6/2013<o | median<o |
10<o | 19933146<o | 2/15/2013<o | median<o |
11<o | 41677800<o | 2/18/2013<o | median<o |
12<o | 11250138<o | 2/18/2013<o | median<o |
13<o | 36601355<o | 2/19/2013<o | median<o |
14<o | 25141098<o | 2/19/2013<o | median<o |
15<o | 36601355<o | 2/20/2013<o | <o |
16<o | 36601355<o | 2/26/2013<o | <o |
17<o | 19933146<o | 3/1/2013<o | <o |
18<o | 19933146<o | 3/4/2013<o | <o |
19<o | 19933146<o | 3/25/2013<o | <o |
20<o | 36601355<o | 3/28/2013<o | <o |
<TBODY>
</TBODY>