Sumifs and Offset combination

erniepoe

Active Member
Joined
Oct 23, 2006
Messages
375
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I am trying to get the value that is one column to the right of this formula, but am having problems finding the solution. I have tried Offset(Formula,0,1,1,1) but excel doesn't like it. Have simillarly tried putting the offset inside the Sumifs as well as inside the Index, but am not having any luck getting it to work.

Anybody know what I am doing wrong? Thanks so much.

=SUMIFS(INDEX('[November financials.xlsx]300 - STAT-A'!$B:$AG,0,MATCH("MTD",'[November financials.xlsx]300 - STAT-A'!$B$6:$AG$6,0)),'[November financials.xlsx]300 - STAT-A'!$A:$A,"*T&E*")
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi Erniepoe,

The MATCH is giving the column number for the INDEX so if you want the column one to the right then add one. Here's a simplified version with it retrieving the Daily figure from column G but the MTD heading is in column F.

Erniepoe.xlsx
ABCDEFG
4Result67
5
6202020212022YTDMTDDaily
7ABC123456
8XYZ789101112
9T&E131415161718
10ZZZ192021222324
11ABC222222222222
12XYZ383940414243
13T&E444546474849
14ZZZ505152535455
Sheet1
Cell Formulas
RangeFormula
B4B4=SUMIFS(INDEX($B:$G,0,MATCH("MTD",$B$6:$G$6,0)+1),$A:$A,"*T&E*")
 
Upvote 0
thank you Toadstool, this worked great! Cheers, and merry xmas...
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,260
Members
449,075
Latest member
staticfluids

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