sum if number < 95

dmheller

Board Regular
Joined
May 26, 2017
Messages
156
Office Version
  1. 365
All,
I have a sum if function
=SUM(IF(ISNUMBER('Line 4'!$D$4:$D$44903),IF(INT('Line 4'!$D$4:$D$44903)=INT('Line 4 calc Sheet'!B3),'Line 4'!$K$4:$K$44703<"95")))/60
So the first part is looking up a date and comparing the date.
The part not working is
'Line 4'!$K$4:$K$44703<"95")))/60
Ever time I run this, it returns 0
I am also hitting Ctrl Shift Enter not just enter.
Please help
=SUM(IF(ISNUMBER('Line 4'!$D$4:$D$44903),IF(INT('Line 4'!$D$4:$D$44903)=INT('Line 4 calc Sheet'!B3),--('Line 4'!$K$4:$K$44703<"95"))))/60
 
Last edited:

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
And if it makes any difference, the ranges are not the same size:

=SUM(IF(ISNUMBER('Line 4'!$D$4:$D$44903),IF(INT('Line 4'!$D$4:$D$44903)=INT('Line 4 calc Sheet'!B3),'Line 4'!$K$4:$K$44703<"95")))/60

I know it makes a difference for some functions, maybe not here, but worth a check.
 
Upvote 0
Good point. I suspect the OP needs this:

Code:
{=SUM(IF(ISNUMBER('Line 4'!$D$4:$D$44903),IF(INT('Line 4'!$D$4:$D$44903)=INT('Line 4 calc Sheet'!B3),--('Line 4'!$K$4:$K$44903<95))))/60}

Did a quick test and at least it returned a non-zero result with some sample data.

WBD
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,313
Members
452,634
Latest member
cpostell

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