Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
zach f
 
Posts: n/a
Default how do i use the sum if formula with a date range?

Hello, I am trying to sum the total $ amount we are paying on an invoice by
month. I have things on this invoice that go back to January 2004. My dates
are in cells Y2:Y1211 and my totals are in cells AC2:AC1211. I am trying to
do this on a seperate worksheet from all of my data.

Thanks
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
do you mean
=SUMIF(Y2:Y1211,"=" & DATE(2004,1,1),AC2:AC1211)-SUMIF(Y2:Y1211,"=" &
DATE(2004,2,1),AC2:AC1211)

For getting the January values

"zach f" wrote:

Hello, I am trying to sum the total $ amount we are paying on an invoice by
month. I have things on this invoice that go back to January 2004. My dates
are in cells Y2:Y1211 and my totals are in cells AC2:AC1211. I am trying to
do this on a seperate worksheet from all of my data.

Thanks

  #3   Report Post  
mzehr
 
Posts: n/a
Default

Hi,
You might consider using a pivot table to summarize your data, and then
group it by month. For help in getting started setting up your pivot tables
consider the following sites:
http://peltiertech.com/Excel/Pivots/pivotstart.htm
http://www.cpearson.com/excel/pivots.htm
http://www.contextures.com/xlPivot02.html
http://www.contextures.com/xlPivot01.html
http://www.ozgrid.com/Excel/excel-pivot-tables.htm


"zach f" wrote:

Hello, I am trying to sum the total $ amount we are paying on an invoice by
month. I have things on this invoice that go back to January 2004. My dates
are in cells Y2:Y1211 and my totals are in cells AC2:AC1211. I am trying to
do this on a seperate worksheet from all of my data.

Thanks

  #4   Report Post  
zach f
 
Posts: n/a
Default

Well I am not sure I have keyed what I think is the same thing you have below
and I am getting an error message at the AC1211 (The 1st AC1211)...

"Frank Kabel" wrote:

Hi
do you mean
=SUMIF(Y2:Y1211,"=" & DATE(2004,1,1),AC2:AC1211)-SUMIF(Y2:Y1211,"=" &
DATE(2004,2,1),AC2:AC1211)

For getting the January values

"zach f" wrote:

Hello, I am trying to sum the total $ amount we are paying on an invoice by
month. I have things on this invoice that go back to January 2004. My dates
are in cells Y2:Y1211 and my totals are in cells AC2:AC1211. I am trying to
do this on a seperate worksheet from all of my data.

Thanks

  #5   Report Post  
JulieD
 
Posts: n/a
Default

Hi Zach

if you're "trying to do this on a seperate worksheet from all of [your]
data." you need to include the sheet names in the ranges e.g.
=SUMIF(Sheet1!Y2:Y1211,"=" &
DATE(2004,1,1),Sheet1!AC2:AC1211)-SUMIF(Sheet1!Y2:Y1211,"=" &
DATE(2004,2,1),Sheet1!AC2:AC1211)

Cheers
JulieD

"zach f" wrote in message
...
Well I am not sure I have keyed what I think is the same thing you have
below
and I am getting an error message at the AC1211 (The 1st AC1211)...

"Frank Kabel" wrote:

Hi
do you mean
=SUMIF(Y2:Y1211,"=" & DATE(2004,1,1),AC2:AC1211)-SUMIF(Y2:Y1211,"=" &
DATE(2004,2,1),AC2:AC1211)

For getting the January values

"zach f" wrote:

Hello, I am trying to sum the total $ amount we are paying on an
invoice by
month. I have things on this invoice that go back to January 2004. My
dates
are in cells Y2:Y1211 and my totals are in cells AC2:AC1211. I am
trying to
do this on a seperate worksheet from all of my data.

Thanks





  #6   Report Post  
zach f
 
Posts: n/a
Default

Correct. I will eventually put it on a seperate spreadsheet but until I get
the formula to work i am putting it on the same worksheet that all my data is
on.

Zach

"JulieD" wrote:

Hi Zach

if you're "trying to do this on a seperate worksheet from all of [your]
data." you need to include the sheet names in the ranges e.g.
=SUMIF(Sheet1!Y2:Y1211,"=" &
DATE(2004,1,1),Sheet1!AC2:AC1211)-SUMIF(Sheet1!Y2:Y1211,"=" &
DATE(2004,2,1),Sheet1!AC2:AC1211)

Cheers
JulieD

"zach f" wrote in message
...
Well I am not sure I have keyed what I think is the same thing you have
below
and I am getting an error message at the AC1211 (The 1st AC1211)...

"Frank Kabel" wrote:

Hi
do you mean
=SUMIF(Y2:Y1211,"=" & DATE(2004,1,1),AC2:AC1211)-SUMIF(Y2:Y1211,"=" &
DATE(2004,2,1),AC2:AC1211)

For getting the January values

"zach f" wrote:

Hello, I am trying to sum the total $ amount we are paying on an
invoice by
month. I have things on this invoice that go back to January 2004. My
dates
are in cells Y2:Y1211 and my totals are in cells AC2:AC1211. I am
trying to
do this on a seperate worksheet from all of my data.

Thanks




  #7   Report Post  
JulieD
 
Posts: n/a
Default

Hi Zach

could you copy & paste your formula into a post as there appears (to me) to
be nothing wrong with the formula Frank has give you. Additionally, what
version of excel are you using - if it's 2002 or 2003 there's a handy tool
under tools / formula auditing / evaluate formula
which you can use to step through a formula to see where it goes wrong ..
maybe that will give you a clue.

Cheers
JulieD

"zach f" wrote in message
...
Correct. I will eventually put it on a seperate spreadsheet but until I
get
the formula to work i am putting it on the same worksheet that all my data
is
on.

Zach

"JulieD" wrote:

Hi Zach

if you're "trying to do this on a seperate worksheet from all of [your]
data." you need to include the sheet names in the ranges e.g.
=SUMIF(Sheet1!Y2:Y1211,"=" &
DATE(2004,1,1),Sheet1!AC2:AC1211)-SUMIF(Sheet1!Y2:Y1211,"=" &
DATE(2004,2,1),Sheet1!AC2:AC1211)

Cheers
JulieD

"zach f" wrote in message
...
Well I am not sure I have keyed what I think is the same thing you have
below
and I am getting an error message at the AC1211 (The 1st AC1211)...

"Frank Kabel" wrote:

Hi
do you mean
=SUMIF(Y2:Y1211,"=" & DATE(2004,1,1),AC2:AC1211)-SUMIF(Y2:Y1211,"="
&
DATE(2004,2,1),AC2:AC1211)

For getting the January values

"zach f" wrote:

Hello, I am trying to sum the total $ amount we are paying on an
invoice by
month. I have things on this invoice that go back to January 2004.
My
dates
are in cells Y2:Y1211 and my totals are in cells AC2:AC1211. I am
trying to
do this on a seperate worksheet from all of my data.

Thanks






  #8   Report Post  
zach f
 
Posts: n/a
Default

I tried to paste it in the cell that did not work. I just pasted it in the
box up above (whatever its called) and it worked.

Thanks
Zach

"JulieD" wrote:

Hi Zach

could you copy & paste your formula into a post as there appears (to me) to
be nothing wrong with the formula Frank has give you. Additionally, what
version of excel are you using - if it's 2002 or 2003 there's a handy tool
under tools / formula auditing / evaluate formula
which you can use to step through a formula to see where it goes wrong ..
maybe that will give you a clue.

Cheers
JulieD

"zach f" wrote in message
...
Correct. I will eventually put it on a seperate spreadsheet but until I
get
the formula to work i am putting it on the same worksheet that all my data
is
on.

Zach

"JulieD" wrote:

Hi Zach

if you're "trying to do this on a seperate worksheet from all of [your]
data." you need to include the sheet names in the ranges e.g.
=SUMIF(Sheet1!Y2:Y1211,"=" &
DATE(2004,1,1),Sheet1!AC2:AC1211)-SUMIF(Sheet1!Y2:Y1211,"=" &
DATE(2004,2,1),Sheet1!AC2:AC1211)

Cheers
JulieD

"zach f" wrote in message
...
Well I am not sure I have keyed what I think is the same thing you have
below
and I am getting an error message at the AC1211 (The 1st AC1211)...

"Frank Kabel" wrote:

Hi
do you mean
=SUMIF(Y2:Y1211,"=" & DATE(2004,1,1),AC2:AC1211)-SUMIF(Y2:Y1211,"="
&
DATE(2004,2,1),AC2:AC1211)

For getting the January values

"zach f" wrote:

