Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default Summing a range based on value criteria

Hello. I am trying to find a way to only sum the numbers in a range of data
that are positive in one cell, and negative values in another cell. Can
anyone please tell me what formula to use to analyze the values in the range
of data to pick out only the cells with either a <0 or 0 value and to sum
only those values?

Thank you very much. This one is making my head feel like it's going to
explode.

Mike
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Summing a range based on value criteria

=sumif(a1:a10,""&0)
=sumif(a1:a10,"<"&0)



WiFiMike2006 wrote:

Hello. I am trying to find a way to only sum the numbers in a range of data
that are positive in one cell, and negative values in another cell. Can
anyone please tell me what formula to use to analyze the values in the range
of data to pick out only the cells with either a <0 or 0 value and to sum
only those values?

Thank you very much. This one is making my head feel like it's going to
explode.

Mike


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default Summing a range based on value criteria

Nevermind. I just discovered the SUMIF function.

"WiFiMike2006" wrote:

Hello. I am trying to find a way to only sum the numbers in a range of data
that are positive in one cell, and negative values in another cell. Can
anyone please tell me what formula to use to analyze the values in the range
of data to pick out only the cells with either a <0 or 0 value and to sum
only those values?

Thank you very much. This one is making my head feel like it's going to
explode.

Mike

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
Summing data based on criteria Wendy Excel Discussion (Misc queries) 2 August 1st 06 04:07 PM
Summing based on criteria jspizman Excel Worksheet Functions 1 July 20th 06 04:48 PM
Summing quantities based on like criteria? aburnce Excel Discussion (Misc queries) 5 May 4th 06 12:11 AM
Summing based on 2 criteria cubsfan Excel Discussion (Misc queries) 2 April 20th 06 04:21 PM
Counting & Summing based on criteria on another column Chicago D Excel Discussion (Misc queries) 2 August 25th 05 06:58 PM


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