SUMIF OFFSET 1 column

lost_in_the_sauce

Board Regular
Joined
Jan 18, 2021
Messages
128
Office Version
  1. 365
Platform
  1. Windows
I hope this is easy, I can post the xl2bb if needed. My sheet has forecast and actuals side by side with the date above the forecast value each month.

=SUMIF(A:A,C5,D:D)

When it returns the value from D (example, C5 matches A13 so D13 is returned) - I would like to take one cell to the right instead to capture the actual numbers and not the forecast (cell E14 in this example.)
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Post XL2BB, I think it can be done some other way...

Book2
ABCDEFGHIJKLMNOPQRSTUVWXYZAAAB
1Jan-23Feb-23Mar-23Apr-23May-23Jun-23Jul-23Aug-23Sep-23
2PlanActPlanActPlanActPlanActPlanActPlanActPlanActPlanActPlanAct
3Royalty7728245276979324725707-18820809-11771742-2981385037810754-567477631679584752
4eCommerce10511813140104-3610813628132121-11122112-1012114120150106-441461493109108-1
5Merch8881-7959509784-13999909189-29982-179187-48098189685-11
6Rebates36360334073138730377323863736-1343733932-73330-3
7Revenue100110595810371032-5961965410811066-151016981-3510701109391085984-10110121042301033107037
8
9
101/31/20232/28/20233/31/20234/30/20235/31/20236/30/20237/31/20238/31/20239/30/2023
11Actual Revenue10011037961108110161070108510121033
Sheet1
Cell Formulas
RangeFormula
E1,Z1,W1,T1,Q1,N1,K1,H1E1=EOMONTH(B1,1)
B7:AB7B7=SUM(B3:B6)
B11:J11B11=SUMIF(1:1,B10,7:7)
 
Upvote 0
The formulas in B11:J11 are returning the Plan number, is there a way to have the output be the Act number, or one cell to the left?
 
Upvote 0
I did a little bit of trick in Row 1 to get the desired results in Row 12. Check C1, D1, F1, G1...

See if it works for you...

Also I have changed Row 10 to standardise Data.

This was the best I could think without changing the structure of your data...

Book3
ABCDEFGHIJKLMNOPQRSTUVWXYZAAAB
1Jan-2023Jan-2023Jan-2023Feb-2023Feb-2023Feb-2023Mar-2023Mar-2023Mar-2023Apr-2023Apr-2023Apr-2023May-2023May-2023May-2023Jun-2023Jun-2023Jun-2023Jul-2023Jul-2023Jul-2023Aug-2023Aug-2023Aug-2023Sep-2023Sep-2023Sep-2023
2PlanActPlanActPlanActPlanActPlanActPlanActPlanActPlanActPlanAct
3Royalty7728245276979324725707-18820809-11771742-2981385037810754-567477631679584752
4eCommerce10511813140104-3610813628132121-11122112-1012114120150106-441461493109108-1
5Merch8881-7959509784-13999909189-29982-179187-48098189685-11
6Rebates36360334073138730377323863736-1343733932-73330-3
7Revenue100110595810371032-5961965410811066-151016981-3510701109391085984-10110121042301033107037
8
9
10Jan-2023Feb-2023Mar-2023Apr-2023May-2023Jun-2023Jul-2023Aug-2023Sep-2023
11Planned10011037961108110161070108510121033
12Act105910329651066981110998410421070
Sheet1
Cell Formulas
RangeFormula
C1,F1,I1,L1,O1,R1,U1,X1,AA1C1=B1
D1,G1,J1,M1,P1,S1,V1,Y1,AB1D1=B1
E1,H1,K1,N1,Q1,T1,W1,Z1E1=EOMONTH(B1,1)
B7:AB7B7=SUM(B3:B6)
C10:J10C10=EOMONTH(B10,1)
B12:J12B12=SUMIFS(7:7,1:1,B10,2:2,$A$12)
 
Upvote 0

Forum statistics

Threads
1,215,741
Messages
6,126,608
Members
449,321
Latest member
syzer

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