To get delivered qty of a specified item in a specified period without using filter withmonthwise separation

jose_valooran

New Member
Joined
Aug 22, 2011
Messages
1
I have a problem like, as in a template, there will be month names (Jan -Dec) in rows say from A10-Jan to A21-Dec. In Cells B10 to B21, I need sum of values(sum of qty) which fall in the period(beginning date and end date will be entered in say B2 & B3)against the selected Item which will be selected from a List in Cell B4.
For eg:I have a data sheet-1 like this.
Item Qty Date
A 2 01-01-2011
B 3 02-03-2011
C 2 25-01-2011
D 3 25-01-2011
B 2 29-03-2011
D 5 26-02-2011
B 2 06-01-2011
B 3 28-01-2011

I need the result as follows. If in Sheet 2, I give a period and Item name, how to get the sum of Qty of the item against each month in the period given?
eg:Sheet 2 should look as follows.Dates and Item name I hve to give.
Period
From 01-01-2011
To 28-02-2011
Item B
Qty-Sum
Jan 5
Feb 0
March
April
May
June
July
August
Sep
Oct
Nov
Dec

Could you please help me to get the formulas for getting the result sheet like this? Thanks in advance.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi and Welcome to the Board,

You could use the formula shown below in Sheet2!B8, copied down to the other cells in Column B.

Excel Workbook
ABC
1ItemQtyDate
2A201/01/2011
3B302/03/2011
4C225/01/2011
5D325/01/2011
6B229/03/2011
7D526/02/2011
8B206/01/2011
9B328/01/2011
Sheet1



Excel Workbook
AB
1Period
2From01/01/2011
3To28/02/2011
4
5ItemB
6
7Qty-Sum
8Jan5
9Feb0
10Mar0
11Apr0
12May0
13Jun0
14Jul0
15Aug0
16Sep0
17Oct0
18Nov0
19Dec0
Sheet2


The months in Sheet2 Column A are made from putting the first day of each month in each cell then formatting the cells as "Mmm" to show only the month.

This assumes you have a version of Excel that includes the =EOMONTH function.
If you don't have that function, you can substitute a replacement to calculate the end of each month.
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,713
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top