Using LibreOffice Calc 3.3.1
On a sheet I have a block of numbers spanning a few columns and rows. Numbers can either be single or double digit and are in a range of 0 to 100 however reading the rows or columns will NOT result in sequential numbers and there is no pattern ie
1 51 6 2 11
23 5 9 1 2
Numbers never repeat on a row.
In a cell below the table or on another sheet I would like to find the total count of several of the numbers in the above table eg 1 and 2, however my count must only include values specified i.e. if I specify to search the above block A1:E2 and count the number 1, then the answer would be 2 instances i.e. not include 11, 51.
If I specify the number 2, then again the answer would be 2 because my search would have excluded 23.
I have tried COUNT and FIND but have not been able to work out the formula.
Any assistance appreciated.