lookup and sum

sd8

New Member
Joined
Nov 3, 2004
Messages
10
"Sheet1"
a b c d
date parts surplus total
2011/04/10 $2500000 $150000 $2650000
2011/04/11 $2000000 $150000 $2150000
2011/04/12 etc
2011/04/13 etc
2011/04/14 etc
2011/04/15 etc
2011/04/16 etc
...

"Sheet1"
f g h i
date parts surplus total
2011/04/16 $XXX $XXX $XXX
2011/04/23 etc

in column "a" i have dates listed daily with corresponding values for parts, surplus, and total inventory values. I am trying to find a way to have column "f" (or a new sheet) sum the daily value into a weekending value (ie. "f" date is weekending and lookup "a" and sum that weeks values for each column). weeks are sunday to saturday (ex. 04/10 - 04/16).

a lookup and summary of the week in a new table... if that makes sense.

thanks
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
"Sheet1"
a b c d
date parts surplus total
2011/04/10 $2500000 $150000 $2650000
2011/04/11 $2000000 $150000 $2150000
2011/04/12 etc
2011/04/13 etc
2011/04/14 etc
2011/04/15 etc
2011/04/16 etc
...

"Sheet1"
f g h i
date parts surplus total
2011/04/16 $XXX $XXX $XXX
2011/04/23 etc

in column "a" i have dates listed daily with corresponding values for parts, surplus, and total inventory values. I am trying to find a way to have column "f" (or a new sheet) sum the daily value into a weekending value (ie. "f" date is weekending and lookup "a" and sum that weeks values for each column). weeks are sunday to saturday (ex. 04/10 - 04/16).

a lookup and summary of the week in a new table... if that makes sense.

thanks
What version of Excel are you using?
 
Upvote 0
excel 2010
Ok, if you have the weekending dates listed starting in F2...

Enter this formula in G2:

=SUMIFS(B$2:B$8,$A$2:$A$8,">="&$F2-6,$A$2:$A$8,"<="&$F2)

Copy across to I2 then down as needed.
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,258
Members
452,901
Latest member
LisaGo

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