Frequently asked questions

How do you make tally marks in Excel?

Type the count in a cell, say A2, and in the next cell enter =TRIM(REPT("||||⁄ ",INT(A2/5))&REPT("|",MOD(A2,5))). It draws one gate of four pipes and a slash for every complete five and a pipe for each one left over, so 12 shows as two gates and two strokes. Copy the formula from a web page to keep the slash, or build it with UNICHAR(8260) in Excel 2016 and later.

How do you make tally marks in Google Sheets?

With the same formula as Excel: =TRIM(REPT("||||⁄ ",INT(A2/5))&REPT("|",MOD(A2,5))). REPT, INT, MOD, TRIM and UNICHAR all exist in Google Sheets with the same names and arguments. Google's REPT page notes that it adds no spaces between repetitions, which is why the gate text ends in a space and TRIM removes the last one.

What is the Excel formula for tally marks in groups of five?

Split the count into groups and remainder: INT(A2/5) is the number of complete fives and MOD(A2,5) the loose strokes. Repeat a gate for the first and a pipe for the second, then join them: =TRIM(REPT("||||⁄ ",INT(A2/5))&REPT("|",MOD(A2,5))). For 23 that is four gates and three strokes. The formula returned the expected text for every whole number from 0 to 120 in two spreadsheet engines.

How do I turn a list of survey answers into a tally chart in Excel?

List the categories in one column and count each with COUNTIF, for example =COUNTIF($A$2:$A$31,C2), then put the tally formula on that count. Add a total with SUM and compare it with COUNTA of the answers. If they differ, an answer did not match any category exactly; a trailing space is the usual cause, and =COUNTIF(A2:A31,"* ") counts how many answers end in one.

How do you convert tally marks back to a number in a spreadsheet?

If every mark is its own character, count the characters that are not spaces: =LEN(SUBSTITUTE(A2," ","")). A gate typed as four pipes and a slash then counts as five. Do not use LEN alone, which counts the spaces between groups too, so 12 marks typed in three groups reads as 14. A formula cannot see strikethrough, so struck groups of four need a different formula.

Is there a tally mark font or character for Excel?

Unicode has tally mark one and five at U+1D377 and U+1D378, but none of the 157 font files on a Windows 11 test machine contained either, so they are likely to show as boxes. The fraction slash used in the gate, U+2044, was in Arial, Calibri, Times New Roman, Segoe UI and the other common Windows fonts checked. Pipes and slashes are the safe choice.

Why does my tally formula show #VALUE!?

Usually because the cell it reads holds text, such as "12 votes", or the result is too long. Microsoft's REPT page says the result cannot be longer than 32,767 characters, and Google's caps it at 32,000. A negative count is not a tally either: one engine tested returned #VALUE! for -3 and another returned two strokes, so keep counts zero or above.

Can a tally chart in Excel show more than one row of marks in a cell?

Yes. Joining every pair of gates with CHAR(10), the line-feed character, and turning on Wrap Text puts ten marks on each line, the way large tallies are written on paper. The formula in this guide does that and tested correctly for counts 0 to 120 and 1,000; the line breaks show only when the cell's text wrapping is on.

People also search for

Count first, draw the marks afterwards

The tally counter keeps one total per category as you tap, with undo, and exports every total as a CSV file that opens in Excel or Google Sheets, ready for the formulas above.