Excel 2016 to 97-2003 Compatibility Issue

DJFANDANGO

Board Regular
Joined
Mar 31, 2016
Messages
113
Office Version
  1. 365
Platform
  1. Windows
Hi Guy's,

I have a formula that works great in Excel 2016, but it doesn't work on Excel 97-2003... I guess it's a COUNTIFS issue, as the earlier versions did not have this...?

How do I re-write this formula?

=COUNTIFS('SOP Data'!$C$3:$C$5000,$A5,'SOP Data'!$B$3:$B$5000,">="&AR$1,'SOP Data'!$B$3:$B$5000,"<="&AR$2)

Many thanks!
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
You can use SUMPRODUCT instead:

=SUMPRODUCT(('SOP Data'!$C$3:$C$5000=$A5)*('SOP Data'!$B$3:$B$5000>=AR$1)*('SOP Data'!$B$3:$B$5000<=AR$2))
 
Upvote 0
N.B.
Try this example and then adapt to your actual data.

T202010a.xlsm
ABCD
1CriteriaData
21-May-202
330-May-201-Jan-20ABC
41-Apr-20
5ABC1-May-20ABC
61-May-20DD
720-May-20ABC
81-Jun-20ABC
6a
Cell Formulas
RangeFormula
D2D2=SUMPRODUCT(--($B$3:$B$5000>=A2),--($B$3:$B$5000<=A3),--($C$3:$C$5000=A5))
 
Upvote 0

Forum statistics

Threads
1,214,631
Messages
6,120,640
Members
448,974
Latest member
DumbFinanceBro

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