Vijaychitra
New Member
Hi,
I'm able to get COUNTIFS results when the below formula's used in excel cell.
2 sheets are referred
=COUNTIFS('Sheet2'!L2:L1000,">90",'Sheet2'!F2:F1000,'Sheet1'!B5)
=COUNTIFS('Sheet2'!L2:L1000,">=3",'Sheet2'!L2:L1000,"<=5",'Sheet2'!F2:F1000,'Sheet1'!B5)
However, when tried to use the same formula in VBA, it doesn't return value/ unable to execute.
I have added " " to compile, no luck.
I'm able to get COUNTIFS results when the below formula's used in excel cell.
2 sheets are referred
=COUNTIFS('Sheet2'!L2:L1000,">90",'Sheet2'!F2:F1000,'Sheet1'!B5)
=COUNTIFS('Sheet2'!L2:L1000,">=3",'Sheet2'!L2:L1000,"<=5",'Sheet2'!F2:F1000,'Sheet1'!B5)
However, when tried to use the same formula in VBA, it doesn't return value/ unable to execute.
I have added " " to compile, no luck.