Countif using totals of two named columns

PatRichard

New Member
Joined
Dec 29, 2018
Messages
29
Office Version
  1. 365
Platform
  1. Windows
I'm trying to use countif to figure out how many rows have two cells that added together are greater than another value. I know for a single column, something like
Excel Formula:
=COUNTIF(SiteInfo[Number of Users],"<"&Data!E51)
works fine. But I want the sum of SiteInfo[Number of Users] + SiteInfo[Shared Devices] as the criteria, and just can't seem to find something that works. The closest I've come is counting the number of rows where either cell is < Data!E51. Thoughts?

1719980730506.png
 
Not sure if I am misinterpreting what you are saying but that formula will count it if either of the value columns are not blank.
I'm just thinking about it wrong. :(

We tell the customer that no cells in the workbook should be empty for any site (row) containing data.
If that's the case you can try...
Excel Formula:
=SUM((SiteInfo[Number of Users]+SiteInfo[Shared Devices]<Data!E51)*(SiteInfo[Site name]<>""))
 
Upvote 0

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,224,812
Messages
6,181,104
Members
453,021
Latest member
Justyna P

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