ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   add cells conditionaly not in continuous row or column (https://www.excelbanter.com/excel-discussion-misc-queries/54936-add-cells-conditionaly-not-continuous-row-column.html)

loganinc6

add cells conditionaly not in continuous row or column
 
I need to add two cells not in a continuous row or column, say B8 and C7, but
only if the value in C7 is less than zero. If value in C7 is more than zero
need the cell to equal the value in B8

Rowan Drummond

add cells conditionaly not in continuous row or column
 
=IF(C7<0,B8+C7,B8)

Hope this helps
Rowan

loganinc6 wrote:
I need to add two cells not in a continuous row or column, say B8 and C7, but
only if the value in C7 is less than zero. If value in C7 is more than zero
need the cell to equal the value in B8


surg4u1975

add cells conditionaly not in continuous row or column
 

something like this

=IF(C7<0,B8+C7,B8)


--
surg4u1975
------------------------------------------------------------------------
surg4u1975's Profile: http://www.excelforum.com/member.php...o&userid=28718
View this thread: http://www.excelforum.com/showthread...hreadid=484172


RagDyer

add cells conditionaly not in continuous row or column
 
Try this:

=B8+MIN(C7,0)

--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"loganinc6" wrote in message
...
I need to add two cells not in a continuous row or column, say B8 and C7,

but
only if the value in C7 is less than zero. If value in C7 is more than

zero
need the cell to equal the value in B8




All times are GMT +1. The time now is 04:11 AM.

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