By: Joe

Hello –

Thank you for this article. It is really helpful for what I am trying to do. I do have a question:

Is it possible to use a range criteria to get multiple values in a single cell?

For example I have the follwoing table:

ROUTE MILE #OFLANES
10 15 2
10 20 2
10 25 3
10 30 3
10 35 1

The criteria is to inpute a range of miles and to extract the number of lanes found within that range.

If I chose miles 20-30, I would like to see “2,3,3” in a single cell. If I chose miles 25-35, I would like to see “3,3,1” in a single cell.

I am thinking the TEXTJOIN example you gave would be the idea function but I am unsure how to tell the IF function to look inside a range.
Hope you can help.

Thanks
Joe