How do I stop counting using CountA when it reaches a blank cell? (without editing my data input)
I have the following data:
Hypertension =counta()
Jane Doe Diagnosis of Jane Doe, Gestational Hypertension
John Doe Diagnosis of John Doe, Chronic Hypertension
Jack Smith Diagnosis of Jack smith, Secondary Hypertension
Diabetes =counta()
Jane Lee GDM Diet Controlled
Jenny Ko Gestational Diabetes
Judy Do GDM Insulin
How do i count all the non-empty rows after my formula until it reaches the first blank row? I found this formula for excel and it works well, however, i need it to work on numbers as well: =COUNTA(A15:INDEX($A15:$A$100,MAX(1,MATCH(TRUE,INDEX($A15:$A$100="",0,0),0))))
I understand that this question was asked before, however the one who answered it basically wanted to change the format of the data input. I can't do that because this is the same table i will be presenting to an audience, and repeatedly inputting "diabetes" or "hypertension" in each row is visually annoying.
Hope someone can help. Thanks!
MACBOOK AIR (11-INCH, EARLY 2015), iOS 9.1, null