How to return SUMIF amounts based on criteria of Month, Portfolio ID, Distribution or Call

kschroer

New Member
Joined
Feb 15, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
How can I use a formula to extract the total amount of a call/distribution based on PortfolioID by referencing the data on Image 2. So for instance there would be a running activity list of all the calls/distributions for the year(this example is just showing February activity. So I would want the formulas in columns F&G in image 1 to pull information pertaining to the month of February and sum all calls/distributions related to the Portfolio ID. Ideally I think a SUMIF statement would work best but any help would be appreciated. Thanks!

Image 1:
1676477184276.png

Image 2:
1676477199957.png
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Hi & welcome to MrExcel.
How about
Excel Formula:
=SUMIFS(Sheet2!L:L,Sheet2!F:F,C3,Sheet2!B:B,">="&DATE(2022,2,1),Sheet2!B:B,"<"&DATE(2022,3,1))
 
Upvote 1
Solution
Hi & welcome to MrExcel.
How about
Excel Formula:
=SUMIFS(Sheet2!L:L,Sheet2!F:F,C3,Sheet2!B:B,">="&DATE(2022,2,1),Sheet2!B:B,"<"&DATE(2022,3,1))
That worked for the call portion but not distribution. Also do you think it would be better to maybe use a nested index/match function for the month the activity is occurring? Instead of using the date function just reference Column A in sheet 2?
1676479016175.png

1676479031771.png
 
Upvote 0

Forum statistics

Threads
1,215,352
Messages
6,124,453
Members
449,161
Latest member
NHOJ

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