cancel
Showing results for 
Search instead for 
Did you mean: 

Using Max Fucntion in Macro

former_member200568
Active Participant
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member200568
Active Participant
0 Kudos

Dear sir,

I have attached corrected image for your reference.

Kindly have a look & suggest.

ruchi_das2
Active Participant
0 Kudos

Deep,

In the Macro Function, maintain the same dates for Column, make From and To Column as "M 09.2015" and check the box "Column Relative" for both From and To.

Regards

AK

alok_jaiswal
Contributor
0 Kudos

Hi Deep,

You mentioned to calculate max value of ( ACTUAL SALES QTY M 09.2015 ) & ( L3M AVG SALE QTY ) but In the screenshot both the rows are showing same name - L3M AVG SALE QTY.  - Please check.

Regards,

Alok