Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pieman
 
Posts: n/a
Default Calculating monthly totals

Does anyone know the best formula for adding figures in a column that
correspond to each month of the year?

I have a sales register with the date of sale and commission on each row but
want to display the total commissions for each month of the current year on
one worksheet and monthly totals for previous year on athother worksheet.

Any ideas would be greatly appreciated.

Thanks
Simon

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Arvi Laanemets
 
Posts: n/a
Default Calculating monthly totals

Hi

To return summary commissions for January of current year
=SUMPRODUCT(--(MONTH(SaleDate)=1,--(YEAR(SaleDate)=YEAR(TODAY()),Commission)

The same for last year
=SUMPRODUCT(--(MONTH(SaleDate)=1,--(YEAR(SaleDate)=YEAR(TODAY()-1),Commissio
n)

Arvi Laanemets


"Pieman" wrote in message
...
Does anyone know the best formula for adding figures in a column that
correspond to each month of the year?

I have a sales register with the date of sale and commission on each row

but
want to display the total commissions for each month of the current year

on
one worksheet and monthly totals for previous year on athother worksheet.

Any ideas would be greatly appreciated.

Thanks
Simon



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pieman
 
Posts: n/a
Default Calculating monthly totals

Thanks Arvi, does SaleDate have to be replaced by the month required or is
that the column title?

Many thanks
Simon

"Arvi Laanemets" wrote:

Hi

To return summary commissions for January of current year
=SUMPRODUCT(--(MONTH(SaleDate)=1,--(YEAR(SaleDate)=YEAR(TODAY()),Commission)

The same for last year
=SUMPRODUCT(--(MONTH(SaleDate)=1,--(YEAR(SaleDate)=YEAR(TODAY()-1),Commissio
n)

Arvi Laanemets


"Pieman" wrote in message
...
Does anyone know the best formula for adding figures in a column that
correspond to each month of the year?

I have a sales register with the date of sale and commission on each row

but
want to display the total commissions for each month of the current year

on
one worksheet and monthly totals for previous year on athother worksheet.

Any ideas would be greatly appreciated.

Thanks
Simon




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Arvi Laanemets
 
Posts: n/a
Default Calculating monthly totals

Hi

SaleDate and Commission are ranges, where sale dates and commission figures
are stored. You can use there range references or named ranges. NB. Both
ranges SaleDates and Commission MUST be of same dimension.

When SalaDate doesn't contain valid format dates, then you have to modify
the formula - how, depends on your data then.


Arvi Laanemets


"Pieman" wrote in message
...
Thanks Arvi, does SaleDate have to be replaced by the month required or is
that the column title?

Many thanks
Simon

"Arvi Laanemets" wrote:

Hi

To return summary commissions for January of current year

=SUMPRODUCT(--(MONTH(SaleDate)=1,--(YEAR(SaleDate)=YEAR(TODAY()),Commission)

The same for last year

=SUMPRODUCT(--(MONTH(SaleDate)=1,--(YEAR(SaleDate)=YEAR(TODAY()-1),Commissio
n)

Arvi Laanemets


"Pieman" wrote in message
...
Does anyone know the best formula for adding figures in a column that
correspond to each month of the year?

I have a sales register with the date of sale and commission on each

row
but
want to display the total commissions for each month of the current

year
on
one worksheet and monthly totals for previous year on athother

worksheet.

Any ideas would be greatly appreciated.

Thanks
Simon






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pieman
 
Posts: n/a
Default Calculating monthly totals

Avri, thanks for explaining that.

I have entered the following formula for the current year:
=SUMPRODUCT("--(MONTH(Websites!B5:B31)=01,--(YEAR(Websites!B5:B31)=YEAR(TODAY()),Websites!R5:R 31)")
but I just get #VALUE! in the cell where the monthly commission total should
be displayed.

Have you any ideas why this is?

Thanks
Simon

"Arvi Laanemets" wrote:

Hi

SaleDate and Commission are ranges, where sale dates and commission figures
are stored. You can use there range references or named ranges. NB. Both
ranges SaleDates and Commission MUST be of same dimension.

When SalaDate doesn't contain valid format dates, then you have to modify
the formula - how, depends on your data then.


Arvi Laanemets


"Pieman" wrote in message
...
Thanks Arvi, does SaleDate have to be replaced by the month required or is
that the column title?

Many thanks
Simon

"Arvi Laanemets" wrote:

Hi

To return summary commissions for January of current year

=SUMPRODUCT(--(MONTH(SaleDate)=1,--(YEAR(SaleDate)=YEAR(TODAY()),Commission)

The same for last year

=SUMPRODUCT(--(MONTH(SaleDate)=1,--(YEAR(SaleDate)=YEAR(TODAY()-1),Commissio
n)

Arvi Laanemets


"Pieman" wrote in message
...
Does anyone know the best formula for adding figures in a column that
correspond to each month of the year?

I have a sales register with the date of sale and commission on each

row
but
want to display the total commissions for each month of the current

year
on
one worksheet and monthly totals for previous year on athother

worksheet.

Any ideas would be greatly appreciated.

Thanks
Simon









  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Arvi Laanemets
 
Posts: n/a
Default Calculating monthly totals

Hi

=SUMPRODUCT(--(MONTH(Websites!B5:B31)=1),--(YEAR(Websites!B5:B31)=YEAR(TODAY
())),Websites!R5:R31)


Arvi Laanemets



"Pieman" wrote in message
...
Avri, thanks for explaining that.

I have entered the following formula for the current year:

=SUMPRODUCT("--(MONTH(Websites!B5:B31)=01,--(YEAR(Websites!B5:B31)=YEAR(TODA
Y()),Websites!R5:R31)")
but I just get #VALUE! in the cell where the monthly commission total

should
be displayed.

Have you any ideas why this is?

Thanks
Simon

"Arvi Laanemets" wrote:

Hi

SaleDate and Commission are ranges, where sale dates and commission

figures
are stored. You can use there range references or named ranges. NB. Both
ranges SaleDates and Commission MUST be of same dimension.

When SalaDate doesn't contain valid format dates, then you have to

modify
the formula - how, depends on your data then.


Arvi Laanemets


"Pieman" wrote in message
...
Thanks Arvi, does SaleDate have to be replaced by the month required

or is
that the column title?

Many thanks
Simon

"Arvi Laanemets" wrote:

Hi

To return summary commissions for January of current year


=SUMPRODUCT(--(MONTH(SaleDate)=1,--(YEAR(SaleDate)=YEAR(TODAY()),Commission)

The same for last year


=SUMPRODUCT(--(MONTH(SaleDate)=1,--(YEAR(SaleDate)=YEAR(TODAY()-1),Commissio
n)

Arvi Laanemets


"Pieman" wrote in message
...
Does anyone know the best formula for adding figures in a column

that
correspond to each month of the year?

I have a sales register with the date of sale and commission on

each
row
but
want to display the total commissions for each month of the

current
year
on
one worksheet and monthly totals for previous year on athother

worksheet.

Any ideas would be greatly appreciated.

Thanks
Simon









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
Collecting weekly and monthly totals from daily data Kasper Excel Worksheet Functions 0 January 12th 06 08:02 PM
Calculating totals Blissfully Ignorant Excel Discussion (Misc queries) 1 December 6th 05 04:03 PM
How do I sum YTD totals based on monthly totals Bsgrad02 Excel Discussion (Misc queries) 3 July 12th 05 04:59 PM
How do I forecast monthly and annual totals from previous year's . Jeff Hart Excel Worksheet Functions 0 April 1st 05 07:19 PM
Displaying YTD totals as you populate monthly information SLSTAR Excel Worksheet Functions 1 March 19th 05 03:46 AM


All times are GMT +1. The time now is 05:55 AM.

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"