You can get the last column in a range with a formula based on the COLUMN function.
In the example shown, the formula in cell F5 is:
=MIN(COLUMN(data))+COLUMNS(data)-1
where data is a named range for B5:D10
How...

You can get the first column (i.e. the starting column number) in a range with a formula based on the COLUMN function.
In the example shown, the formula in cell F5 is:
=MIN(COLUMN(data))
where data is a named range...

Excel does not offer a "min if" function, so to get a minimum value based on criteria, you can use the MIN function together with the IF function.
This is an array formula and must be entered with Control + Shift +...

To calculate a percentage based value capped at a specific amount, you can use the MIN function.
In the example shown, the formula in D6 is:
=MIN(C6*10%,1000)
How this formula works
This formula takes advantage of...

To test if a numeric value falls between two numbers, you can use the AND function with two logical tests.
In the example shown, the formula in E5 is:
=AND(D5>MIN(B5,C5),D5<MAX(B5,C5))
How this formula...

You can get the first row (i.e. the starting row number) in a range with a formula based on the ROW function.
In the example shown, the formula in cell F5 is:
=MIN(ROW(data))
where data is a named range for B5:D10...

Context
You have a start time and an end time, and you want to know how many of the hours in between these two times overlap another time period in the day. For example, you want to know how many hours fall between 8:...

To get the position of the nth match (for example, the 2nd matching value, the 3rd matching value, etc.), you can use a formula based on the SMALL function.
In the example shown, the formula in G5 is:
=SMALL(IF(list=...

To lookup information associated with the lowest value in table, you can use a formula based on INDEX, MATCH, and MIN functions.
In the example shown, a formula is used to identify the name of the contractor with the...

To calculate the number of days that overlap in two date ranges, you can use basic date arithmetic, together with the the MIN and MAX functions.
In the example shown, the formula in D6 is:
=MAX(MIN(end,C6)-MAX(start,...