+ Reply to Thread
Results 1 to 9 of 9

Extract data to another sheet on daily basis from different sheets using macros

  1. #1
    Registered User
    Join Date
    09-17-2012
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    16

    Extract data to another sheet on daily basis from different sheets using macros

    Hi,

    I had attached two workbooks, one the source(Sample CBR) and another the destination(Sep...).

    I want to extract the complete rows that contains the amount excess or shortage(i.e.>0) in the columns excess and shortage to the file Sep... and as per all columns in Sep..

    The date is to be extracted from 1st sheet.and other data from 2nd sheet(C3R MIS).

    The next day the source file will be another workbook with next day date and data but destination file remain the same and so on up to last date of the month.For next month the destination will be new file Oct...

    Please help using macros.

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Extract data to another sheet on daily basis from different sheets using macros

    You will need to explain to us how we should generate the output. What data needs to go where.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    09-17-2012
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Extract data to another sheet on daily basis from different sheets using macros

    Hi,

    Sorry for I couldn't explain it correctly.


    Anyway,

    I want to copy data from "sample cbr" sheet "C3R MIS" ,column A,AN,AO,AP,AQ,AS,AT,AU and AV (Highlighted with Yellow Color)to "September 2012"(Blank sheet) and only the rows with excess and shortage amount.In this example I want to copy row no 6,7 and 12.No other row should be copied.Also the date from Sheet "BR.MIS" should be copied to "September 2012".

    The data should look like the "September 2012" after coping the data(Highlighted with Red Background).

    I think you understand the problem.

    Thanks.
    Attached Files Attached Files
    Last edited by sawatamali; 09-22-2012 at 12:46 AM.

  4. #4
    Registered User
    Join Date
    09-17-2012
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    16

    Exclamation Re: Extract data to another sheet on daily basis from different sheets using macros

    Hello,

    I am waiting for reply.

    Thanks and regards

  5. #5
    Registered User
    Join Date
    09-17-2012
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Extract data to another sheet on daily basis from different sheets using macros

    Hi,

    yet not replied.


    Thanks and Regards


    Mahesh

  6. #6
    Registered User
    Join Date
    09-17-2012
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Extract data to another sheet on daily basis from different sheets using macros

    Hi,

    I don't understand that why my thread is replied.


    Thanks again.


    Mahesh

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Extract data to another sheet on daily basis from different sheets using macros

    Why do you need to copy only rows 6,7 and 12?

    What is the common element? I see only "LOADING MISMATCH" as common. But this also exists in row 13..

    Which is the condition that the date 20 september, must transfer to the new sheet?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  8. #8
    Registered User
    Join Date
    09-17-2012
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Extract data to another sheet on daily basis from different sheets using macros

    Hi Fotis1991,

    Thanks for your reply.

    I only want to copy the rows containing excess or shortage amount(I.e. row 6 contain shortage amount of rs.500 and row 6 and 12 contain excess amount of rs.7000 and 100 respectively).

    The data may contain more rows with excess or shortage amount which is to be copied.

    There is no condition for date.But everyday a new sheet will be opened and everyday the next day date is to be copied.That means that i want to copy rows every day to the September sheet up to last date of the month.

    Again Thanks and regards.

  9. #9
    Registered User
    Join Date
    09-17-2012
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Extract data to another sheet on daily basis from different sheets using macros

    Hi Fotis1991,

    Waiting for your reply.

    Thanks.

+ 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