Hi All,
I have below columns :-
1) Posting Date(Column I)
2) Total quantity(Column U)
3) Value in Obj. Crcy(Column V)
4) ESIGNAM(Column AG)
Now in column AK I want to below mentioned logic :-
For example A is repeated 3 time with 3(1-jan, 2-jan,3-jan) different posting dates, then I have to take latest date which is 3rd jan, now pick its corresponding Total qty and Value in Obj curr then divide it and paste that output corresponding to all the cells wherever A is mentioned. Note if 03-jan for "A" qty is 0 or blank then we will take max date for A based on 02-jan posting date and new rate for A will be 222.33 (i.e " 3335/15")
Please find the link for sample file https://1drv.ms/x/s!Ap80Ku6M2Tw5gUR8CsSGUM4iEqDc
Can anybody suggest me a macro code
I have below columns :-
1) Posting Date(Column I)
2) Total quantity(Column U)
3) Value in Obj. Crcy(Column V)
4) ESIGNAM(Column AG)
Now in column AK I want to below mentioned logic :-
For example A is repeated 3 time with 3(1-jan, 2-jan,3-jan) different posting dates, then I have to take latest date which is 3rd jan, now pick its corresponding Total qty and Value in Obj curr then divide it and paste that output corresponding to all the cells wherever A is mentioned. Note if 03-jan for "A" qty is 0 or blank then we will take max date for A based on 02-jan posting date and new rate for A will be 222.33 (i.e " 3335/15")
Please find the link for sample file https://1drv.ms/x/s!Ap80Ku6M2Tw5gUR8CsSGUM4iEqDc
Can anybody suggest me a macro code