+ Reply to Thread
Results 1 to 9 of 9

compare a row with all the rows of anothre sheet

  1. #1
    Registered User
    Join Date
    04-28-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    7

    compare a row with all the rows of anothre sheet

    hi,
    i have a problem in writing macro for comparing two sheets in a workbook in such a way
    if first row of first sheet match with any row of second sheet then copy that row on another sheet and then if second row of first sheet match with any row of second sheet then copy it to third sheet
    this process must continue till all the row compared one by one of first sheet with second sheet
    means i just need to compare 1st row of first sheet with all the rows of second sheet then 2nd row with all then 3hird row and so on
    please help me to slove this problem i have attached the excel file that have three sheets i want to compare rows of sheet 700days with sheet Nifty BB-1 Long 250 days 60min
    Attached Files Attached Files
    Last edited by sharad pandey; 06-20-2011 at 02:56 AM. Reason: attach a file

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: compare a row with all the rows of anothre sheet

    Hello, Sharad;

    Please attach a sample file...!
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Registered User
    Join Date
    04-28-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: compare a row with all the rows of anothre sheet

    Quote Originally Posted by Haseeb A View Post
    Hello, Sharad;

    Please attach a sample file...!
    how to attach a file

  4. #4
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: compare a row with all the rows of anothre sheet

    Scroll down & click Go Advanced then down click Manage Attachments, browse your file click on Upload

  5. #5
    Registered User
    Join Date
    04-28-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: compare a row with all the rows of anothre sheet

    hi
    i have attached the the sample file in which there are three sheets Nifty BB-1 Long 250 days 60min ,700days and 250 days now i want to compare each row of sheet 700days with sheet Nifty BB-1 Long 250 days 60min in such a way as i defined above in the previous qoute
    Last edited by sharad pandey; 06-21-2011 at 02:34 AM.

  6. #6
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: compare a row with all the rows of anothre sheet

    See the attached,

    Col_A contains Array Formula to get the row numbers. If you have huge data this may slow up the calculation.

  7. #7
    Registered User
    Join Date
    04-28-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: compare a row with all the rows of anothre sheet

    dear Haseeb
    i could not understand what you did on sheet how to use this formula on other sheets so can u please send me macro for this or
    formula so tha i can apply this formula or macro on other sheets i am new in excel programming

  8. #8
    Registered User
    Join Date
    04-28-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: compare a row with all the rows of anothre sheet

    hi
    i have attached the the sample file in which there are two sheets Nifty BB-1 Long 250 days 60min ,700days and now i want to compare each row of sheet 700days with sheet Nifty BB-1 Long 250 days 60min in such a way as i defined above in the previous qoute
    Attached Files Attached Files
    Last edited by sharad pandey; 06-21-2011 at 06:49 AM. Reason: attach file

  9. #9
    Registered User
    Join Date
    04-28-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: compare a row with all the rows of anothre sheet

    --------------------------------------------------------------------------------

    hi,
    i have a problem in writing macro for comparing two sheets in a workbook in such a way
    if first row of first sheet match with any row of second sheet then copy that row on another sheet and then if second row of first sheet match with any row of second sheet then copy it to third sheet
    this process must continue till all the row compared one by one of first sheet with second sheet
    means i just need to compare 1st row of first sheet with all the rows of second sheet then 2nd row with all then 3hird row and so on
    please help me to slove this problem i have attached the excel file that have two sheets i want to compare rows of sheet 700days with sheet Nifty BB-1 Long 250 days 60min
    please help me
    Attached Files Attached Files
    Last edited by sharad pandey; 06-27-2011 at 04:06 AM. Reason: no aprpriate answer

+ 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