+ Reply to Thread
Results 1 to 8 of 8

Formula to calculate value after doing a data match

  1. #1
    Forum Contributor
    Join Date
    06-26-2012
    Location
    UAE
    MS-Off Ver
    Excel 2003
    Posts
    274

    Formula to calculate value after doing a data match

    Hello Dear Excel Friends,

    Could you please refer the attached work sheet and advise a formula to calculate the values once the criteria is met.

    Thanks
    Excel Dumbo
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Formula to calculate value after doing a data match

    hi there. try this for your Table1 in D4:
    =$B4*INDEX($L$4:$O$5,MATCH($B$1,$K$4:$K$5,0),MATCH(D$1,$L$3:$O$3,0))

    copy across the table. please note that your description in the Look Up Table has to be the same. M3 has an extra space.

    for Table 2, adjust a little:
    =$B12*INDEX($L$4:$O$5,MATCH($B$9,$K$4:$K$5,0),MATCH(D$1,$L$3:$O$3,0))

    if you have many tables like this & too have too much trouble to adjust the formulas, let me know so i can try to do a universal one.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    06-26-2012
    Location
    UAE
    MS-Off Ver
    Excel 2003
    Posts
    274

    Re: Formula to calculate value after doing a data match

    Thanks a lot Benishriyo. This will definitely do the job. Works like magic.

    There are indeed many tables, as this is just a sample file I have posted. I would be very much interested to know a universal formula.

    Thanks heaps

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Formula to calculate value after doing a data match

    you're very welcome. here's 2 other solutions, provided the layout is always standardised (same number of rows & columns in between each tables)

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    06-26-2012
    Location
    UAE
    MS-Off Ver
    Excel 2003
    Posts
    274

    Re: Formula to calculate value after doing a data match

    This is simply Superb. U made my day Benishriyo. This is absolutely amazing work. It works! Thanks mate. I will mark this thread as solved. If possible could you please help me with my other request i posted a few seconds back "A better pivot table"

  6. #6
    Forum Contributor
    Join Date
    11-11-2012
    Location
    Muscat, Oman
    MS-Off Ver
    Office 365
    Posts
    522

    Re: Formula to calculate value after doing a data match

    Hi, I see that you already have an answer but i worked on a file which you may want to see
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    06-26-2012
    Location
    UAE
    MS-Off Ver
    Excel 2003
    Posts
    274

    Re: Formula to calculate value after doing a data match

    Thank you VKS, defintely does the job

  8. #8
    Forum Contributor
    Join Date
    06-26-2012
    Location
    UAE
    MS-Off Ver
    Excel 2003
    Posts
    274

    Re: Formula to calculate value after doing a data match

    Big stars to u too vks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1