Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
DaveO
 
Posts: n/a
Default Conditional SUMIF???

I have a sheet with a lot of data in it. It tracks the effectiveness of
certain campaigns we have. One of the key fields in here is Month.

What I'm trying to do is summarise the data for a board report. I have a
drop down of all of the months there are in the report. If I want to do a
particaular month's figures, I use a SUMIF and it gets the data fine. But if
I want to do a Year to date figure, how can I do this?

ie. I have all 2004 data. If I picked Aug-04 as a month to look at I'd want
to see Jan-04 to Aug-04 inclusive for my Year to Date figures and not also
include Sept-04 onwards.

Any ideas please guys??

TIA.
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default Conditional SUMIF???

Do you have a date field, if so you can use

=SUMPRODUCT(--(TEXT(date_column,"yyyymm")<=200508),amt_column)

With SUMPRODUCT, you have to specify the cells, such as A2:A100, not a
complete column A:A.

--

HTH

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


"DaveO" wrote in message
...
I have a sheet with a lot of data in it. It tracks the effectiveness of
certain campaigns we have. One of the key fields in here is Month.

What I'm trying to do is summarise the data for a board report. I have a
drop down of all of the months there are in the report. If I want to do a
particaular month's figures, I use a SUMIF and it gets the data fine. But

if
I want to do a Year to date figure, how can I do this?

ie. I have all 2004 data. If I picked Aug-04 as a month to look at I'd

want
to see Jan-04 to Aug-04 inclusive for my Year to Date figures and not also
include Sept-04 onwards.

Any ideas please guys??

TIA.



  #3   Report Post  
DaveO
 
Posts: n/a
Default Conditional SUMIF???

Thanks for the help Bob, but a little bit more to go yet....

I have results from 2003 to date. So how would I get this to work, bearing
in mind I need to do a = to Jan of the year we're interested in and a <= to
the month in question.

I've looked at other SUMPRODUCTs but don't understand it. Currently I have
this...

