Summing data "greater than" in an array

carpediem0114

New Member
Joined
Feb 5, 2018
Messages
4
Hi, I'm trying to SUM data subject to a "greater than" condition. I'm not using SUMIF because my calculation is not a simple sum and I also need to use an array, which I don't think is possible. My equation was like this:

=SUM(IF(Sheet1!X$8:X$12431>100000,Sheet1!BF$8:BF$12431))

However, it is not returning the correct answer and I cannot figure out why.

Thank you!
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
I'm not an expert, but I think you need to do your "IF" statement first to check what you want and then do the "SUM" function if you get the response you want from the IF test.
 
Upvote 0
I'm not totally sure what you are wanting based on your first post, but maybe this will work:

Code:
[COLOR=#333333]=IF(sum(Sheet1!X$8:X$12431)>100000,sum(Sheet1!BF$8:BF$12431),"Not greater than 100,000")[/COLOR]

That tests if the sum of x8:x12431 is greater than 100,000, if so it then gives you the sum of BF8:BF12431, if not it gives you a message saying "Not greather than 100,000".

Again, not sure if this is what you want it to do or not, but if not post back more details on what you are expecting things to do.
 
Upvote 0

Forum statistics

Threads
1,216,074
Messages
6,128,652
Members
449,462
Latest member
Chislobog

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