I have a spreadsheet with two columns. A is a column with a series of dates, only showing weekdays. Column B contains numbers corresponding to the date it is next to in column A. I would Like to add a third column that is for Weekly Totals.
How can I make it so that when I type in the numbers next to each date, it will automatically add them and create a total for that week (5 weekdays) in column C. Essentially column C would only have a number every 5 rows showing the total.
Thank you!
How about something like this example...
I used column D as a helper column...
Last edited by jeffreybrown; 02-10-2012 at 06:13 PM.
HTH
Regards, Jeff
If you like the answer(s) provided, why not add some reputation by clicking the * below
Please use [ Code ] tags when posting [ /Code ]
Please view/read the Forum rules --- How to mark a thread as solved
Jeff,
Thank you for your response. I am not good with excel; I don't know how to incorporate what you did into my exisitng workbook. I was hoping there was a macro I could just paste in. Can you please explain what you did.
THANKS!
I used the WEEKNUM function in a helper column to return the week number, then used Sumif to Sum up the amount by week number. I'm sure somebody could offer a formula without the need to use a helper column, but sometimes using a helper column is not all that bad.
If this does not work for you then you should attach a sample workbook with what you have and what you desire. Macro's are fine, but if there is a native worksheet formula then ofter times this is the best and most efficient choice unless you workbook structure does not cooperate.
HTH
Regards, Jeff
If you like the answer(s) provided, why not add some reputation by clicking the * below
Please use [ Code ] tags when posting [ /Code ]
Please view/read the Forum rules --- How to mark a thread as solved
As per Jeff's example, this may help you.
HTH; Haseeb
If your problem is solved, please say so clearly, and mark your thread as Solved:
Forum Rules & How to Mark a thread as SOLVED
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks