How to get last match

How to get last match

This article shows How to get last match by using MAX, MIN, IF and ROW functions. Excel’s array formula ability to evaluate formula for each cells in an array is key factor in this case. Syntax { =MAX( IF( data = search value, ROW( data ) – MIN( ROW( data...
How to find closest match

How to find closest match

This article shows How to find closest match by using INDEX, MATCH, ABS and MIN functions. Excel’s array formula ability to evaluate formula for each cells in an array is key factor in this case. Syntax { =INDEX( return array,      MATCH(         MIN(ABS( search...
How to sum every N rows

How to sum every N rows

You can sum tables, columns, but what how do you add up every third row? In this article, we’re going to show you how to sum every n rows using the SUM and the OFFSET functions. The OFFSET function’s ability to return range is the key in this case. Syntax...
How to count by week number

How to count by week number

To count by week number is a bit different than by month. Instead of finding the start and end dates of the date range, we focus on exact week number using the WEEKNUM function. Syntax =COUNTIFS( range of week number helper column, current week number) Steps Add a...
How to sum by week number

How to sum by week number

To sum by week number is a bit different than How to sum by month. Instead of finding start and end dates of date range, we focus on exact week number by using WEEKNUM function. Syntax =SUMIFS( range of values to sum, range of week number helper column, current week)...