1. Welcome to Chandoo.org Forums. Short message for you

    Hi Guest,

    Thanks for joining Chandoo.org forums. We are here to make you awesome in Excel. Before you post your first question, please read this short introduction guide. When posting or responding to questions please remember our values at Chandoo.org are: Humility, Passion, Fun, Awesomeness, Simplicity, Sharing Remember that we have people here for whom English is not there first language and we need to allow for this in our dealings.

    Yours,
    Chandoo
  2. Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  3. When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Amount differs in result having same voucode

Discussion in 'Ask an Excel Question' started by JAlandhar 201718, Oct 11, 2018.

  1. JAlandhar 201718

    JAlandhar 201718 Member

    Messages:
    68
    hello sir, can you please help me in this formula as i need the different amount from the table, but it shows the same amount as of previous in last line of result, Help me please

    please check the attached file

    Attached Files:

  2. GraH - Guido

    GraH - Guido Well-Known Member

    Messages:
    796
    Hi,

    The formula in N24 does not need to be an array formula.
    You are using MATCH(L37,abc[VOUNO],0) so that finds the exact match.
    Thus it will return the index for the first value found where L37 = abc[VOUNO], being 13. So the index part will always return 2017, since [VOUNO] with the value 195789 appears twice in your table.

    Is it an error in the table, or do you need another formula to handle this scenario?

    EDIT: possible like formula in file to handle 2 or more occurrences of [VOUNO] in table abc. Perhaps you'd need to do the same for table def.

    Attached Files:

    Last edited: Oct 11, 2018
  3. JAlandhar 201718

    JAlandhar 201718 Member

    Messages:
    68
    Sir, with your help i updated my formulas, please check the result i get some blank values in response.

    Capture.JPG
  4. pecoflyer

    pecoflyer Active Member

    Messages:
    237
    Post the sheet please !!!
  5. JAlandhar 201718

    JAlandhar 201718 Member

    Messages:
    68
    Uploaded the sheet, please help me

    Attached Files:

  6. GraH - Guido

    GraH - Guido Well-Known Member

    Messages:
    796
    Might be, replace this AGGREGATE(15,6,ROW(abc[VOUNO])/(abc[VOUNO]=L23)-1
    by AGGREGATE(15,6,ROW(abc[VOUNO])/(abc[VOUNO]=L23)-5
  7. JAlandhar 201718

    JAlandhar 201718 Member

    Messages:
    68
    thanks for your kind help, it worked,

    now can you please help me in the next process
    as if I use your formula in "V3" cell, it shows blank cell in result

    please help

    Attached Files:

  8. GraH - Guido

    GraH - Guido Well-Known Member

    Messages:
    796
    Hi, but here your table starts at row 22... and not row 5.
  9. JAlandhar 201718

    JAlandhar 201718 Member

    Messages:
    68
    thankyou sir, i will update here if i need any help again, thanks a lot once again

Share This Page