Hello, I am trying to sum the total $ amount we are paying on an
invoice by
month. I have things on this invoice that go back to January 2004.
My
dates
are in cells Y2:Y1211 and my totals are in cells AC2:AC1211. I am
trying to
do this on a seperate worksheet from all of my data.

Thanks






  #9   Report Post  
JulieD
 
Posts: n/a
Default

formula bar?

glad it works.

Cheers
JulieD

"zach f" wrote in message
...
I tried to paste it in the cell that did not work. I just pasted it in the
box up above (whatever its called) and it worked.

Thanks
Zach

"JulieD" wrote:

Hi Zach

could you copy & paste your formula into a post as there appears (to me)
to
be nothing wrong with the formula Frank has give you. Additionally, what
version of excel are you using - if it's 2002 or 2003 there's a handy
tool
under tools / formula auditing / evaluate formula
which you can use to step through a formula to see where it goes wrong ..
maybe that will give you a clue.

Cheers
JulieD

"zach f" wrote in message
...
Correct. I will eventually put it on a seperate spreadsheet but until
I
get
the formula to work i am putting it on the same worksheet that all my
data
is
on.

Zach

"JulieD" wrote:

Hi Zach

if you're "trying to do this on a seperate worksheet from all of
[your]
data." you need to include the sheet names in the ranges e.g.
=SUMIF(Sheet1!Y2:Y1211,"=" &
DATE(2004,1,1),Sheet1!AC2:AC1211)-SUMIF(Sheet1!Y2:Y1211,"=" &
DATE(2004,2,1),Sheet1!AC2:AC1211)

Cheers
JulieD

"zach f" wrote in message
...
Well I am not sure I have keyed what I think is the same thing you
have
below
and I am getting an error message at the AC1211 (The 1st AC1211)...

"Frank Kabel" wrote:

Hi
do you mean
=SUMIF(Y2:Y1211,"=" &
DATE(2004,1,1),AC2:AC1211)-SUMIF(Y2:Y1211,"="
&
DATE(2004,2,1),AC2:AC1211)

For getting the January values

"zach f" wrote:

Hello, I am trying to sum the total $ amount we are paying on an
invoice by
month. I have things on this invoice that go back to January
2004.
My
dates
are in cells Y2:Y1211 and my totals are in cells AC2:AC1211. I
am
trying to
do this on a seperate worksheet from all of my data.

Thanks








  #10   Report Post  
zach f
 
Posts: n/a
Default

Yes thats it. One more question. My October total is not correct.
This is my formula...what would cause this to be off...350.78?

=SUMIF('133281lodging1'!Y11:Y1220,"=" &
DATE(2004,10,1),'133281lodging1'!AC11:AC1220)-SUMIF('133281lodging1'!Y11:Y1220,"=" &
DATE(2004,11,1),'133281lodging1'!AC11:AC1220)

"JulieD" wrote:

formula bar?

glad it works.

Cheers
JulieD

"zach f" wrote in message
...
I tried to paste it in the cell that did not work. I just pasted it in the
box up above (whatever its called) and it worked.

Thanks
Zach

"JulieD" wrote:

Hi Zach

could you copy & paste your formula into a post as there appears (to me)
to
be nothing wrong with the formula Frank has give you. Additionally, what
version of excel are you using - if it's 2002 or 2003 there's a handy
tool
under tools / formula auditing / evaluate formula
which you can use to step through a formula to see where it goes wrong ..
maybe that will give you a clue.

Cheers
JulieD

"zach f" wrote in message
...
Correct. I will eventually put it on a seperate spreadsheet but until
I
get
the formula to work i am putting it on the same worksheet that all my
data
is
on.

Zach

"JulieD" wrote:

Hi Zach

if you're "trying to do this on a seperate worksheet from all of
[your]
data." you need to include the sheet names in the ranges e.g.
=SUMIF(Sheet1!Y2:Y1211,"=" &
DATE(2004,1,1),Sheet1!AC2:AC1211)-SUMIF(Sheet1!Y2:Y1211,"=" &
DATE(2004,2,1),Sheet1!AC2:AC1211)

Cheers
JulieD

"zach f" wrote in message
...
Well I am not sure I have keyed what I think is the same thing you
have
below
and I am getting an error message at the AC1211 (The 1st AC1211)...

"Frank Kabel" wrote:

