Help with formula

Hello,
I am trying to write a formula that will iterate through all rows of excel table and count the number of rows containing “Debt Securities” in column H and at the same time having a value different than 0 in column O.
I tried to complete this with the following formula, but I am getting an error message “End of expression expected”.

COUNTIFS(‘“+ IN_str_Excel_Table_Name+”’!H:H, Debt Securities",‘" + IN_str_Excel_Table_Name +"’!O:O,“”<>0"“)”


Thanks!

Just a suggestion, try to do the formula once manually in the excel and then assign it to a string type variable where you can pass all the required variables in the formula. Then pass it to the activity @sspi1153