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

Joined
Jan 24, 2016
Messages
18,912
Reputation
2,987
Daps
44,459
i had to do some crazy shyt to a massive excel just last night and i googled it
learned how to highlight every other row in a select portion of a worksheet without having to select the rows one at a time. it's probably a formula you need to put on conditional format
i basicaly googled my whole way through the assignment and worked all night lol... only for the pm to say in the morning "no need to work on that anymore, we'll talk about it later" and then we never talked about it :heh:
 
Joined
Jan 24, 2016
Messages
18,912
Reputation
2,987
Daps
44,459
also, i think the "find all" function would help if your formula doesn't work out
it will give you a list of everywhere the term appears
 

Silkk

Thats My Quarterback :to:
Joined
May 2, 2012
Messages
190,631
Reputation
19,220
Daps
481,900
The solution I provided should work, just revise it as follows:

In cell L2, use this formula
=TEXT($C5, "HH")

Copy that formula down for all rows of data

In cell M2, use this formula
=COUNTIF(L:L, "15")

Change 15 to the hour you need. Also if you only want to find a specific time instead of a whole hour range, revise the column L formula to "HH:MM", then the cell M2 formula to that specific time.
Man Fucck This :martin:



Imma just hire somebody off upwork
 

Ohene

Free Sheist
Joined
May 1, 2012
Messages
72,525
Reputation
6,075
Daps
124,579
Reppin
Toronto
Start DateEnd DateStart Time
16-Sep-24​
16-Sep-24​
9:00​
10-Sep-24​
10-Sep-24​
17:00​
16-Sep-24​
16-Sep-24​
18:00​
20-Sep-24​
20-Sep-24​
14:00​
13-Sep-24​
13-Sep-24​
17:00​
17-Sep-24​
17-Sep-24​
18:00​
20-Sep-24​
20-Sep-24​
12:00​
21-Sep-24​
21-Sep-24​
13:00​
13-Sep-24​
13-Sep-24​
7:00​
21-Sep-24​
21-Sep-24​
17:00​
15-Sep-24​
15-Sep-24​
17:00​
13-Sep-24​
13-Sep-24​
15:00​
15-Sep-24​
15-Sep-24​
14:00​
19-Sep-24​
19-Sep-24​
19:00​
22-Sep-24​
22-Sep-24​
8:00​
12-Sep-24​
12-Sep-24​
11:00​
17-Sep-24​
17-Sep-24​
12:00​
11-Sep-24​
11-Sep-24​
13:00​
11-Sep-24​
11-Sep-24​
16:00​
14-Sep-24​
14-Sep-24​
18:00​
21-Sep-24​
21-Sep-24​
20:00​
12-Sep-24​
12-Sep-24​
20:00​
17-Sep-24​
17-Sep-24​
7:00​
9-Sep-24​
9-Sep-24​
8:00​
12-Sep-24​
12-Sep-24​
8:00​
12-Sep-24​
12-Sep-24​
10:00​
15-Sep-24​
15-Sep-24​
13:00​
17-Sep-24​
17-Sep-24​
15:00​
13-Sep-24​
13-Sep-24​
17:00​
21-Sep-24​
21-Sep-24​
17:00​
10-Sep-24​
10-Sep-24​
21:00​
15-Sep-24​
15-Sep-24​
5:00​
11-Sep-24​
11-Sep-24​
8:00​
17-Sep-24​
17-Sep-24​
11:00​
22-Sep-24​
22-Sep-24​
14:00​
22-Sep-24​
22-Sep-24​
6:00​
17-Sep-24​
17-Sep-24​
10:00​
20-Sep-24​
20-Sep-24​
13:00​
Man this is easy as hell

Use countifs…not count if

Criteria should be each column c cell
Criteria range should be C:C

If you need a summary table then create a new table in a new tab

Column A should have every time possible (can copy and paste column c and use remove duplicates) then do a countifs with the criteria being each cell in column A and the criteria range being all of column c in tab number 1
 

Silkk

Thats My Quarterback :to:
Joined
May 2, 2012
Messages
190,631
Reputation
19,220
Daps
481,900
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.
I think this:


=COUNTIF(C:C, "11:00") might be working....... :ohhh:



I'll try that shyt again tomorrow though. Im bout to pour up :bryan:
 

bnew

Veteran
Joined
Nov 1, 2015
Messages
55,634
Reputation
8,224
Daps
157,113
To count how many times each hour occurs in the "Start Time" column (Column C) of your dataset:

