Put this formula in B21:
Formula:
=B5
and copy down. Incidentally, you must ensure that you have no spurious spaces in cell B5 to B7 - there is a single space after "Internet". Or, you could change the formula to this:
Formula:
=TRIM(B5)
Then you can have this formula in C21:
Formula:
=SUMIF(C$12:C$16,B21,D$12:D$16)
and this array* formula in D21:
Formula:
=MIN(IF((C$12:C$16=B21)*(C$12:C$16>TODAY()),E$12:E$16))
then copy these down.
*An array formula needs to be committed using the key combination of Ctrl-Shift-Enter (CSE), instead of the usual <Enter>.
Hope this helps.
Pete
Bookmarks