Sum figure of annual range for different starting points

aquelious

New Member
Joined
Apr 27, 2016
Messages
12
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

I have been asked to look at a query in excel and I'm fairly stumped in fairness.
I have attached an image for reference.
Essentially, What I'm looking to get is an amount in column C that provides me with the sum amount for the person in column A, for a 12 month period from the start date in column B.
For example, Dave started in April - 2019, so I need the sum amount from column G to column R.
As all the start dates are different I wasn't sure how to create a formula that would achieve this.

Any help would be very much appreciated.
 

Attachments

  • Pic 1.jpg
    Pic 1.jpg
    111.5 KB · Views: 5

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
If row 1 & column B are real dates based on the first day of the month how about
Excel Formula:
=SUM(FILTER(D2:Y2,($D$1:$Y$1>=B2)*($D$1:$Y$1<EDATE(B2,12))))
 
Upvote 0
try this

Book1
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1Jan-19Feb-19Mar-19Apr-19May-19Jun-19Jul-19Aug-19Sep-19Oct-19Nov-19Dec-19Jan-20Feb-20Mar-20Apr-20May-20Jun-20Jul-20Aug-20Sep-20Oct-20Nov-20
2Apr-191211111111111111111111111
3Sep-191211111111111111111111111
4Jan-191211111111111111111111111
5Apr-20811111111111111111111111
6Feb-191211111111111111111111111
7Jun-20611111111111111111111111
8Jul-191211111111111111111111111
Sheet1
Cell Formulas
RangeFormula
C2:C8C2=SUMIFS(D2:Z2,$D$1:$Z$1,">="&$B2,$D$1:$Z$1,"<"&EDATE($B2,12))
 
Upvote 0

Forum statistics

Threads
1,214,878
Messages
6,122,062
Members
449,064
Latest member
scottdog129

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