![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: May 2002
Posts: 54
|
I have columns like below
01/02/2002 50 01/02/2002 25 01/05/2002 30 20/05/2002 60 01/06/2002 70 etc I need to do a count of the qty's by date. total before todays date total within the next week then every week after that Any ideas?? I have tried datevalue, but it needs the actual date. I want it to look into the cell and recognise the date something like cell A1:A10 < 17/05/2002 Thanks |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,319
|
Quote:
for a total before today. =SUMIF((A2:A10,">=&TODAY(),B2:B10)-SUMIF(A2:A10,">"&TODAY()+7,B2:B10) for a total within the next week. Etc. [ This Message was edited by: Aladin Akyurek on 2002-05-18 13:24 ] |
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: May 2002
Posts: 54
|
Thanks the first 1 works, but the second gives me everything in the future.
How do I split the future down to the ones in the next 7 days and then a count of 7-14 days and 14-21 days etc |
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Apr 2002
Location: Vancouver BC , Canada
Posts: 6,259
|
Do you want to create an sheet that would show each week or do you just want to be able to enter a date and have the weeks total show in one cell ?
|
|
|
|
|
|
#5 |
|
Board Regular
Join Date: May 2002
Posts: 54
|
Thanks the first 1 works, but the second gives me everything in the future.
How do I split the future down to the ones in the next 7 days and then a count of 7-14 days and 14-21 days etc |
|
|
|
|
|
#6 |
|
Board Regular
Join Date: May 2002
Posts: 54
|
What I would like to show is
Overdue 200 next week 50 7 - 14 days 20 14 -21 days 30 Thanks |
|
|
|
|
|
#7 |
|
MrExcel MVP
Join Date: Apr 2002
Location: Vancouver BC , Canada
Posts: 6,259
|
Have you thought of creating a Subtotal by week using the Toolbar..Data..subtotals command ?
1- if dates are in colmnA and Totals in colB put the forumal =WEEKNUM(A1) in columnc. 2- goto Toolbar..Data..subtotals and Sum at each change of Column C
__________________
<MARQUEE>...........Never be afraid to try something new. Remember, amateurs built the ark, professionals built the Titanic...............The easiest thing to find is fault, don't be easy !.. --Anonymous--...</marquee> |
|
|
|
|
|
#8 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,319
|
Quote:
|
|
|
|
|
|
|
#9 |
|
Board Regular
Join Date: May 2002
Posts: 54
|
Thanks to both, I will go and play
Many thanks |
|
|
|
|
|
#10 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,319
|
Quote:
To see the formula in the cells just click on the cells hyperlink The above image was automatically generated by [HtmlMaker V1.22] If you want this code, click here and Colo will email the file to you. This code was graciously allowed to be modified: by Ivan F Moala All credit to Colo Aladin |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|