excel
How to count only same line specific column (A) is true and column (B) not empty
| A | B | 1 | Boolean | number | 2 | TRUE | 0 3 | FALSE | 1 4 | TRUE | 5 | FALSE | 1 - - - - - - - - - 6 | 2 COUNTIF(A2:A5,TRUE) | ? B6 How to count only same line specific column (A) is true and column (B) not empty. e.g A2, A4 is true, B2 not empty B4 is empty so only count B2 = 1 =COUNTIF(A2:A5,TRUE,COUNTIF(...))
Use =COUNTIFS(A2:A5,TRUE,B2:B5,"<>") See image for reference:
Related Links
Running an Excel Add-in function using VBA on remote desktop
vba loop to add to string- Current code overwrites instead of adding to cell
Drop-down values missing when using Range formula
Best API to read/write EXCEL documents with spring mvc
How to use FpSread.SaveExcel to save multiple grid data into multiple sheets of same excel file
Find word in part of cell text, return column number: Excel VBA
ModifyAppliesToRange not working
How to obtain EXIF info from picture in an excel worksheet using VBA
Excel VBA to copy and paste as values from a closed workbook to an active workbook, Mac OS X
Dynamic, multi-level, numbered list using Excel formula
Applying a UDF to each value used as a range for sumproduct
Write vlookup function in excel vba
Combobox resets to first “blank” entry if cell on left is blank Error
I need to return a value that is not in the same row as the name [duplicate]
copy and paste including formats using VBA [duplicate]
How to conditional format based on the same cell changing value/override