How do I convert this Countifs function to Sumproduct?

Goose306

Board Regular
Joined
Sep 26, 2014
Messages
52
Hello all;

Learned a lot from lurking on this forum, first time needing some help.

I have a countifs function I've been using for awhile that I use to count blanks between two columns. The value in these cells changes (they can be number or letters), so it doesn't look for anything specific, instead compares one column, finds the non-blanks, then finds the blanks in another comparison column.

=COUNTIFS($A1:$A1001, "<>"&"",$N1:$N1001,"")

The issue being I'm now trying to take this to where it will reside in another workbook and use a reference. I've since learned that the countifs won't work when referencing a closed external workbook and it needs to be converted to a sumproduct function. I've tried several different versions, but I keep getting #VALUE errors, so I don't think I'm quite getting my head around the function yet, and a cursory search finds a couple countif examples, but few countifs. Can anyone give me some guidance on how this formula needs to be changed to be written to a sumproduct?

If it makes any difference, I'm working in Office 2010.

Thanks!
 
Last edited:

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