You can also use the subtotal function.
=SUMPRODUCT(SUBTOTAL(9,OFFSET(C2,ROW(C2:C22)-ROW(C2),,,1)),--(ISNUMBER(SEARCH("Hong Kong",B2:B22))))
adjust the range.
You can also use the subtotal function.
=SUMPRODUCT(SUBTOTAL(9,OFFSET(C2,ROW(C2:C22)-ROW(C2),,,1)),--(ISNUMBER(SEARCH("Hong Kong",B2:B22))))
adjust the range.
Cheers !
Excel Range to BBCode Table
Use Social Networking Tools If You Like the Answers !
Message to Cross Posters
@ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)
Bookmarks