SUMIF Question

julesdr

New Member
Joined
Jan 5, 2018
Messages
7
I'm pretty sure I need to use the SUMIF equation to figure this out but I'm not really sure how...

I have a spreadsheet of all the running I've done throughout the year and I'd like to figure out how many 5k's I have run so far. My current spreadsheet looks like this:

DateMiTimePace
1/10:00:00
1/23.200:26:160:08:125k
1/31.000:07:390:07:39
1/41.000:07:450:07:45
1/50:00:00
1/60:00:00
1/73.200:25:550:08:065k
1/81.630:15:200:09:24Benchmark
1/91.000:07:120:07:12
1/103.500:29:320:08:265k+

<tbody>
</tbody>

<tbody>
</tbody>


I'd like to write a formula that finds all 5k/5k+ in the "D" column and adds ONE for each cell. For example, the equation should equal "3" based upon the shown spreadsheet.

I will be using this same formula to figure out Benchmark runs and 10ks in the future.

Thank you in advance!
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
There are 3 5K's already in this example. So, shouldn't be 4?

Or add 1 second to the times? Didn't get it
 
Last edited by a moderator:
Upvote 0
Correct, I have run 3 5k's as of 1/10.

My goal is to write an equation that somehow says "If Column D=5k(or 5k+) sum each cell with a value of 1," which (in the case of the above sheet) should return a value of 3. If I were to run another 5k on the 12th, the value would change to 4, and so on throughout the entire year.
 
Upvote 0
Ok, so I should've done a little bit more research before I posted the question. What I really needed was the
COUNTIF equation...

Code:
=COUNTIF(E:E, "5k*")
This solved my equation needs perfectly...
 
Upvote 0
You are not gonig to sum them, you must count them. Also it looks like it's Column E here.

=COUNTIFS(E:E,"5k*")
 
Last edited by a moderator:
Upvote 0

Forum statistics

Threads
1,213,562
Messages
6,114,326
Members
448,564
Latest member
ED38

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top