=SUMPRODUCT(--('[Home Inbound.xls]Survey MAILINGS
2002-05'!$A$8:$P$10000=VLOOKUP(B1,Sheet1!A:B,2,FALSE)) , --('[Home
Inbound.xls]Survey MAILINGS 2002-05'!$A$8:$P$10000<=B1))

Let me explain.

Cell B2 is the drop down for the month we want to look at. The Vlookup looks
back to sheet1 to find the relevant Jan to start from as I have this by the
side of every month. So how would I factor this in?? Just not sure who to get
the valuie column in now!

Any help would be great.
"Bob Phillips" wrote:

Do you have a date field, if so you can use

=SUMPRODUCT(--(TEXT(date_column,"yyyymm")<=200508),amt_column)

With SUMPRODUCT, you have to specify the cells, such as A2:A100, not a
complete column A:A.

--

HTH

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


"DaveO" wrote in message
...
I have a sheet with a lot of data in it. It tracks the effectiveness of
certain campaigns we have. One of the key fields in here is Month.

What I'm trying to do is summarise the data for a board report. I have a
drop down of all of the months there are in the report. If I want to do a
particaular month's figures, I use a SUMIF and it gets the data fine. But

if
I want to do a Year to date figure, how can I do this?

ie. I have all 2004 data. If I picked Aug-04 as a month to look at I'd

want
to see Jan-04 to Aug-04 inclusive for my Year to Date figures and not also
include Sept-04 onwards.

Any ideas please guys??

TIA.




  #4   Report Post  
William Horton
 
Posts: n/a
Default Conditional SUMIF???

Creating a pivot table from the source data may be an easy way. You could
then select / deselect the months / years that you want to include / exclude.

Bill Horton

"DaveO" wrote:

Thanks for the help Bob, but a little bit more to go yet....

I have results from 2003 to date. So how would I get this to work, bearing
in mind I need to do a = to Jan of the year we're interested in and a <= to
the month in question.

I've looked at other SUMPRODUCTs but don't understand it. Currently I have
this...

=SUMPRODUCT(--('[Home Inbound.xls]Survey MAILINGS
2002-05'!$A$8:$P$10000=VLOOKUP(B1,Sheet1!A:B,2,FALSE)) , --('[Home
Inbound.xls]Survey MAILINGS 2002-05'!$A$8:$P$10000<=B1))

Let me explain.

Cell B2 is the drop down for the month we want to look at. The Vlookup looks
back to sheet1 to find the relevant Jan to start from as I have this by the
side of every month. So how would I factor this in?? Just not sure who to get
the valuie column in now!

Any help would be great.
"Bob Phillips" wrote:

Do you have a date field, if so you can use

=SUMPRODUCT(--(TEXT(date_column,"yyyymm")<=200508),amt_column)

With SUMPRODUCT, you have to specify the cells, such as A2:A100, not a
complete column A:A.

--

HTH

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


"DaveO" wrote in message
...
I have a sheet with a lot of data in it. It tracks the effectiveness of
certain campaigns we have. One of the key fields in here is Month.

What I'm trying to do is summarise the data for a board report. I have a
drop down of all of the months there are in the report. If I want to do a
particaular month's figures, I use a SUMIF and it gets the data fine. But

if
I want to do a Year to date figure, how can I do this?

ie. I have all 2004 data. If I picked Aug-04 as a month to look at I'd

want
to see Jan-04 to Aug-04 inclusive for my Year to Date figures and not also
include Sept-04 onwards.

Any ideas please guys??

TIA.




  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default Conditional SUMIF???

Assuming that you have the January date in C1, you could use

=SUMPRODUCT(--('[Home Inbound.xls]Survey MAILINGS
2002-05'!$A$8:$P$10000=VLOOKUP(B1,Sheet1!A:B,2,FALSE)) ,
--('[Home Inbound.xls]Survey MAILINGS 2002-05'!$A$8:$P$10000=C1)
--('[Home Inbound.xls]Survey MAILINGS 2002-05'!$A$8:$P$10000<=B1))


--

HTH

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


"DaveO" wrote in message
...
Thanks for the help Bob, but a little bit more to go yet....

I have results from 2003 to date. So how would I get this to work, bearing
in mind I need to do a = to Jan of the year we're interested in and a <=

to
the month in question.

I've looked at other SUMPRODUCTs but don't understand it. Currently I have
this...

=SUMPRODUCT(--('[Home Inbound.xls]Survey MAILINGS
2002-05'!$A$8:$P$10000=VLOOKUP(B1,Sheet1!A:B,2,FALSE)) , --('[Home
Inbound.xls]Survey MAILINGS 2002-05'!$A$8:$P$10000<=B1))

Let me explain.

Cell B2 is the drop down for the month we want to look at. The Vlookup

looks
back to sheet1 to find the relevant Jan to start from as I have this by

the
side of every month. So how would I factor this in?? Just not sure who to

get
the valuie column in now!

Any help would be great.
"Bob Phillips" wrote:

Do you have a date field, if so you can use

=SUMPRODUCT(--(TEXT(date_column,"yyyymm")<=200508),amt_column)

With SUMPRODUCT, you have to specify the cells, such as A2:A100, not a
complete column A:A.

--

HTH

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


"DaveO" wrote in message
...
I have a sheet with a lot of data in it. It tracks the effectiveness

of
certain campaigns we have. One of the key fields in here is Month.

What I'm trying to do is summarise the data for a board report. I have

a
drop down of all of the months there are in the report. If I want to

do a
particaular month's figures, I use a SUMIF and it gets the data fine.

But
if
I want to do a Year to date figure, how can I do this?

ie. I have all 2004 data. If I picked Aug-04 as a month to look at I'd

want
to see Jan-04 to Aug-04 inclusive for my Year to Date figures and not

also
include Sept-04 onwards.

Any ideas please guys??

TIA.








  #6   Report Post  
DaveO
 
Posts: n/a
Default Conditional SUMIF???

Purley for completeness, here's how to do it guys.

Thanks for you help, it's been great!

=SUMPRODUCT(--('[Home Inbound1.xls]Survey MAILINGS
2002-05'!$A$8:$A$10000=VLOOKUP(B1,Sheet1!A:B,2,FALSE)) , --('[Home
Inbound1.xls]Survey MAILINGS 2002-05'!$A$8:$A$10000<=B1), '[Home
Inbound1.xls]Survey MAILINGS 2002-05'!$P$8:$P$10000)



"DaveO" wrote:

Thanks for the help Bob, but a little bit more to go yet....

I have results from 2003 to date. So how would I get this to work, bearing
in mind I need to do a = to Jan of the year we're interested in and a <= to
the month in question.

I've looked at other SUMPRODUCTs but don't understand it. Currently I have
this...

=SUMPRODUCT(--('[Home Inbound.xls]Survey MAILINGS
2002-05'!$A$8:$P$10000=VLOOKUP(B1,Sheet1!A:B,2,FALSE)) , --('[Home
Inbound.xls]Survey MAILINGS 2002-05'!$A$8:$P$10000<=B1))

Let me explain.

Cell B2 is the drop down for the month we want to look at. The Vlookup looks
back to sheet1 to find the relevant Jan to start from as I have this by the
side of every month. So how would I factor this in?? Just not sure who to get
the valuie column in now!

Any help would be great.
"Bob Phillips" wrote:

Do you have a date field, if so you can use

=SUMPRODUCT(--(TEXT(date_column,"yyyymm")<=200508),amt_column)

With SUMPRODUCT, you have to specify the cells, such as A2:A100, not a
complete column A:A.

--

HTH

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


"DaveO" wrote in message
...
I have a sheet with a lot of data in it. It tracks the effectiveness of
certain campaigns we have. One of the key fields in here is Month.

What I'm trying to do is summarise the data for a board report. I have a
drop down of all of the months there are in the report. If I want to do a
particaular month's figures, I use a SUMIF and it gets the data fine. But

if
I want to do a Year to date figure, how can I do this?

ie. I have all 2004 data. If I picked Aug-04 as a month to look at I'd

want
to see Jan-04 to Aug-04 inclusive for my Year to Date figures and not also
include Sept-04 onwards.

Any ideas please guys??

TIA.




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
Conditional SUMIF Curtis Excel Worksheet Functions 8 September 26th 05 09:50 PM
copy the conditional sum (SUMIF) formula Megs Excel Worksheet Functions 2 August 8th 05 05:13 PM
adding summed cells in a conditional sumif Tat Excel Worksheet Functions 5 June 12th 05 06:09 PM
HOW DO I COPY A CONDITIONAL SUM (sumif) AND EDIT IT? (THE SUM NEV. ailsa.fraser Excel Worksheet Functions 5 April 22nd 05 03:10 PM
Conditional Format With SUMIF Minitman Excel Worksheet Functions 3 November 1st 04 02:58 PM


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