Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 34
Default Choice of Formula

I have a spreadsheet (daily sales transactions) that contains three columns.
Column A is Sales Rep; Column B is date; Column C is sales.



Data consist of data from the beginning of the year ( say Jan1 2007) thru
today.



I would like to create a summary report in the following format:



Sales Rep Month Sales YTD Sales



I know I can use the sumif to get the year to date sales. What formula can I
use to get the month to date sales as I would need from say June 1 thru June
28?



Your help is greatly appreciated.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Choice of Formula

=Sumproduct(--(Sheet1!a2:a100=a2),--(month(Sheet1!b2:b100)=6),Sheet1!C2:c100)

Sheet1 contains your transactions

A2 is sales rep on summary

6 is month six (june)

HTH


"Naraine Ramkirath" wrote:

I have a spreadsheet (daily sales transactions) that contains three columns.
Column A is Sales Rep; Column B is date; Column C is sales.



Data consist of data from the beginning of the year ( say Jan1 2007) thru
today.



I would like to create a summary report in the following format:



Sales Rep Month Sales YTD Sales



I know I can use the sumif to get the year to date sales. What formula can I
use to get the month to date sales as I would need from say June 1 thru June
28?



Your help is greatly appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 34
Default Choice of Formula

Toppers,

that works great, but can I use this instead?

SUMPRODUCT(--(Sales!$A:$A=Report!B9),--(MONTH(Sales!$F:$F)=6),Sales!$D:$D)

i don't want to have to change the range each day.



"Toppers" wrote in message
...

=Sumproduct(--(Sheet1!a2:a100=a2),--(month(Sheet1!b2:b100)=6),Sheet1!C2:c100
)

Sheet1 contains your transactions

A2 is sales rep on summary

6 is month six (june)

HTH


"Naraine Ramkirath" wrote:

I have a spreadsheet (daily sales transactions) that contains three

columns.
Column A is Sales Rep; Column B is date; Column C is sales.



Data consist of data from the beginning of the year ( say Jan1 2007)

thru
today.



I would like to create a summary report in the following format:



Sales Rep Month Sales YTD Sales



I know I can use the sumif to get the year to date sales. What formula

can I
use to get the month to date sales as I would need from say June 1 thru

June
28?



Your help is greatly appreciated.





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Choice of Formula

No, not unless you use Excel 2007, why don't you just use something that you
will never reach like A1:A25000


--
Regards,

Peo Sjoblom



"Naraine Ramkirath" wrote in message
...
Toppers,

that works great, but can I use this instead?

SUMPRODUCT(--(Sales!$A:$A=Report!B9),--(MONTH(Sales!$F:$F)=6),Sales!$D:$D)

i don't want to have to change the range each day.



"Toppers" wrote in message
...

=Sumproduct(--(Sheet1!a2:a100=a2),--(month(Sheet1!b2:b100)=6),Sheet1!C2:c100
)

Sheet1 contains your transactions

A2 is sales rep on summary

6 is month six (june)

HTH


"Naraine Ramkirath" wrote:

I have a spreadsheet (daily sales transactions) that contains three

columns.
Column A is Sales Rep; Column B is date; Column C is sales.



Data consist of data from the beginning of the year ( say Jan1 2007)

thru
today.



I would like to create a summary report in the following format:



Sales Rep Month Sales YTD Sales



I know I can use the sumif to get the year to date sales. What formula

can I
use to get the month to date sales as I would need from say June 1 thru

June
28?



Your help is greatly appreciated.







  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 34
Default Choice of Formula

Peo, thanks. that works.
"Peo Sjoblom" wrote in message
...
No, not unless you use Excel 2007, why don't you just use something that

you
will never reach like A1:A25000


--
Regards,

Peo Sjoblom



"Naraine Ramkirath" wrote in message
...
Toppers,

that works great, but can I use this instead?


SUMPRODUCT(--(Sales!$A:$A=Report!B9),--(MONTH(Sales!$F:$F)=6),Sales!$D:$D)

i don't want to have to change the range each day.



"Toppers" wrote in message
...


=Sumproduct(--(Sheet1!a2:a100=a2),--(month(Sheet1!b2:b100)=6),Sheet1!C2:c100
)

Sheet1 contains your transactions

A2 is sales rep on summary

6 is month six (june)

HTH


"Naraine Ramkirath" wrote:

I have a spreadsheet (daily sales transactions) that contains three

columns.
Column A is Sales Rep; Column B is date; Column C is sales.



Data consist of data from the beginning of the year ( say Jan1 2007)

thru
today.



I would like to create a summary report in the following format:



Sales Rep Month Sales YTD Sales



I know I can use the sumif to get the year to date sales. What

formula
can I
use to get the month to date sales as I would need from say June 1

thru
June
28?



Your help is greatly appreciated.









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
Create formula to choose price based on previous choice. lindsielynette Excel Worksheet Functions 2 January 11th 07 01:55 AM
No Choice But To Post Here Outraged Excel Discussion (Misc queries) 3 March 19th 06 08:08 PM
URGENT - Help with choice of formula Piloulondon Excel Worksheet Functions 2 August 19th 05 07:06 PM
Is IF the best choice br0ke Excel Worksheet Functions 2 January 26th 05 02:19 PM
Applying a formula to a drop menu choice Andrew Hill Excel Discussion (Misc queries) 1 January 4th 05 11:05 AM


All times are GMT +1. The time now is 10:23 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"