Skip to Content
author's profile photo Former Member
Former Member

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 (22.9 kB)
PLBOOK1.PNG (15.9 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 15, 2015 at 01:58 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2015 at 06:31 AM

    Dear sir,

    I have attached corrected image for your reference.

    Kindly have a look & suggest.


    Max Corrected.PNG (23.0 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.