Complex Sum Help

McDan1el

Board Regular
Joined
Sep 14, 2007
Messages
89
Hey All,

Was wondering if you could help me out with an excel sheet - i have a way of doing what i want to achieve, but it is working out to be very difficult and "messy"

Basically i have a data input sheet which has the Day/Date and then loads of columns, from answered calls, lost calls, average talk times... the list goes on...

What i want to be able to do is on a front sheet have the user enter a date, which then causes the sheet to populate with the details for that date - now i know a VLOOKUP works fine, the problem is the date the enter is the week commencing date so i do not just want that line i want that line and the 6 beneath it all added up.

i.e

09/03 - 10
10/03 - 7
11/03 - 6
12/03 - 5
13/03 - 10
14/03 - 12
15/03 - 10

So when i type 09/03 in the "Week Commencing Box" it does not give me 10, but instead gives me 60.

Any one suggest what to do rather then having 7 VLOOKUPS?

Cheers,

Dan
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Try this maybe:
Book1
ABCDE
109/03/20091009/03/200960
210/03/20097
311/03/20096
412/03/20095
513/03/200910
614/03/200912
715/03/200910
816/03/200911
917/03/200913
1018/03/200912
1119/03/20097
1220/03/200913
1321/03/200913
1422/03/20095
1523/03/20095
Sheet1


Dom
 
Upvote 0
Why not just create a Pivot Table with the Page Field(Dates)grouped by Days(7)?

lenze
 
Upvote 0
Can you add a column to your data with something like:

Code:
=A1-WEEKDAY(A1,2)+1
which gives you the first day of the week

and then just use a SUMIF on the new column?
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,603
Members
449,089
Latest member
Motoracer88

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