简体   繁体   中英

How can I SUM an entire row based on what a cell to the left of the number is

So this is what my sheet looks like 在此处输入图片说明

So basically I want to filter an entire row out, and in the cell (where the horrible function is that I have no idea what I'm doing) I want to show the SUM of all the cells where they're red, which basically means the checkbox to the left is empty .

So I need to filter A5:Z5 , check if it's a number, and check if the cell to the left of it contains . Unless there is an easier way to do it. Thanks.

我不确定我是否理解您的问题,但是请尝试:

=ARRAYFORMULA(sumif(A5:Z5,"☐",offset(A5:Z5,0,1)))

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM