Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

SUMIFS returns zero only in some cases

$
0
0

Hello, technet community!

I've got a problem and hope you could help me.

Description:

I have a workbook with ca. 300 identical sheets with data, generated by a 3rd party software (same formatting, same location of cells etc.).

In the same workbook I have an "evaluation" sheet, which has to sum all scientific values in a columnF in every "data" sheet if values in the values in J column in the same "data" sheet are within limits, contained in a table of my "evaluation" sheet - in this example S10 and R10 cells. 

As I have that much sheets, I address them in the formula like this:

=SUMIFS(INDIRECT("'"&A3&"'!F11:F6000");INDIRECT("'"&A3&"'!J11:J6000"); ">="&$S$10;INDIRECT("'"&A3&"'!J11:J6000"); "<="&$R$10)

In this example A3 contains the name of the "data" sheet where the fomula should work.

I get finally a matrix: Column A are different "data" names, 1st row are 10 different criteria in each of "data" sheets.

Problem:

The most unclear for me is that I have 10 columns in the "evaluation" sheet, which all have the same formula. They are only different in name of their "data" sheets and range criteria.8 of them work fine, 2 - deliver always 0.

Thoubleshooting:

1. Spaces in "data" are not the reason - generated with a scientific sofware & 6 coluns work fine with the same data.

2. Syntax: tried to copy forula from working columns. Negative result.

3. Criteria: if I change the criteria, I have some results. If I calculate manually the expected result - it  is not zero.

Any ideas?

Thanks alot! 


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>