Why The Fucck Can I Not Get Excel To Count or Tally How Many Times A Number Occurs in a Row of Cells?

O.T.I.S.

Veteran
Joined
Sep 15, 2013
Messages
72,374
Reputation
15,097
Daps
278,872
Reppin
The Truth

Fat Fred Jones

Reticent
Joined
Jun 15, 2018
Messages
450
Reputation
410
Daps
3,605
To count how many times a specific number appears in row 2, you can use the COUNTIF function. Assuming the specific number you're searching for is, for example, 59 and you want to count it across a single row, you would enter the following formula into cell C3:

=COUNTIF(2:2, 59)

This formula will count how many times the number 59 appears in row 2. Adjust the number 59 to the specific number you are looking for, or replace it with a reference to a cell containing the number you want to count.

Or


To count how many times a specific number appears in column B, you can use the COUNTIF function. Assuming you are looking for the number 59, you would enter the following formula into cell C3:

=COUNTIF(B:B, 59)

This formula will count how many times the number 59 appears in column B. You can replace 59 with any other number or reference a cell that contains the number you want to count.


The 2:2 and B:B represent the rows and/or columns to be searched. You can adjust the numbers as necessary, for example, 2:5, would search the entire rows of 2 through 5. B:G would search entire columns of B through G. B1:G18 would search cells in that specific rectangular range. Be sure the cell with this formula is not in the search range.
 
Last edited:

Based Lord Zedd

Colts or Die
Supporter
Joined
Apr 30, 2012
Messages
10,821
Reputation
1,341
Daps
30,006
Reppin
Houston TX
Wait..
How do you get ChatGPT to do excel for you?????

Every time I'm at work and either don't feel like working through or get stuck on a Sheets formula I ask my boy Claude from Anthropic for help and he comes thru. Literally just show it the data and tell it what you're trying to do.

Nah every single occurence is separated in military time each day from the past 7 days.

really though, if you want someone here to help you, you need to post a row of the data with headers
 

Silkk

Thats My Quarterback :to:
Joined
May 2, 2012
Messages
190,643
Reputation
19,220
Daps
481,914
Every time I'm at work and either don't feel like working through or get stuck on a Sheets formula I ask my boy Claude from Anthropic for help and he comes thru. Literally just show it the data and tell it what you're trying to do.



really though, if you want someone here to help you, you need to post a row of the data with headers
I tried that and it wouldn’t let me create the thread even in spoilers :pachaha:
 
Top