I'm trying to calculate the average Length of Stay for a healthcare building based on diagnosis. The problem I'm running into is that some diagnoses are blank and therefore the average calculation is returning a #DIV/0. So I'm unable to give an average for that class of diagnosis(e.g., ortho, cardiac, etc...). I'm attaching the data from the spreadsheet with all HIPAA data removed.
Also, our network is currently using Excel 2000. Otherwise I'd have gone with AVERAGEIF.
As a bonus, if anyone can tell me how to do this based on payer AND diagnosis, I'd be eternally grateful. As of now my idea is to separate each payer into its own tab. Thanks!
Bookmarks