Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Deb Deb is offline
external usenet poster
 
Posts: 102
Default SUMIF Question

Can you do a range such as M4:O10? My spreadsheet let me put this in but it
is not giving me the correct value. I have a 1 in cell O4 and it is giving
me a value of "0" for this formula.
=SUMIF('June08 Summary'!$E$4:$E$10,"DM",'June08 Summary'!M4:O10)
--
Deb
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 964
Default SUMIF Question

No, sumif and countif will only sum/count M4:M10 in your case. If you want
to sum all entries in M4:O10 where E4:E10
regardless if there are multiple entries on the same row you can use


=SUMPRODUCT(('June08 Summary'!$E$4:$E$10="DM")*('June08 Summary'!M4:O10))

--


Regards,


Peo Sjoblom

"Deb" wrote in message
...
Can you do a range such as M4:O10? My spreadsheet let me put this in but
it
is not giving me the correct value. I have a 1 in cell O4 and it is
giving
me a value of "0" for this formula.
=SUMIF('June08 Summary'!$E$4:$E$10,"DM",'June08 Summary'!M4:O10)
--
Deb



  #3   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default SUMIF Question

True that it's accepted as you posted, but it's just an illusion. SUMIF
doesn't work on multi-ranges. Only the figs in the leftmost col M will get
summed.

You could try using sumproduct though:
=SUMPRODUCT(('June08 Summary'!$E$4:$E$10="DM")*'June08 Summary'!M4:O10)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,000 Files:358 Subscribers:55
xdemechanik
---
"Deb" wrote:
Can you do a range such as M4:O10? My spreadsheet let me put this in but it
is not giving me the correct value. I have a 1 in cell O4 and it is giving
me a value of "0" for this formula.
=SUMIF('June08 Summary'!$E$4:$E$10,"DM",'June08 Summary'!M4:O10)
--
Deb

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 question Billy B Excel Worksheet Functions 4 January 30th 08 10:44 PM
SUMIF Question juliejg1 Excel Discussion (Misc queries) 2 January 23rd 08 02:32 AM
Sumif (sum if question) Tim Nealon Excel Worksheet Functions 5 May 25th 07 03:08 AM
SUMIF Question Brig Siton Excel Worksheet Functions 3 January 25th 06 05:16 PM
SUMIF question alice Excel Discussion (Misc queries) 2 November 24th 05 02:55 PM


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