Excel COUNTIF with link to another workbook -
i trying count of records sheet in different workbook. i'm using following formula:
=countif('c:\path\to\file\[work1.xlsm]sheetname'!$a:$a,"*")-1
note: file xlsm. has header row, that's why i'm subtracting 1
if have work1.xlsm file open @ same time 'summary' workbook, numbers populate , correct. once close work1, #value
in cell.
so 2 questions:
is there reason won't work?
is there better way write this?
thanks consideration.
countif
doesn't work closed workbooks, looks can use counta, i.e.
=counta('c:\path\to\file\[work1.xlsm]sheetname'!$a:$a)-1
Comments
Post a Comment