If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Conditional SUMIF???

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-11-05, 04:59
daveo61 daveo61 is offline
Registered User
 
Join Date: Feb 2005
Location: England.
Posts: 232
Conditional SUMIF??? Possibly SUMPRODUCT?

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.

Last edited by daveo61; 11-11-05 at 06:32.
Reply With Quote
  #2 (permalink)  
Old 11-11-05, 08:55
daveo61 daveo61 is offline
Registered User
 
Join Date: Feb 2005
Location: England.
Posts: 232
After much searchong a load of hassle I found out how to do this.

Attached is the formula for the info of others ...

Code:
=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)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On