Forum Discussion
ThePazMan
Jul 10, 2023Copper Contributor
Formula to determine number of times a character exists in a cell: "_" in cell = abc_def_ghi_xyz
Formula to determine number of times a character exists in a cell: I want to find the number of times "_" exists in cell = abc_def_ghi_xyz
- Jul 10, 2023
Let's say the cell is A1. The number of "_" in the cell value is:
=LEN(A1)-LEN(SUBSTITUTE(A1,"_",""))
HansVogelaar
Jul 10, 2023MVP
Let's say the cell is A1. The number of "_" in the cell value is:
=LEN(A1)-LEN(SUBSTITUTE(A1,"_",""))
ThePazMan
Jul 10, 2023Copper Contributor
TY - works great