ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Excel lookup and calculation (https://www.excelbanter.com/excel-worksheet-functions/16856-excel-lookup-calculation.html)

Spaz South Africa

Excel lookup and calculation
 
Hi
I want to look in a specific row a date that corresponds with a date that I
enter and then must calculate the total sum in that column. Please help
urgent.


Peo Sjoblom

A couple of ways, assume your table is called MyTable

=SUM(INDEX(MyTable,2,MATCH(A1,INDEX(MyTable,1,),0) ):INDEX(MyTable,COUNT(INDE
X(MyTable,,MATCH(A1,INDEX(MyTable,1,),0))),MATCH(A 1,INDEX(MyTable,1,),0)))

or


=SUM(OFFSET(MyTable,1,MATCH(A1,INDEX(MyTable,1,),0 )-1,COUNT(INDEX(MyTable,,M
ATCH(A1,INDEX(MyTable,1,),0)))-1,))



--

Regards,

Peo Sjoblom




"Spaz South Africa" <Spaz South wrote in
message ...
Hi
I want to look in a specific row a date that corresponds with a date that

I
enter and then must calculate the total sum in that column. Please help
urgent.





All times are GMT +1. The time now is 01:33 PM.

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