#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Formula Madness

Hi!

Hope someone can help, I'm sure it's pretty easy to sort out.

I have an expenses spreadsheet. I have to make monthly totals from a
continuous spreadsheet. For example, on my worksheet 'Expenses', coloumn A is
a date in 01/01/07 format, and coloumn B is a total spent on the
corresponding date. On the next worksheet 'Monthly Totals' I have seperate
boxes for each month, Jan - Dec, and in each I obviously need to put a
formula that will basically create a total for each relevant month based on
the data from the expenses worksheet. So for January I'd be looking for a
formula that added up any items in coloumn B that fall within January.

Does that make sense? Very grateful for any help with this.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default Formula Madness

=SUMPRODUCT(--(Sheet1!A2:A20-DAY(Sheet1!A2:A20)+1=--"2007-01-01"),Sheet1!B2:B20)

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"IoHeFy" wrote in message
...
Hi!

Hope someone can help, I'm sure it's pretty easy to sort out.

I have an expenses spreadsheet. I have to make monthly totals from a
continuous spreadsheet. For example, on my worksheet 'Expenses', coloumn A
is
a date in 01/01/07 format, and coloumn B is a total spent on the
corresponding date. On the next worksheet 'Monthly Totals' I have seperate
boxes for each month, Jan - Dec, and in each I obviously need to put a
formula that will basically create a total for each relevant month based
on
the data from the expenses worksheet. So for January I'd be looking for a
formula that added up any items in coloumn B that fall within January.

Does that make sense? Very grateful for any help with this.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Formula Madness

Another way is to use a helper column, say C and put this in C1 and copy
down.....

=TEXT(A1,"mmmm")

Then use this in D1 for the answer.........

=SUMIF(C1:C10,"January",B1:B10)

Vaya con Dios,
Chuck, CABGx3




"IoHeFy" wrote:

Hi!

Hope someone can help, I'm sure it's pretty easy to sort out.

I have an expenses spreadsheet. I have to make monthly totals from a
continuous spreadsheet. For example, on my worksheet 'Expenses', coloumn A is
a date in 01/01/07 format, and coloumn B is a total spent on the
corresponding date. On the next worksheet 'Monthly Totals' I have seperate
boxes for each month, Jan - Dec, and in each I obviously need to put a
formula that will basically create a total for each relevant month based on
the data from the expenses worksheet. So for January I'd be looking for a
formula that added up any items in coloumn B that fall within January.

Does that make sense? Very grateful for any help with this.

Thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 06:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"