There really isn't enough detail in your message to enable anyone to provide a definitive solution. However, I don't believe you'll have success with SUMIF or SUMIFS (only needed for multiple criteria) because the
Sum_Range argument supports only a contiguous range of cells. IOW, if you specify
A1:A100 all cells in that range will be included if they satisfy the criteria argument(s) even if they aren't being displayed due to a Filter being applied. You would have to supply multiple Criteria arguments based on the Filter criteria &
it would have to be revised for each different session.
One alternative that may work better for you is the DSUM function.
Another possibility is to apply a Table structure to the list & use the Totals Row, but I can't be sure because there isn't enough descriptive information to go on.