Jun 25 2023 01:46 PM
After exporting account data for a certain date range from a bank account, what would be a good formula for calculating average daily debit? Most dates will have several debit entries, and some dates will not have any entries. Thank you!
Jun 25 2023 01:54 PM
=IFERROR(AVERAGEIF($C$2:$C$23,F2,$D$2:$D$23),"")
You can try this formula. IFERROR returns a blank cell for days without a debit entry.
Jun 25 2023 04:24 PM
Jun 25 2023 04:39 PM
=SUM(B1:B23)/SUMPRODUCT(1/COUNTIF(A1:A23,A1:A23))
Does this return the intended result? Otherwise can you share the intended result for your excerpt of dates?