Hi
do you mean
=SUMIF(Y2:Y1211,"=" &
DATE(2004,1,1),AC2:AC1211)-SUMIF(Y2:Y1211,"="
&
DATE(2004,2,1),AC2:AC1211)

For getting the January values

"zach f" wrote:

Hello, I am trying to sum the total $ amount we are paying on an
invoice by
month. I have things on this invoice that go back to January
2004.
My
dates
are in cells Y2:Y1211 and my totals are in cells AC2:AC1211. I
am
trying to
do this on a seperate worksheet from all of my data.

Thanks











  #11   Report Post  
JulieD
 
Posts: n/a
Default

the formula works perfectly for me ... so check that all your dates are
entered as dates
select the column choose format / cells / number tab - tick general ... all
the numbers should go to something like 38261 to 38303 or thereabouts if you
have decimals please let me know
(you can then do format / cells / number tab - choose date format again)
then check that all your numbers are numbers - in a column to the right of
the numbers type
=ISNUMBER(AC11) and fill down - if there are any FALSE then it is text.
(if all true you can delete this column). If there are false then select a
blank, unused cell and copy it, click on the "number" that is returning
FALSE and choose edit / paste special - ADD
and then it should behave.

Hope this helps
Cheers
JulieD


"zach f" wrote in message
...
Yes thats it. One more question. My October total is not correct.
This is my formula...what would cause this to be off...350.78?

=SUMIF('133281lodging1'!Y11:Y1220,"=" &
DATE(2004,10,1),'133281lodging1'!AC11:AC1220)-SUMIF('133281lodging1'!Y11:Y1220,"="
&
DATE(2004,11,1),'133281lodging1'!AC11:AC1220)

"JulieD" wrote:

formula bar?

glad it works.

Cheers
JulieD

"zach f" wrote in message
...
I tried to paste it in the cell that did not work. I just pasted it in
the
box up above (whatever its called) and it worked.

Thanks
Zach

"JulieD" wrote:

Hi Zach

could you copy & paste your formula into a post as there appears (to
me)
to
be nothing wrong with the formula Frank has give you. Additionally,
what
version of excel are you using - if it's 2002 or 2003 there's a handy
tool
under tools / formula auditing / evaluate formula
which you can use to step through a formula to see where it goes wrong
..
maybe that will give you a clue.

Cheers
JulieD

"zach f" wrote in message
...
Correct. I will eventually put it on a seperate spreadsheet but
until
I
get
the formula to work i am putting it on the same worksheet that all
my
data
is
on.

Zach

"JulieD" wrote:

Hi Zach

if you're "trying to do this on a seperate worksheet from all of
[your]
data." you need to include the sheet names in the ranges e.g.
=SUMIF(Sheet1!Y2:Y1211,"=" &
DATE(2004,1,1),Sheet1!AC2:AC1211)-SUMIF(Sheet1!Y2:Y1211,"=" &
DATE(2004,2,1),Sheet1!AC2:AC1211)

Cheers
JulieD

"zach f" wrote in message
...
Well I am not sure I have keyed what I think is the same thing
you
have
below
and I am getting an error message at the AC1211 (The 1st
AC1211)...

"Frank Kabel" wrote:

Hi
do you mean
=SUMIF(Y2:Y1211,"=" &
DATE(2004,1,1),AC2:AC1211)-SUMIF(Y2:Y1211,"="
&
DATE(2004,2,1),AC2:AC1211)

For getting the January values

"zach f" wrote:

Hello, I am trying to sum the total $ amount we are paying on
an
invoice by
month. I have things on this invoice that go back to January
2004.
My
dates
are in cells Y2:Y1211 and my totals are in cells AC2:AC1211.
I
am
trying to
do this on a seperate worksheet from all of my data.

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
how do I make a formula NOT change when the data range is moved? Alida Andrews Excel Discussion (Misc queries) 2 January 6th 05 09:02 PM
Date Formula Robyn Bellanger Excel Discussion (Misc queries) 2 December 17th 04 07:25 PM
Date formula Robyn Bellanger Excel Discussion (Misc queries) 2 December 16th 04 12:41 AM
How do I add a date formula to a cell but hide the contents with . Emzy Wemzy Excel Discussion (Misc queries) 2 December 12th 04 01:48 PM
Formula for date function Markitos Excel Worksheet Functions 15 November 10th 04 02:05 AM


All times are GMT +1. The time now is 07:08 PM.

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

About Us

"It's about Microsoft Excel"