+ Reply to Thread
Results 1 to 10 of 10

Thread: Copy non blank data from one worksheet to another

  1. #1
    Registered User
    Join Date
    01-29-2012
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    6

    Copy non blank data from one worksheet to another

    I want to copy non blank cells from each columns in stock sheet and copy to order sheet under respective heads as shown in my attached file.

    I need a macro for this.

    Please help.


    Rgds


    Vijay
    Attached Files Attached Files

  2. #2
    Forum Guru, retired Admin royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    25,640

    Re: Copy non blank data from one worksheet to another

    I can't see what you criteria are
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel Tips & Solutions, free examples and tutorials why not check out my downloads

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)

  3. #3
    Valued Forum Contributor
    Join Date
    12-05-2011
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    213

    Re: Copy non blank data from one worksheet to another

    Hi there

    I think the attached does what you need.

    Cheers, Rob.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    01-29-2012
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Copy non blank data from one worksheet to another

    Hi Smith


    Thanks a lot


    Vijay.

  5. #5
    Registered User
    Join Date
    01-29-2012
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Copy non blank data from one worksheet to another

    Hi Smith

    I just want to refine the solution you have given me. Is it possible that the data in the stock sheet can be copied (only active cells in a column) to order sheet as per the format i have attached with totals, running order nos. and current date.

    Please help.

    Regards,

    Vijay.
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor
    Join Date
    12-05-2011
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    213

    Re: Copy non blank data from one worksheet to another

    Hi Vijay

    Does the header information always stay the same for each company (e.g. Anupam is always XTC/KL/13666/ORDER/1799, Dest EDAPALLY, etc)?

    If not, I will need to know how the order number relates to the data. If there is another spreadsheet you have with order number and Party Name, Destination, Thru, please could you provide this? The data will need to be in a table on a separate sheet of this spreadsheet so it can be retrieved and put in the header of your new format.

    I guess the Material Description the same as Bearing No., and Code the same as Material?

    Cheers, Rob.

  7. #7
    Registered User
    Join Date
    01-29-2012
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Copy non blank data from one worksheet to another

    HI Smith,

    Thanks for your reply.

    I have attached the spreadsheet with a separate sheet 'Master' as you requested. If any new party is added to stock sheet and master sheet i should be able to extract the data as required including the new party.

    Kindly let me know anything else is required. If a solution is found i will be verymuch thankful to you.


    Regards,


    Vijay.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    01-29-2012
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Copy non blank data from one worksheet to another

    HI

    Can anybody help on this issue

    Vijay

  9. #9
    Valued Forum Contributor
    Join Date
    12-05-2011
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    213

    Re: Copy non blank data from one worksheet to another

    Hi Vijay

    Apologies for the delay - been busy with other things. Here is what you asked for.

    Cheers, Rob.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    01-29-2012
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Copy non blank data from one worksheet to another

    Hi Smith

    Fantastic work man. I got the thing i want. It works. Sorry i was just working with the same file with some changes as in need and it worked. That's why there is delay in thanking you. Thanks a lot.

    But i will be in touch with you for other similar jobs if you dont mind.

    Regards,


    Vijay.

+ 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.2.0