Aug 07 2023 05:23 AM
Hi Tech Community
I wonder if you can help me?
I have a spreadsheet which uses sumifs, but it seems that the results returned are not always correct.
I am not sure how to attach the spreadsheet to this post so here are some screen grabs.
It is odd because some results are correct and others are not.
The formula used is
=SUMIFS(Table2[Width],Table2[Plot],$B386,Table2[Head],$D$384)
The wide table at the top of the image is Table2 and consists of 377 rows by 20 columns.
If I reduce the table just to show plot 1-1 then the correct result is displayed, but it is also displayed for plot 1-23 which is not on the reduced table??
Here is the reduced table
And the results
Am I doing something wrong, should I try getting the results in another way that can be used in a different table?
Thnaks in advance.
Colin
Aug 07 2023 06:06 AM - edited Aug 07 2023 06:07 AM
Better if you share the formula for the cell in question.
And what is "reduced table" - you mean you physically removed some rows from the initial table? If you mean filtered table - filter doesn't affect SUMIFS().
Aug 07 2023 06:24 AM
The formula for the cell in question is
=SUMIFS(Table2[Width],Table2[Plot],$B386,Table2[Head],$D$384)
I reduced the table by using the resizing handle in the right hand lower corner.
It is not a filter but defines the size of the table.
Aug 07 2023 08:21 AM
Aug 07 2023 08:23 AM
Aug 07 2023 08:52 AM
Aug 07 2023 09:41 AM
I tried to play with different scenarios and can't reproduce, sorry. It looks like recalculation doesn't work in your case. You may try Ctrl+Alt+Shift+F9 if it updates the formula.
On that step if only to play with your file, if you may share it removing sensitive information, or someone else here have more ideas.
Aug 07 2023 09:44 AM
With my previous answer I skipped that your message. Do you enter 1-1 as text ('1-1) or/and cells are formatted as texts?
Aug 07 2023 11:38 AM
SolutionAug 07 2023 01:45 PM
The cells were preformatted as text, but not necessarily had the preceeding '.
Your date theory sounds plausible to me.
I have made a mental note not to use numbering scheme that could look like a date to Excel.
Thanks for your help.
Aug 14 2023 07:06 AM
Excel considers as text any value if the cell is formatted as text and the value preceding with ' if any other format is applied to the cell.
Aug 07 2023 11:38 AM
Solution