Combining Lookup and SUM

geoffbird

New Member
Joined
Sep 25, 2013
Messages
11
I am having trouble trying to workout how to do the below.


W/E12/04/201419/04/201426/04/201403/05/201410/05/201417/05/201424/05/2014
Rev.200200200200200200200
Cost.100100100100100100100

<tbody>
</tbody>

I would like to combine a LOOKUP and SUM to say the following
Lookup a date in cell A1 within this table and sum Rev. from that date to column at end of the spreadsheet,


Hope this makes sense, Any help would be very much appreciated!!!!
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Perhaps (untested)

=SUMPRODUCT((Sheet1!A1<=Sheet2!B1:Sheet2!H1)*(Sheet2!B2:H2))

UPDATE: This seems to work.
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,399
Latest member
alchavar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top