ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Does Excel have a "sumnegative" function like Lotus? (https://www.excelbanter.com/excel-worksheet-functions/87980-does-excel-have-sumnegative-function-like-lotus.html)

GladesTiger

Does Excel have a "sumnegative" function like Lotus?
 
I'm trying to add up the negative values in a column with positive values as
well. Lotus has a sumnegative function that would just add those cells that
contained a negative value. Does Excel have a similar function?

Ron de Bruin

Does Excel have a "sumnegative" function like Lotus?
 
you can try this

=SUMIF(A1:A30,"<0",A1:A30)


--
Regards Ron de Bruin
http://www.rondebruin.nl


"GladesTiger" wrote in message ...
I'm trying to add up the negative values in a column with positive values as
well. Lotus has a sumnegative function that would just add those cells that
contained a negative value. Does Excel have a similar function?




Daniel CHEN

Does Excel have a "sumnegative" function like Lotus?
 
Use sumif function like:

=SUMIF(A1:A999,"<0")

--
Best regards,
---
Yongjun CHEN
=================================
XLDataSoft - Data Analysis Expert, Excel/VBA Specialist
- - - - www.XLDataSoft.com - - - -
Free Excel-Based Data Processing Tool is Available for Download
Free Excel / VBA Training Materials is Available for Download
=================================

"GladesTiger" wrote in message
...
I'm trying to add up the negative values in a column with positive values
as
well. Lotus has a sumnegative function that would just add those cells
that
contained a negative value. Does Excel have a similar function?




Ashish Mathur

Does Excel have a "sumnegative" function like Lotus?
 
Hi,

Though sumif is definitely the best function to use, you may also use an
array formula (Ctrl+Shift+Enter)

=sum(if((range<0,range)) confirmed by Ctrl+Shift+Enter

Regards,

Ashish Mathur

"GladesTiger" wrote:

I'm trying to add up the negative values in a column with positive values as
well. Lotus has a sumnegative function that would just add those cells that
contained a negative value. Does Excel have a similar function?



All times are GMT +1. The time now is 10:39 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com