+ Reply to Thread
Results 1 to 8 of 8

Export date from one file to another: report

  1. #1
    Registered User
    Join Date
    01-26-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    55

    Export date from one file to another: report

    Hello again!
    I have a WB like this dummy example.
    The Book1.xls is the original file
    Book2.xls gets the data from Book1.xls and
    the final result should be like the one in Book2!Report.

    Any idea?

    Thanks
    Rob
    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: Export date from one file to another: report

    Copy the list of Companies to your Book2 - column A. Remove duplicates using the Data->Remove Duplicates option.
    Then in column B, put this formula -
    Please Login or Register  to view this content.
    In column C, put this formula -
    Please Login or Register  to view this content.
    Change references as required. Drag down to how many ever rows are needed.
    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
    01-26-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    55

    Re: Export date from one file to another: report

    Sorry for my ignorance but what is "$J2" for?
    Thanks
    R

    Edit: Ok Now I GET IT!!!!!!!!!
    Last edited by Rober; 02-20-2012 at 04:54 AM.

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

    Re: Export date from one file to another: report

    Oops i am sorry, it should be A2.

  5. #5
    Registered User
    Join Date
    01-26-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    55

    Re: Export date from one file to another: report

    Thanks Arlette,
    I figured it out soon enough!

    I have another example here if you can help me with this one.
    The concept is the same but I would like to extract the clients name/ per sheet (company).

    Every Company is in its own sheet and the same data needs to be listed like in ABCD (Sheet 1)
    I have no idea what to use.

    Thanks in Advance!

    Rober
    Attached Files Attached Files

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

    Re: Export date from one file to another: report

    You can do this -
    Have a macro that will copy the data to its respective tab. Then it will do the calculations for you for New & Old Boxes...will this work?

  7. #7
    Registered User
    Join Date
    01-26-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    55

    Re: Export date from one file to another: report

    Macro would be ok,
    but if I wanted not to use the macro what would the formula be?
    VLookup? Search?
    I am still searching...
    Thanks
    R

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

    Re: Export date from one file to another: report

    I guess it would be a mix of Index, Match functions. But i am not very comfy with those. I can help you with a macro that will do the actions you want on the click on a button.

+ 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