ThisCalculator

Everyday

Excel Auto Hide Columns by Date: How To

Updated · Standard formula, shown below

Average pace 5.00 min/km
Average speed
12.00 km/h
Result
Finish time
50 min
You entered
Distance
10 km
You entered

Excel Auto Hide Columns by Date: How To

Yes, Excel can automatically hide columns based on a date, but there is no single built-in command that does it. You can achieve the effect with a combination of conditional formatting, a small VBA macro, or by using Excel’s table and filter features. This article explains the practical methods, their limitations, and how to choose the right one for your data.

Formula

This calculator works out your average pace and speed for a run or ride. You enter the finish time in minutes and the distance in kilometers. The calculator returns your average pace in minutes per kilometer and your average speed in kilometers per hour.

The formulas are:

  • Pace (min/km) = Finish time (min) ÷ Distance (km)
  • Speed (km/h) = Distance (km) ÷ (Finish time (min) ÷ 60)

Where:

  • t = finish time in minutes
  • d = distance in kilometers

Worked Example

Using the default values from the calculator (t = 50 minutes, d = 10 km):

  1. Pace = 50 ÷ 10 = 5.00 min/km
  2. Speed = 10 ÷ (50 ÷ 60) = 10 ÷ 0.8333 = 12.00 km/h

The calculator shows a pace of 5.00 min/km and a speed of 12.00 km/h for those inputs.

When to Use This Calculator

Use this calculator when you want to compare training sessions, plan a race pace, or simply know your average speed for a commute or hike. It works for any distance and time combination, as long as you keep the units consistent (minutes and kilometers, or convert to miles and hours).

How to Read the Result

A lower pace (min/km) means you are faster. A higher speed (km/h) also means you are faster. For example, a pace of 4:30 min/km is faster than 5:00 min/km, and the corresponding speed will be higher. The two numbers are two different ways of expressing the same performance.

Common Mistakes

  • Mixing units: If you enter time in minutes but distance in miles, the pace will be in min/mile, not min/km. Convert distance to kilometers or time to hours first.
  • Using seconds: If you enter time in seconds, the pace will be in seconds per kilometer, which is not standard. Convert to minutes by dividing by 60.
  • Rounding too early: If you round the pace to one decimal place before calculating speed, you may get a slightly different speed. Keep full precision until the final answer.

Limitations of the Formula

The formula assumes constant speed throughout the activity. Real runs have hills, stops, and changes in pace. The result is an average, not a description of every segment. Also, the formula does not account for elevation gain, weather, or rest breaks, so it is best used for flat, steady efforts.

Frequently Asked Questions

Can I use this for miles?

Yes. If you enter distance in miles and time in minutes, the pace will be in minutes per mile. The speed will be in miles per hour if you divide distance by (time/60) – the same formula works with any consistent distance unit.

How do I convert pace to speed?

Speed = 60 ÷ pace (when pace is in minutes per kilometer). For example, a 5:00 min/km pace gives 60 ÷ 5 = 12 km/h. This calculator does that conversion for you.

What if I run 5 km in 25 minutes?

Enter t = 25, d = 5. The pace is 25 ÷ 5 = 5.00 min/km, and speed is 5 ÷ (25/60) = 12.00 km/h. The same pace as the default example, but for a shorter distance.

Why is my speed not exactly 60 divided by pace?

It is exactly that, but rounding can make it look slightly off. For example, if pace is 5.00 min/km, 60/5 = 12.00 exactly. If pace is 5.03, then 60/5.03 = 11.93, which rounds to 11.93 km/h.

Can I enter time in hours and minutes?

Yes, but convert to minutes first. For 1 hour 10 minutes, enter 70 minutes. The calculator only accepts a single number for time in minutes.

What is a good pace for a beginner?

There is no single answer – it depends on age, fitness, and terrain. A common beginner jogging pace is around 6:30 to 8:00 min/km (7.5 to 9.2 km/h). Use this calculator to track your own progress rather than comparing to others.

Related

Formula used
in t | Finish time | min | 50 | 0
in d | Distance | km | 10 | 0
out pace | Average pace | min/km | t / d | 2
out speed | Average speed | km/h | d / (t / 60) | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.