Can someone help me with replacing a Countifs with Sumproduct.
I did an XLOOKUP successfully but it brings back the serial number and won't catch anyone with more than one. So that isn't viable.
The issue is that the Countifs requires the external data source to be open. That was fine for a while. But, now I need to be able to quickly reference the data without opening multiple workbooks. And based on some googling the sumproducts is the way to go. But I am having trouble visualizing how t construct it.
is the formula I am trying to replace. The absolute references were removed once it was copied to all the cells in a range.
Thank you for looking. I hope everyone is well.
And if you ever need an xlookup that uses concantentation ... here it is. I was pretty proud to have figured it out without having to google or anything. To bad the result isn't a count of lines matching the criteria.
I did an XLOOKUP successfully but it brings back the serial number and won't catch anyone with more than one. So that isn't viable.
The issue is that the Countifs requires the external data source to be open. That was fine for a while. But, now I need to be able to quickly reference the data without opening multiple workbooks. And based on some googling the sumproducts is the way to go. But I am having trouble visualizing how t construct it.
Code:
=COUNTIFS('[Pull Sheet.xlsb]FIELD OH'!$I:$I,$A2,'[Pull Sheet.xlsb]FIELD OH'!$A:$A,$B$1)
Thank you for looking. I hope everyone is well.
And if you ever need an xlookup that uses concantentation ... here it is. I was pretty proud to have figured it out without having to google or anything. To bad the result isn't a count of lines matching the criteria.
Code:
=XLOOKUP($A2&$B$1,'[Pull Sheet.xlsb]FIELD OH'!$I:$I&'[Pull Sheet.xlsb]FIELD OH'!$A:$A,'[Pull Sheet.xlsb]FIELD OH'!$B:$B)