Forum Discussion
annzgabob
Aug 26, 2022Copper Contributor
Accounting spreadsheet
Hi! I am using an excel sheet to track my transactions, and I'm trying to make it a little less work while inputting things. However, I can't seem to get a function to do the math I need. I'm t...
- Aug 26, 2022
how about =SUM(FILTER(C3:D5,B3:B5="N"),0)
if you don't have excel 365 then maybe
=SUMIFS(C3:C5,B3:B5,"N")+SUMIFS(D3:D5,B3:B5,"N")or
=SUMPRODUCT(C3:D5*(B3:B5="n"))
PeterBartholomew1
Aug 26, 2022Silver Contributor
Any chance you are using Excel 365? If so
= SUM(FILTER(values, criterion="N"))
= SUM(IF(criterion="N", values))both work, where 'criterion' is the column with "N" & "B" and values is the other two columns (each 3 rows at present)