Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

On LibreOffice Calc, I have seven columns filled with any one of the non-numerical values a, b or c. For each line, I want to count how many times the a value has been entered.

How can I do that? I couldn't find a way to do that with the Data Pilot.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

Assuming the seven columns are A:G and the first row is 1:

In H1 enter =COUNTIF(A1:G1;"=a")

and copy down.

Credits to John V at www.oooforum.org.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.