Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mark_King
 
Posts: n/a
Default Need help producing simple sales figures

Hi all - hope somebody can help with this dilema!

I have a worksheet and wondered if anybody could help with this problem:

Column A:A contains a date (within 2005).
Next to each date in column B:B contains a persons name either Bob, Dave or
Andy, again throughout the entire column.

These 2 columns represent who got a sale on a particular date, I want a
formula that will add up the number of sales for each person for each month.

For the next 12 columns (for each of the 12 months) I want each column to
tell me the total number of Bob's there are for January, how many Dave's
there are in January, and how many Andy's there are in January, and so on
for the rest of the columns for the remaining months.

Is there are formula that could calculate the number of times a persons name
appears within a certain month.

I would like to avoid using the 'Sort...' function from the 'Tools' Menu if
possible.


Does anybody have any ideas on how this can be done.

Many thanks for your help in advance.
Mark


  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Assuming C1 holds a date, like 01-Jan-2005 then in C2

=SUMPRODUCT(--(MONTH($A$2:$A$1000)=MONTH(C$2)),--($B$2:$B$1000="Bob"))

etc down C. YOu can copy acroos the columns.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Mark_King" wrote in message
...
Hi all - hope somebody can help with this dilema!

I have a worksheet and wondered if anybody could help with this problem:

Column A:A contains a date (within 2005).
Next to each date in column B:B contains a persons name either Bob, Dave

or
Andy, again throughout the entire column.

These 2 columns represent who got a sale on a particular date, I want a
formula that will add up the number of sales for each person for each

month.

For the next 12 columns (for each of the 12 months) I want each column to
tell me the total number of Bob's there are for January, how many Dave's
there are in January, and how many Andy's there are in January, and so on
for the rest of the columns for the remaining months.

Is there are formula that could calculate the number of times a persons

name
appears within a certain month.

I would like to avoid using the 'Sort...' function from the 'Tools' Menu

if
possible.


Does anybody have any ideas on how this can be done.

Many thanks for your help in advance.
Mark




  #3   Report Post  
Mark_King
 
Posts: n/a
Default

That's absolutly fantastic Bob, that's exactly what I'm looking for and it
works fantastic.

Thanks so much for your help!

Mark
"Bob Phillips" wrote in message
...
Assuming C1 holds a date, like 01-Jan-2005 then in C2

=SUMPRODUCT(--(MONTH($A$2:$A$1000)=MONTH(C$2)),--($B$2:$B$1000="Bob"))

etc down C. YOu can copy acroos the columns.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Mark_King" wrote in message
...
Hi all - hope somebody can help with this dilema!

I have a worksheet and wondered if anybody could help with this problem:

Column A:A contains a date (within 2005).
Next to each date in column B:B contains a persons name either Bob, Dave

or
Andy, again throughout the entire column.

These 2 columns represent who got a sale on a particular date, I want a
formula that will add up the number of sales for each person for each

month.

For the next 12 columns (for each of the 12 months) I want each column to
tell me the total number of Bob's there are for January, how many Dave's
there are in January, and how many Andy's there are in January, and so on
for the rest of the columns for the remaining months.

Is there are formula that could calculate the number of times a persons

name
appears within a certain month.

I would like to avoid using the 'Sort...' function from the 'Tools' Menu

if
possible.


Does anybody have any ideas on how this can be done.

Many thanks for your help in advance.
Mark






  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

Wow. Thanks, its my pleasure :-)

Bob


"Mark_King" wrote in message
...
That's absolutly fantastic Bob, that's exactly what I'm looking for and it
works fantastic.

Thanks so much for your help!

Mark
"Bob Phillips" wrote in message
...
Assuming C1 holds a date, like 01-Jan-2005 then in C2

=SUMPRODUCT(--(MONTH($A$2:$A$1000)=MONTH(C$2)),--($B$2:$B$1000="Bob"))

etc down C. YOu can copy acroos the columns.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Mark_King" wrote in message
...
Hi all - hope somebody can help with this dilema!

I have a worksheet and wondered if anybody could help with this

problem:

Column A:A contains a date (within 2005).
Next to each date in column B:B contains a persons name either Bob,

Dave
or
Andy, again throughout the entire column.

These 2 columns represent who got a sale on a particular date, I want a
formula that will add up the number of sales for each person for each

month.

For the next 12 columns (for each of the 12 months) I want each column

to
tell me the total number of Bob's there are for January, how many

Dave's
there are in January, and how many Andy's there are in January, and so

on
for the rest of the columns for the remaining months.

Is there are formula that could calculate the number of times a persons

name
appears within a certain month.

I would like to avoid using the 'Sort...' function from the 'Tools'

Menu
if
possible.


Does anybody have any ideas on how this can be done.

Many thanks for your help in advance.
Mark








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
formula to calculate sales tax from total sales Deanna Excel Worksheet Functions 7 October 5th 05 08:57 PM
How do i sum vales of sales falling between certain time periods the_kane Excel Worksheet Functions 6 March 9th 05 11:09 AM
Help with sales chart kim Charts and Charting in Excel 1 January 20th 05 02:38 PM
Complex Sales Tax Robert Excel Worksheet Functions 8 January 12th 05 07:47 PM
Help with Commission forumlas asdfasdf Excel Worksheet Functions 6 November 15th 04 05:28 PM


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