ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Conditional Addition (https://www.excelbanter.com/excel-programming/346869-conditional-addition.html)

Andy

Conditional Addition
 
Hi All,
Any shortcuts on doing conditional addition in a column based on another
column e.g
Col_B Col_C
8 Denied
8 Approved
8 Denied
8 Approved
8 Approved
Add the total to bottom of column B only if its "Approved" in Column C.

Thanks
Andy

sebastienm

Conditional Addition
 
Hi,
In the Total cell, enter the formula:
(Asumming data is in rows 2 to 50)
=SUMIF( B2:B50 , "Approved" , A2:A50 )
meaning sum a2 to a50 if corresponding cell in col B equals to "Approved"
--
Regards,
Sébastien
<http://www.ondemandanalysis.com


"Andy" wrote:

Hi All,
Any shortcuts on doing conditional addition in a column based on another
column e.g
Col_B Col_C
8 Denied
8 Approved
8 Denied
8 Approved
8 Approved
Add the total to bottom of column B only if its "Approved" in Column C.

Thanks
Andy



All times are GMT +1. The time now is 07:16 PM.

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