Help with countifs on closed workbook

RIDINGO

New Member
Joined
Sep 1, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi all

I was hoping someone would be able to help me with using sumproduct as a replacement for countifs on closed workbooks. I've been able to get it to work for when I have countif, but seem to be making a silly mistake with countifs.

My original formula is:
=(COUNTIFS('[Y8 Tracking Spreadsheet 2021-2022 .xlsx]Raw Data'!$F$4:$F$264,"<>",'[Y8 Tracking Spreadsheet 2021-2022 .xlsx]Raw Data'!$M$4:$M$264,">-1"))/$C4

Is there a way to do this with sumproduct?

Thank you so much for any help!
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Hi & welcome to MrExcel.
How about
Excel Formula:
=sumproduct(('[Y8 Tracking Spreadsheet 2021-2022 .xlsx]Raw Data'!$F$4:$F$264<>"")*('[Y8 Tracking Spreadsheet 2021-2022 .xlsx]Raw Data'!$M$4:$M$264>-1))/$C4
 
Upvote 0
That's amazing, thank you so much!

Sorry for the follow up question, but is there a way to get this to ignore any N/As in the data?

Thanks again!
 
Upvote 0
You would be better off removing the errors in cells you are looking up.
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,817
Members
449,049
Latest member
cybersurfer5000

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