Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
the_kane
 
Posts: n/a
Default How do i sum vales of sales falling between certain time periods

in column A is list of dates populated each day of the year from jan 1st to
dec 31st. And In column b i have the sales $ for that day. there is more than
1 sales entry for each day, hence multiple entries using the same date.

How do i have a summary table that shows only total sales between certain
time periods. eg march, or may

Eg, only sales from Column B, matching the date in colum A between 1-mar-05
and 31-mar05.

I was thinking: TO SUM SALES VALUES FROM COLUMN H1:H365 ONLY IF(A1:A365,
= 1 MAR 05 AND <=31 MAR 05

  #2   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

=SUMIF(DateRange,"="&X2,SumRange)-SUMIF(DateRange,""&Y2,SumRange)

where X2 is a true date like 1-Mar-05 and Y2 is either 31-Mar-05 or
computed from X2 with:

=DATE(YEAR(X2),MONTH(X2)+1,0)

the_kane wrote:
in column A is list of dates populated each day of the year from jan 1st to
dec 31st. And In column b i have the sales $ for that day. there is more than
1 sales entry for each day, hence multiple entries using the same date.

How do i have a summary table that shows only total sales between certain
time periods. eg march, or may

Eg, only sales from Column B, matching the date in colum A between 1-mar-05
and 31-mar05.

I was thinking: TO SUM SALES VALUES FROM COLUMN H1:H365 ONLY IF(A1:A365,

= 1 MAR 05 AND <=31 MAR 05

  #3   Report Post  
Max
 
Posts: n/a
Default

I was thinking: TO SUM SALES VALUES FROM COLUMN
H1:H365 ONLY IF(A1:A365, = 1 MAR 05
AND <=31 MAR 05


Assuming dates are in col A,

Try: =SUMPRODUCT(--(MONTH(A1:A365)=3),H1:H365)

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"the_kane" wrote in message
...
in column A is list of dates populated each day of the year from jan 1st

to
dec 31st. And In column b i have the sales $ for that day. there is more

than
1 sales entry for each day, hence multiple entries using the same date.

How do i have a summary table that shows only total sales between certain
time periods. eg march, or may

Eg, only sales from Column B, matching the date in colum A between

1-mar-05
and 31-mar05.

I was thinking: TO SUM SALES VALUES FROM COLUMN H1:H365 ONLY IF(A1:A365,
= 1 MAR 05 AND <=31 MAR 05



  #4   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try one of these:

=SUMPRODUCT(--(A1:A15=DATE(2005,3,1)),--(A1:A15<=DATE
(2005,3,31)),B1:B15)

Or, use cells to hold your date ranges:

D1 = 3/1/2205
E1 = 3/31/2005

=SUMPRODUCT(--(A1:A15=D1),--(A1:A15<=E1),B1:B15)

Biff

-----Original Message-----
in column A is list of dates populated each day of the

year from jan 1st to
dec 31st. And In column b i have the sales $ for that

day. there is more than
1 sales entry for each day, hence multiple entries using

the same date.

How do i have a summary table that shows only total sales

between certain
time periods. eg march, or may

Eg, only sales from Column B, matching the date in colum

A between 1-mar-05
and 31-mar05.

I was thinking: TO SUM SALES VALUES FROM COLUMN H1:H365

ONLY IF(A1:A365,
= 1 MAR 05 AND <=31 MAR 05

.

  #5   Report Post  
Biff
 
Posts: n/a
Default

Hi Aladin!

I was wondering if you could take a look at a solution I
came up with to a post in the MISC group.

The subject line is: Reverse MATCH Function
Posted on March 8 2005 2:29 PM

It is very similar to that post from a couple of days ago
in which I used a SMALL array formula.

I would like to see what you would do with that post.

Biff

-----Original Message-----
=SUMIF(DateRange,"="&X2,SumRange)-SUMIF

(DateRange,""&Y2,SumRange)

where X2 is a true date like 1-Mar-05 and Y2 is either 31-

Mar-05 or
computed from X2 with:

=DATE(YEAR(X2),MONTH(X2)+1,0)

the_kane wrote:
in column A is list of dates populated each day of the

year from jan 1st to
dec 31st. And In column b i have the sales $ for that

day. there is more than
1 sales entry for each day, hence multiple entries

using the same date.

How do i have a summary table that shows only total

sales between certain
time periods. eg march, or may

Eg, only sales from Column B, matching the date in

colum A between 1-mar-05
and 31-mar05.

I was thinking: TO SUM SALES VALUES FROM COLUMN

H1:H365 ONLY IF(A1:A365,

= 1 MAR 05 AND <=31 MAR 05

.



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

=SUMPRODUCT(--(A1:A200=--"2005-03-01"),--(A1:A200<="2005-03-31")

etc.

--

HTH

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


"the_kane" wrote in message
...
in column A is list of dates populated each day of the year from jan 1st

to
dec 31st. And In column b i have the sales $ for that day. there is more

than
1 sales entry for each day, hence multiple entries using the same date.

How do i have a summary table that shows only total sales between certain
time periods. eg march, or may

Eg, only sales from Column B, matching the date in colum A between

1-mar-05
and 31-mar05.

I was thinking: TO SUM SALES VALUES FROM COLUMN H1:H365 ONLY IF(A1:A365,
= 1 MAR 05 AND <=31 MAR 05



  #7   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Tue, 8 Mar 2005 21:39:04 -0800, "the_kane"
wrote:

in column A is list of dates populated each day of the year from jan 1st to
dec 31st. And In column b i have the sales $ for that day. there is more than
1 sales entry for each day, hence multiple entries using the same date.

How do i have a summary table that shows only total sales between certain
time periods. eg march, or may

Eg, only sales from Column B, matching the date in colum A between 1-mar-05
and 31-mar05.

I was thinking: TO SUM SALES VALUES FROM COLUMN H1:H365 ONLY IF(A1:A365,
= 1 MAR 05 AND <=31 MAR 05


In addition to the posted solutions, you could also investigate the use of a
Pivot Table. You would be able to group the sales by months.


--ron
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
Formula help in a monthly sales report. chevyman Excel Worksheet Functions 4 February 13th 05 03:05 PM
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 12:30 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"