In Excel, sum all values in one column in each row where another column is a specific value

前端 未结 3 1044
礼貌的吻别
礼貌的吻别 2021-01-31 14:37

I\'m wondering if there is an easy way to do what I\'m looking for. Basically, I have a balance sheet in Excel 2011 with a bunch of data. One specific piece of information I alw

3条回答
  •  轮回少年
    2021-01-31 15:15

    You should be able to use the IF function for that. the syntax is =IF(condition, value_if_true, value_if_false). To add an extra column with only the non-reimbursed amounts, you would use something like:

    =IF(B1="No", A1, 0)
    

    and sum that. There's probably a way to include it in a single cell below the column as well, but off the top of my head I can't think of anything simple.

提交回复
热议问题