M
Monique
I have to code a formula in vba.. it is below:
If(SumIf(F10:AJ10, F10, F23:AJ23)*D10>0, SumIF(F10:AJ10, F10, F23:AJ23),
(SumIF(F10:AJ10, F10, F25:AJ25)/SumIF(F10:AJ10, F10, B57:AF57))*(C25/K25))
I need to simplify this because I am going to be putting the formula in VBA.
I just don't know how to handle the many SumIf statements.
Any advice would be great.
Thanks
If(SumIf(F10:AJ10, F10, F23:AJ23)*D10>0, SumIF(F10:AJ10, F10, F23:AJ23),
(SumIF(F10:AJ10, F10, F25:AJ25)/SumIF(F10:AJ10, F10, B57:AF57))*(C25/K25))
I need to simplify this because I am going to be putting the formula in VBA.
I just don't know how to handle the many SumIf statements.
Any advice would be great.
Thanks