ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How do you Sum the range of two lookup values? (https://www.excelbanter.com/excel-programming/311243-how-do-you-sum-range-two-lookup-values.html)

Sum the range of two lookup values?

How do you Sum the range of two lookup values?
 

This is my lookup function.
=LOOKUP("Next Accrual",A5:A25,C5:C25)
I need a formula that will add the range from C5 to the point where this
lookup function is satisfied.

Frank Kabel

How do you Sum the range of two lookup values?
 
Hi
try:
=SUM(OFFSET($C$5,0,0,MATCH("Next Accrual",A5:A25,0)))

--
Regards
Frank Kabel
Frankfurt, Germany


Sum the range of two lookup values? wrote:
This is my lookup function.
=LOOKUP("Next Accrual",A5:A25,C5:C25)
I need a formula that will add the range from C5 to the point where
this lookup function is satisfied.



All times are GMT +1. The time now is 12:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com