Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Using Max Fucntion in Macro

Dear Experts,

I am facing difficulties while formulating the MACRO for particular case given below,

I have attached two images showing the dummy Planning Book data & MAX function inputs

We need to calculate Baseline forecast as max value of ( ACTUAL SALES QTY M 09.2015 ) & ( L3M AVG SALE QTY ).

Expected output of Macro was 135, but system is suggesting some random value.

How to compare both the values at cell level or any other function can be return the max considering both cell only.

Regards,

Deep Dave

Max Function.PNG (22866 B)
PLBOOK1.PNG (15868 B)
Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question