+ Reply to Thread
Results 1 to 15 of 15

copy a row contents from one sheet to another sheet in a workbook, if certain criteria mee

  1. #1
    Registered User
    Join Date
    12-04-2014
    Location
    aurangaba
    MS-Off Ver
    2010
    Posts
    11

    copy a row contents from one sheet to another sheet in a workbook, if certain criteria mee

    Hi, I am a new user and have an assignment to complete asap.

    My question is how to copy a row contents from one sheet to another sheet in a workbook, if certain criteria meets.

    Ok, now clearly, I am working on a asset inventory report with several sheets. Sheet 1 contains master report which tracks various projects with employees name, Warranty , department , type of hardware , etc

    Sheet 2, 3 etc. tracks each individual project asset inventory information , warranty , type .

    When I enter information in sheet 1, Is there any way to copy information automatically to individual project sheets? By the way we use excel 2003. Any help would be much appreciated, thank you.

    Please find the attachment for master data.

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: copy a row contents from one sheet to another sheet in a workbook, if certain criteria

    So would you just be adding rows on the bottom of Sheet 1?

    and then have them append to the next blank row in the relevant sheet?
    If someone has helped you then please add to their Reputation

  3. #3
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Cool Re: copy a row contents from one sheet to another sheet in a workbook, if certain criteria

    Hi Kashi,
    I have used advanced filter technique to pull data to the respective sheets.
    You have to fill data in master sheet and push the buttons in the GIN and PEPA sheets ( placed at AF Column )
    I have used Macros so enable it. Nothing but two basic codes making the task easy.
    Here is the code for reference:
    Please Login or Register  to view this content.
    Check the attached file :-
    Attached Files Attached Files
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

  4. #4
    Registered User
    Join Date
    12-04-2014
    Location
    aurangaba
    MS-Off Ver
    2010
    Posts
    11

    Re: copy a row contents from one sheet to another sheet in a workbook, if certain criteria

    Thanks for your help , I have downloded file and it work for me.

    But i am not able to understand the furmula, i have attached new excel with all sheets where i required data from master sheet like department data, type of asset , warrant / AMC / Replacment data, chargable date ,

    Thanks in advance.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-04-2014
    Location
    aurangaba
    MS-Off Ver
    2010
    Posts
    11

    Re: copy a row contents from one sheet to another sheet in a workbook, if certain criteria

    Yes please help me in this

  6. #6
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: copy a row contents from one sheet to another sheet in a workbook, if certain criteria

    Done it..
    here is one code
    Just put in data in Master sheet and run the code
    Please Login or Register  to view this content.
    check the attached file
    Attached Files Attached Files

  7. #7
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: copy a row contents from one sheet to another sheet in a workbook, if certain criteria

    In case if you don't know how to run the macro.
    1. Press Alt + F8
    2. Select Macro named "ADVFIL"
    3. Click Run
    Thats it, Enjoy

  8. #8
    Registered User
    Join Date
    12-04-2014
    Location
    aurangaba
    MS-Off Ver
    2010
    Posts
    11

    Re: copy a row contents from one sheet to another sheet in a workbook, if certain criteria

    Thanks for your help.


  9. #9
    Registered User
    Join Date
    12-04-2014
    Location
    aurangaba
    MS-Off Ver
    2010
    Posts
    11

    Re: copy a row contents from one sheet to another sheet in a workbook, if certain criteria

    Hi Vikas sir,

    I have downloded file and check, it is working for Department but it is not working for ohter colum like Cost Type, Type , Expiry Month and Replacement. Data is not moving to respective sheet.

    Also i miss on sheet for ME department.

    I know i am giving you lotoff truble but i am a new user for EXCEL.

    thanks in advance.

  10. #10
    Registered User
    Join Date
    12-04-2014
    Location
    aurangaba
    MS-Off Ver
    2010
    Posts
    11

    Re: copy a row contents from one sheet to another sheet in a workbook, if certain criteria

    Hi Vikas,

    Waiting for your suggation.

  11. #11
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: copy a row contents from one sheet to another sheet in a workbook, if certain criteria

    try changing this line to whatever other types you have

    Please Login or Register  to view this content.

  12. #12
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: copy a row contents from one sheet to another sheet in a workbook, if certain criteria

    Hi Kashi,
    The trick is you have to match the Department column in Master sheet with the sheets names.
    if they don't match, it won't work.
    I hope this helps, there is nothing wrong with the code itself.
    if you can provide a sheet with more rows, that would be helpful...
    Last edited by Vikas_Gautam; 12-08-2014 at 01:12 PM.

  13. #13
    Registered User
    Join Date
    12-04-2014
    Location
    aurangaba
    MS-Off Ver
    2010
    Posts
    11

    Re: copy a row contents from one sheet to another sheet in a workbook, if certain criteria

    Hi Vikas sir,
    Yes, there is nothing wrong with code.
    It is working for department coloum but i required this soulation for more coloum that is mention below

    1) Cost Type
    2) Type
    3) Expiry Month
    4) Replacement

    Please check if it is possible, thanks in advance.

  14. #14
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: copy a row contents from one sheet to another sheet in a workbook, if certain criteria

    Pls refer Personal Messages and reply..
    However my question is
    What condition statement do you want in among criterias ?
    ie. AND , OR

  15. #15
    Registered User
    Join Date
    12-04-2014
    Location
    aurangaba
    MS-Off Ver
    2010
    Posts
    11

    Re: copy a row contents from one sheet to another sheet in a workbook, if certain criteria

    Hi Vikas Sir,

    I am new user in excel, is there any book to learen Micro and other function in excel.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro to build new sheet in workbook based upon contents of a different sheet in same book
    By IrishMist1748 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-09-2014, 06:44 PM
  2. Function to copy cell contents from sheet 1 to sheet 2
    By cameron213 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-26-2014, 08:13 PM
  3. [SOLVED] Copy and paste data from sheet 2 to sheet 1 based on specific criteria on sheet 1
    By VBADUD in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2012, 04:18 AM
  4. copy sheet to new sheet, rename it, return cell contents
    By soldstatic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-11-2009, 01:49 PM

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