#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default SumIf

I tried the formula below in my database and I get a 0 as an answer.
=SUMPRODUCT((Data!B1:B20000="Access
Nurses")*(Data!Q1:Q20000="Apr-08")*(L1:L20000))

Can someone tell me what I'm doing wrong and how to correct?

Column B contains different vendor names, column Q contains the month of the
transaction and colum L contains a subtotaled dollar amount.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,047
Default SumIf

=SUMPRODUCT((Data!B1:B20000="Access
Nurses")*(Data!Q1:Q20000="Apr-08"),(L1:L20000))

hth
--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"MadWoman" escreveu:

I tried the formula below in my database and I get a 0 as an answer.
=SUMPRODUCT((Data!B1:B20000="Access
Nurses")*(Data!Q1:Q20000="Apr-08")*(L1:L20000))

Can someone tell me what I'm doing wrong and how to correct?

Column B contains different vendor names, column Q contains the month of the
transaction and colum L contains a subtotaled dollar amount.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default SumIf

Are the months of transaction really XL dates? If so try:

=SUMPRODUCT((Data!B1:B20000="Access
Nurses")*(MONTH(Data!Q1:Q20000)=4)*L1:L20000)

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"MadWoman" wrote in message
...
I tried the formula below in my database and I get a 0 as an answer.
=SUMPRODUCT((Data!B1:B20000="Access
Nurses")*(Data!Q1:Q20000="Apr-08")*(L1:L20000))

Can someone tell me what I'm doing wrong and how to correct?

Column B contains different vendor names, column Q contains the month of
the
transaction and colum L contains a subtotaled dollar amount.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default SumIf

On Tue, 29 Jul 2008 14:13:00 -0700, MadWoman
wrote:

I tried the formula below in my database and I get a 0 as an answer.
=SUMPRODUCT((Data!B1:B20000="Access
Nurses")*(Data!Q1:Q20000="Apr-08")*(L1:L20000))

Can someone tell me what I'm doing wrong and how to correct?

Column B contains different vendor names, column Q contains the month of the
transaction and colum L contains a subtotaled dollar amount.



If the three columns are all in the same worksheet, which is not the
same sheet as where the formula is, then there is a missing Data!
before L1 in the last paranthesis.

Hope this helps / Lars-Åke
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
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
sumif help... Jambruins Excel Discussion (Misc queries) 3 June 27th 05 04:56 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


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