Step-by-Step Instructions​

  1. Identify Unique Hours:
    • From your dataset, list all unique hours present in Column C.
      • Unique hours are: 9:00, 12:00, 17:00, and 18:00.
  2. Use COUNTIF Function:
    • Apply the COUNTIF function to count occurrences of each unique hour.
      text
      =COUNTIF(C:C, "9:00") # For counting occurrences of 9:00
      =COUNTIF(C:C, "12:00") # For counting occurrences of 12:00
      =COUNTIF(C:C, "17:00") # For counting occurrences of 17:00
      =COUNTIF(C:C, "18:00") # For counting occurrences of 18:00
  3. Verify Results:
    • Manually check a few entries to ensure accuracy.
    • Ensure there are no errors in your formulas or data range selections.

Example Output​

HourCount
9:001
12:001
17:002
18:002
By following these steps, you will accurately count how many times each hour appears in your dataset.


To efficiently count how many times each hour occurs in the "Start Time" column (Column C) of your large dataset:

Using Pivot Table​

  1. Ensure Data Format Consistency:
    • Check that all time values in Column C are in a consistent format (e.g., "HH:MM").
    • Use text formatting or date/time formatting tools if necessary.
  2. Create a Pivot Table:
    • Select your entire dataset including headers.
    • Go to Insert > PivotTable.
    • In the PivotTable Fields pane:
      • Drag the "Start Time" field into the "Row Labels" area.
      • Drag the "Start Time" field again into the "Values" area.
      • Right-click on the field in the "Values" area and select "Value Field Settings".
      • Change the value field setting to "Count".
  3. Verify Results:
    • Review the pivot table output to ensure it accurately reflects the count of each hour.
    • Manually check a few entries to confirm accuracy.

Example Output​

Start TimeCount
9:001
12:001
17:002
18:002
By using a pivot table, you can efficiently summarize and count occurrences of each hour in your large dataset.
 

J.E.T.S

Lookahere mayne...
Joined
Nov 30, 2015
Messages
13,937
Reputation
3,487
Daps
57,158
Reppin
Atlanta/Memphis
My boy dumb as a box of rocks. :russ:

I learned this shyt in high school… & I skipped class most of the year lol
 

J.E.T.S

Lookahere mayne...
Joined
Nov 30, 2015
Messages
13,937
Reputation
3,487
Daps
57,158
Reppin
Atlanta/Memphis
To count how many times each hour occurs in the "Start Time" column (Column C) of your dataset:

Step-by-Step Instructions​

  1. Identify Unique Hours:
    • From your dataset, list all unique hours present in Column C.
      • Unique hours are: 9:00, 12:00, 17:00, and 18:00.
  2. Use COUNTIF Function:
    • Apply the COUNTIF function to count occurrences of each unique hour.
      text
      =COUNTIF(C:C, "9:00") # For counting occurrences of 9:00
      =COUNTIF(C:C, "12:00") # For counting occurrences of 12:00
      =COUNTIF(C:C, "17:00") # For counting occurrences of 17:00
      =COUNTIF(C:C, "18:00") # For counting occurrences of 18:00
  3. Verify Results:
    • Manually check a few entries to ensure accuracy.
    • Ensure there are no errors in your formulas or data range selections.

Example Output​

HourCount
9:001
12:001
17:002
18:002
By following these steps, you will accurately count how many times each hour appears in your dataset.


To efficiently count how many times each hour occurs in the "Start Time" column (Column C) of your large dataset:

Using Pivot Table​

  1. Ensure Data Format Consistency:
    • Check that all time values in Column C are in a consistent format (e.g., "HH:MM").
    • Use text formatting or date/time formatting tools if necessary.
  2. Create a Pivot Table:
    • Select your entire dataset including headers.
    • Go to Insert > PivotTable.
    • In the PivotTable Fields pane:
      • Drag the "Start Time" field into the "Row Labels" area.
      • Drag the "Start Time" field again into the "Values" area.
      • Right-click on the field in the "Values" area and select "Value Field Settings".
      • Change the value field setting to "Count".
  3. Verify Results:
    • Review the pivot table output to ensure it accurately reflects the count of each hour.
    • Manually check a few entries to confirm accuracy.

Example Output​

Start TimeCount
9:001
12:001
17:002
18:002
By using a pivot table, you can efficiently summarize and count occurrences of each hour in your large dataset.

Something like that.. but I ain’t telling him because he said mean words to me.
 

Silkk

Thats My Quarterback :to:
Joined
May 2, 2012
Messages
190,631
Reputation
19,220
Daps
481,900
My boy dumb as a box of rocks. :russ:

I learned this shyt in high school… & I skipped class most of the year lol
I took a college course on it. That was 7 years ago…..:comeon:








And you still the dude that fukks his cousin :hhh:
 

J.E.T.S

Lookahere mayne...
Joined
Nov 30, 2015
Messages
13,937
Reputation
3,487
Daps
57,158
Reppin
Atlanta/Memphis
I took a college course on it. That was 7 years ago…..:comeon:








And you still the dude that fukks his cousin :hhh:

Loud and wrong. & dumb. Wasn’t me fool.

My internet L’s was falling in love with bytches and my arms malfunctioned after working out too hard
 
Top