prajul89
Active Member
- Joined
- Jul 9, 2011
- Messages
- 404
I have this formula in Excel which works perfectly
{=MAX(IF(A:A=K1,J:J))}
Where it finds out the maximum value in J column for every K1-value in A column
But I want to Use this formula in Macro.
Of course I can write a lengthy Macro which would Loop and get the result,
but I want a one line code for the above formula.
Is it possible???
{=MAX(IF(A:A=K1,J:J))}
Where it finds out the maximum value in J column for every K1-value in A column
But I want to Use this formula in Macro.
Of course I can write a lengthy Macro which would Loop and get the result,
but I want a one line code for the above formula.
Is it possible???