Index+Match+Sumif

ScottyDundee

New Member
Joined
Dec 21, 2016
Messages
1
I am doing an index+match of a portfolio value using a client identifier plus date. However the client can have more than 1 account (using the same identifier) and I need to add sumif to the formula. As the date being looked at can fall on a weekend I have had to expand the formula so that the last working day figure is looked up.

Currently I am using the below formula:
=IFERROR(IFERROR(-INDEX('Client Data'!1:1048576,MATCH(Performance!$O$6,'Client Data'!$A:$A,0),MATCH(Performance!R1,'Client Data'!$1:$1,0)),-INDEX('Client Data'!1:1048576,MATCH(Performance!$O$6,'Client Data'!$A:$A,0),MATCH(Performance!R1-1,'Client Data'!$1:$1,0))),-INDEX('Client Data'!1:1048576,MATCH(Performance!$O$6,'Client Data'!$A:$A,0),MATCH(Performance!R1-2,'Client Data'!$1:$1,0)))

The index and match cells are highlighted in red below:
Semi-Annually 01-Jun-13
01/12/2016
01/12/2016 Portfolio Value£62,170.56
% Change 6 Months
100.0
BC001232456 Inflows/Outflows

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>

How do I add sumif to the formula so that the Portfolio Value will total them?
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,215,051
Messages
6,122,871
Members
449,097
Latest member
dbomb1414

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