Index Match Sumifs

LaBoop

New Member
Joined
Dec 3, 2015
Messages
7
Hi,

I apologise if this has come up before. I have tried solutions in other threads but they have not worked for me.

I need to fill in the 1st table below with data from the 2nd table. I have tried to use a formula to pick up all MP/Compact or Compact sales for the month in that column but it will only pick up the one value instead of summing multiple values. I have tried index match and using sumifs....can anyone help?


ActualActual
000 Local Curr (UK Pounds) Jan-18Feb-18
REVENUE
MP/Compact 0
Compact 0
<colgroup><col width="28" style="width: 21pt; mso-width-source: userset; mso-width-alt: 1024;"> <col width="15" style="width: 11pt; mso-width-source: userset; mso-width-alt: 548;"> <col width="139" style="width: 104pt; mso-width-source: userset; mso-width-alt: 5083;"> <col width="88" style="width: 66pt; mso-width-source: userset; mso-width-alt: 3218;"> <col width="89" style="width: 67pt; mso-width-source: userset; mso-width-alt: 3254;" span="2"> <tbody> </tbody>



Jan-18Feb-18Mar-18Apr-18
ActualActualActualActual
SUSPENSE

General Suspense
Account
-0.020-0.010.01
Group Total-0.020-0.010.01
SALES

Sales Suspense 0000
MP/Compact
Sales MP0220000
MP/Compact
Sales Other0000
Compact
Sales C0014865.76-734.64
Compact
Sales Compact 12099170831.831050264125
<colgroup><col width="133" style="width: 100pt; mso-width-source: userset; mso-width-alt: 4864;"> <col width="64" style="width: 48pt;"> <col width="244" style="width: 183pt; mso-width-source: userset; mso-width-alt: 8923;"> <col width="64" style="width: 48pt;" span="4"> <tbody> </tbody>
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Hi,

If those are Actual Date Values (in my sample, D2:G2 and D9:G9):


Book1
ABCDEFG
1ActualActualActualActual
2000 Local Curr (UK Pounds)18-Jan18-Feb18-Mar18-Apr
3
4REVENUE
5MP/Compact0220000
6Compact12099170831.83119891.83390.36
7
8
918-Jan18-Feb18-Mar18-Apr
10ActualActualActualActual
11SUSPENSE
12General Suspense-0.020-0.010.01
13Account
14Group Total-0.020-0.010.01
15SALES
16Sales Suspense0000
17MP/CompactSales MP0220000
18MP/CompactSales Other0000
19CompactSales C0014865.76-734.64
20CompactSales Compact12099170831.831050264125
Sheet111
Cell Formulas
RangeFormula
D5=SUMPRODUCT(($B$11:$B$20=$B5)*(MONTH($D$9:$G$9)=MONTH(D$2))*$D$11:$G$20)


D5 formula copied down and across as needed.

If your data will extend to multiple Years, then we'll also need to add a check for the Year, now we're just checking the Month.
 
Upvote 0

Forum statistics

Threads
1,215,892
Messages
6,127,610
Members
449,389
Latest member
ChessManNaill

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