# How to Make Tally Marks in Excel (4 Easy Methods)

Get FREE Advanced Excel Exercises with Solutions!

In numerous situations, you may need to make tally marks in your Excel sheets. Because tally marks can represent data in a visually pleasing way. But there is no built-in system in MS Excel to create tally marks. Here, we will take you through 4 easy and convenient methods to make tally marks in Excel.

## How to Make Tally Marks in Excel: 4 Easy Methods

A tally graph usually consists of four lines, with the fifth tally represented by a diagonal strikethrough line. This creates a pleasing visual grouping. Usually, we use tally marks to represent the number of times something happens. Although Microsoft Excel has a lot of built-in chart types, it doesnâ€™t include a tally graph option. So we have to use alternative ways.

Here, weâ€™ve got a dataset of Vote Count List including individualâ€™s Name and their total Votes.

We wanna show those vote counts in tally marks. For this, weâ€™ll use a handful of methods including formulas and bar charts.

### 1. Using REPT Function

In our first method, we will use just the REPT function. Before that, we need to fix what our tally marks will look like. For four lines, weâ€™ll use 4 vertical straight lines just above the backslash key on our keyboard, and for the substitute of the diagonal strikethrough line, weâ€™ll use a hyphen like that ( ||||-Â ).

Steps:

• First, select cell E8. Paste down the formula below into the Formula Bar, and press ENTER.
`=FLOOR.MATH(D8,5)/5`

Using the FLOOR.MATH function, the value in cell D8 got rounded down to a number which is divisible by 5. Then divide it by 5, and we got the quotient that is visible in cell E8.

• After that, select cell F8, type down the formula below, and press ENTER.
`=MOD(D8,5)`

Here, the MOD function returns the remainder in cell F8 after dividing the value of cell D8 by 5.

• Later, select cell G8, write down the formula below, and press ENTER.
`=REPT(\$C\$4,E8)&REPT(\$C\$5,F8)`

Here, we have frozen cells C4 and C5 to make our formula work properly.

### 2. Using a Combination of REPT, QUOTIENT, and MOD Functions

In another way, we can make tally marks in Excel. To do so, weâ€™ll use a formula combining REPT, QUOTIENT, and MOD functions. Hereâ€™s our method.

Steps:

• At the very beginning, select cell E5. Type down the formula below, and press ENTER.
`=REPT("tttt ",QUOTIENT(D5,5))&REPT("I",MOD(D5,5))`

Note: While typing tttt, make sure to put a blank space at the end of the last t. Otherwise, all t will stick together in E5:E11 cells.

• Then, select E5:E11 cell range and change the font to Century Gothic.

• Instantly, you can see your output in the correct format.

Read More: How to Tally a Column in Excel

### 3. Creating Tally Marks from Bar Chart

There is no default function or chart in Microsoft Excel to make tally marks. But we can do it with the help of a Bar Chart. To use this method, follow our work steps carefully.

Steps:

• At first, fill up the Groups column. For this, select cell E8, type down the formula below, and press ENTER.
`=FLOOR.MATH(D8,5)`

• Secondly, select cell F8, write down the formula as follows, and press ENTER.
`=MOD(D8,5)`

• Then, select cell E8:F14 and go to the Insert tab, select Insert Column or Bar Chart > 2-D Stacked Bar.

• Instantly, a horizontal bar chart appears in front of us.

• Then, right-click on the y-axis and select Format Axis from the options.

• In the Format Axis menu, tick on the Categories in reverse order.

Your y-axis will be vertically flipped after this action.

• Now, double-click on any bar to open the Format Data Series. Decrease the Gap Width to 0% to remove the gap between two bars.

• Then, delete the unneeded visual elements like Chart Title, Legend, and Axis to make the graph area neater.

• Next, copy cell C4 in your clipboard and double-click on any blue bar in the graph to reopen the Format Data Series menu.

• Currently, from the Format Data Series option, select Fill and Line > Fill > Picture to texture fill > Clipboard > Stack and Scale with. And put down 5 in the box of Unit/Picture.

• For instance, our chart will look like that.

• Then, select cell C5, double-click on the orange-colored bar, and do the same as the previous steps.

• Finally, size down the chart suitably according to our table and place it correctly just beside our table.

Read More: How to Make a Tally Chart in Excel

### 4. Applying VBA Code to Make Tally Marks in Excel

Applying the VBA code is always an amazing alternative. For doing this, follow as we have done below.

Steps:

• Right-click on the Sheet name and select View Code.

• Instantly, the Microsoft Visual Basic for Applications window opens. From Toggle Folders, right-click on Sheet5 (VBA) > select Insert > Module.

• It opens a code module, where paste the below code down and clicks on the Run button or press F5.
``````Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Dim cells As Range
Dim i As Long, j As Long, n As Long
'Select the Range you want to apply this code to
Set cells = Me.Range("D5:D11")
Set cells = Intersect(cells, Target)
If Not cells Is Nothing Then
Â Â Â Â Cancel = True
Â Â Â Â Application.EnableEvents = False
Â Â Â Â n = Len(cells.Value)
Â Â Â Â j = n Mod 5
Â Â Â Â If j = 4 Then
Â Â Â Â Â Â Â Â cells.Value = cells.Value & " "
Â Â Â Â Else
Â Â Â Â 'Select the tally sign you want for each doubleclick
Â Â Â Â Â Â Â Â cells.Value = cells.Value & "/"
Â Â Â Â End If
Â Â Â Â Â Â Â Â Â cells.Font.Strikethrough = False
Â Â Â Â For i = 1 To n Step 5
Â Â Â Â Â Â Â Â If (j = 4) Or (i < (n - j)) Then
Â Â Â Â Â Â Â Â Â Â Â Â cells.Characters(i, 4).Font.Strikethrough = True
Â Â Â Â Â Â Â Â End If
Â Â Â Â Next
Â Â Â Â Application.EnableEvents = True
End If
End Sub``````

• Now close the code module and return to the worksheet. Youâ€™ll be amazed to see that, double-clicking on any cell in column D will put a tally mark in the cell.

• Besides, you can count the tally and display it in number format. For this, select cell E5, put down the formula below, and press ENTER.
`=LEN(D5)`

Here, weâ€™ve used the LEN function for counting the character length of cell D5.

Read More: How to Make a Tally Sheet in Excel

You may download the following Excel workbook for better understanding and practice yourself.

## Conclusion

In this article, we tried to show the different methods of making tally marks in Excel. Thank you for reading this article, we hope this was helpful. If you have any queries or suggestions, please let us know in the comment section.

## What is ExcelDemy?

ExcelDemy Learn Excel & Excel Solutions Center provides free Excel tutorials, free support , online Excel training and Excel consultancy services for Excel professionals and businesses. Feel free to contact us with your Excel problems.
Shahriar Abrar Rafid

Welcome to my profile! I'm thrilled to have you here. As a dedicated Naval Architecture and Marine Engineering graduate from the prestigious Bangladesh University of Engineering & Technology, I am deeply immersed in the realm of research and analysis. My current focus revolves around Microsoft Excel, where I engage in extensive work and conduct insightful research. Through this platform, I share articles that shed light on the vast possibilities of Excel. I'm also an avid reader and passionate traveler, constantly seeking knowledge and implementing it effectively in my work. Join me on this exciting journey as we explore Excel and optimize our productivity together.

We will be happy to hear your thoughts

Advanced Excel Exercises with Solutions PDF