ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how to add values of cells only if a corresponding cell has information on it (https://www.excelbanter.com/excel-discussion-misc-queries/92542-how-add-values-cells-only-if-corresponding-cell-has-information.html)

zuri125

how to add values of cells only if a corresponding cell has information on it
 

Is there a function that can add up the values of cells but only if a
corresponding cell has information on it. For example i have two
columns of lists. The left column has every cell filled up with a
number, but the right column has a few blanks. How can I add up the
cells of the left column that only have a number in the right column?
THanks


--
zuri125
------------------------------------------------------------------------
zuri125's Profile: http://www.excelforum.com/member.php...o&userid=31131
View this thread: http://www.excelforum.com/showthread...hreadid=549312


Roger Govier

how to add values of cells only if a corresponding cell has information on it
 
Hi

One way
=SUMIF(B1:B100,"<",A1:A100)
change ranges to suit

--
Regards

Roger Govier


"zuri125" wrote in
message ...

Is there a function that can add up the values of cells but only if a
corresponding cell has information on it. For example i have two
columns of lists. The left column has every cell filled up with a
number, but the right column has a few blanks. How can I add up the
cells of the left column that only have a number in the right column?
THanks


--
zuri125
------------------------------------------------------------------------
zuri125's Profile:
http://www.excelforum.com/member.php...o&userid=31131
View this thread:
http://www.excelforum.com/showthread...hreadid=549312





All times are GMT +1. The time now is 01:50 AM.

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