+ Reply to Thread
Results 1 to 4 of 4

comparision between two excel sheet using VBA Code for Index/match/and/iferror formula

  1. #1
    Registered User
    Join Date
    10-02-2012
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    16

    comparision between two excel sheet using VBA Code for Index/match/and/iferror formula

    Hello Friends,

    I am developing on excel workbook which has two worksheets,

    I am refering "W36_2012" as a refrence and "W45_2012" as a current sheet. I have several excel formula but I want to develop marco base file.

    can any one help me to develop this macro.

    formuals on "W45_2012" are as follow:

    =IFERROR(IF(AND(INDEX(W36_2012!R:R;MATCH($H15;W36_2012!H:H;0))<>"Rejected";$R15="Rejected");"Test Rejected";"Test Maintained");"Test Added")

    =IFERROR(IF($GL15="Test Rejected";IF(INDEX(W36_2012!$EB:$EB;MATCH($H15;W36_2012!$H:$H;0))="";0;-INDEX(W36_2012!$EB:$EB;MATCH($H15;W36_2012!$H:$H;0)));IFERROR($EB15-INDEX(W36_2012!$EB:$EB;MATCH($H15;W36_2012!$H:$H;0));IF($EB15<>"";$EB15;0)));0)

    =IF($GL15="Test Rejected";"Test Rejected";IF($R15="Rejected"; "N/A";IF($GL15="Test Maintained";IF(GM15<>0;IF(GM15>0;"Forecast increased";"Forecast decreased");"No change");"New test")))

    please find detail explaination in attached sheet..!

    Thank you very much for help me !!

    Gaurang MEHTA
    Attached Files Attached Files
    Last edited by gaurangaero; 11-27-2012 at 11:32 AM. Reason: title was nor comply with rules

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Excel 2016
    Posts
    10,095

    Re: Help on VBA Code for Index/match/and/iferror formula

    We would love to help with your query, but first before we can proceed, please see the forum rules about proper thread titles and adjust accordingly...

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    HTH
    Regards, Jeff

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,596
    What do you actually want to do?
    If posting code please use code tags, see here.

  4. #4
    Registered User
    Join Date
    10-02-2012
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: comparision between two excel sheet using VBA Code for Index/match/and/iferror formula

    sample.xlsm
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Dear Norie,

    could you please help me to write above formula in VBA code
    please find more detail on attached sheet

    Thanks for help,
    Gaurang
    Last edited by gaurangaero; 11-28-2012 at 11:36 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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