excel - Count occurrences starting with a specific number (Benford's Law) -
i have table in excel countries , associated population counts. count how many times number starts 1, 2, ... 9. it's benford's law, school homework.
i tried nb.si or countif didn't work. tried convert numbers text nb.si didn't work better.
do have idea?
with data in column a, in b1 enter:
=left(a1,1)
and copy down. in c1 enter:
=countif(b$1:b$20,row())
and copy down through c9
Comments
Post a Comment