Hi there
I have an excel sheet that I need to count value <5 and >0
Sheets("READ_ME").Cells(40, 2) = WorksheetFunction.CountIf(Sheets("JOIN_DATA").Range("i:i"), "<5"
and to sum if <5 and >0
Sheets("READ_ME").Cells(41, 2) = WorksheetFunction.SumIfs(Sheets("JOIN_DATA").Range("g:g"), Sheets("JOIN_DATA").Range("i:i"), "<5")
How do I use AND function in this?
Thanks
I have an excel sheet that I need to count value <5 and >0
Sheets("READ_ME").Cells(40, 2) = WorksheetFunction.CountIf(Sheets("JOIN_DATA").Range("i:i"), "<5"
and to sum if <5 and >0
Sheets("READ_ME").Cells(41, 2) = WorksheetFunction.SumIfs(Sheets("JOIN_DATA").Range("g:g"), Sheets("JOIN_DATA").Range("i:i"), "<5")
How do I use AND function in this?
Thanks