I am new to google sheets. I have a spreadsheet with two tabs that are involved with this question:
- DB - Dental
- RPT - Billing Dental
On the RPT tab, I am trying to create a countifs formula to count the number of patient records for which no billing activity has yet occurred.
My basic countifs formula looks like this:
=countifs('DB - Dental'!F3:F845,A3,'DB - Dental'!AC3:AC845,"")
Row 845 is the last row of data entered into the DB tab.
I now want to replace the 845 reference in this formula and make it instead automatically figure out what the last row number in my DB tab is so it will dynamically grow as more records are entered into the spreadsheet.
The formula I have for figuring out the last row of data in the DB tab is this:
=(max(arrayformula(if('DB - Dental'!A:A<>"",row('DB - Dental'!A:A),""))))
Both formulas work separately. The question is how can I merge them together so the countif function reads from row 3 to the last row of data in the DB tab?
Thank you very much for your help!