SUMIFS Function Is Performing Inconsistently

TrainingExcellence

New Member
Joined
Apr 6, 2017
Messages
10
Office Version
  1. 365
This problem has been driving me nuts, because it should be simple, but it's not working. I have the following formula in a table called tblCurrentHoldings on the sheet CurrentHoldings (see screenshot: https://1drv.ms/u/s!ArArDJ7WmD62grkdhF-Y-3Epey_0_g?e=vkjFxq):

Code:
=SUMIFS(tblHoldings[Amount],tblHoldings[Dates],">="&[@Dates],tblHoldings[Dates],"<"&CurrentHoldings!C4,tblHoldings[Investment],tblCurrentHoldings[[#Headers],[LargeStock]])

The formula is supposed to sum the values of a column in a table called tblHoldings on the sheet Retirement Holdings that match the investment type and date range listed in tblCurrentHoldings. The function returns "0" even though there are qualifying values to be summed. When I evaluated the function, the date references in tblCurrentHoldings returned the #VALUE error.
s!ArArDJ7WmD62grkeayVPGJnM-qHSqg
See screenshot: https://1drv.ms/u/s!ArArDJ7WmD62grkeayVPGJnM-qHSqg?e=JYXNSm.

What is really weird is when, during my troubleshooting, I copied tblCurrentHoldings onto the Retirement Holdings sheet next to tblHoldings, the formula worked! See screenshot: https://1drv.ms/u/s!ArArDJ7WmD62grkcsKH0V9fzmP7YdQ?e=Rpfyp8.

Why would the SUMIFS function work on one worksheet, but not on another. To my knowledge, I am using structured table references correctly. I tried adding "tblCurrentHoldings" before the "[@Dates]" reference to make sure there was no mistaking the table, but Excel drops the table reference when I press Enter.

Any idea what is wrong?
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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