allemanable
New Member
- Joined
- Nov 14, 2014
- Messages
- 8
I have data that shows the number of units sold for a particular title and the corresponding date:
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]1/31/2014[/TD]
[TD]2/28/2014[/TD]
[TD]3/31/2014[/TD]
[/TR]
[TR]
[TD]Title A[/TD]
[TD]511[/TD]
[TD]65[/TD]
[TD]528[/TD]
[/TR]
[TR]
[TD]Title B[/TD]
[TD]104[/TD]
[TD]7[/TD]
[TD]236[/TD]
[/TR]
[TR]
[TD]Title C[/TD]
[TD]139[/TD]
[TD]6[/TD]
[TD]393[/TD]
[/TR]
</tbody>[/TABLE]
I want to know on what date a title sold x number of units:
For example: Title A sold 500 units on 1/31/2014. I used the this function: INDEX($B$1:$D$1,MATCH(100,$B2:$D2,-1))
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]100[/TD]
[TD]500[/TD]
[TD]1000[/TD]
[/TR]
[TR]
[TD]Title A[/TD]
[TD]1/31/2014[/TD]
[TD]1/31/2014[/TD]
[TD]#N/A[/TD]
[/TR]
</tbody>[/TABLE]
However, this doesn't work if I want to know when Title A sold 1000 units. I need it to keep a running sum of the sales and find the corresponding date.
I am using Excel 2013. Any guidance would be appreciated.
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]1/31/2014[/TD]
[TD]2/28/2014[/TD]
[TD]3/31/2014[/TD]
[/TR]
[TR]
[TD]Title A[/TD]
[TD]511[/TD]
[TD]65[/TD]
[TD]528[/TD]
[/TR]
[TR]
[TD]Title B[/TD]
[TD]104[/TD]
[TD]7[/TD]
[TD]236[/TD]
[/TR]
[TR]
[TD]Title C[/TD]
[TD]139[/TD]
[TD]6[/TD]
[TD]393[/TD]
[/TR]
</tbody>[/TABLE]
I want to know on what date a title sold x number of units:
For example: Title A sold 500 units on 1/31/2014. I used the this function: INDEX($B$1:$D$1,MATCH(100,$B2:$D2,-1))
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]100[/TD]
[TD]500[/TD]
[TD]1000[/TD]
[/TR]
[TR]
[TD]Title A[/TD]
[TD]1/31/2014[/TD]
[TD]1/31/2014[/TD]
[TD]#N/A[/TD]
[/TR]
</tbody>[/TABLE]
However, this doesn't work if I want to know when Title A sold 1000 units. I need it to keep a running sum of the sales and find the corresponding date.
I am using Excel 2013. Any guidance would be appreciated.
Last edited: