+ Reply to Thread
Results 1 to 4 of 4

Automatically search the specific parts and paste its in a different column

  1. #1
    Forum Contributor PRADEEPB270's Avatar
    Join Date
    02-19-2010
    Location
    INDIA
    MS-Off Ver
    MSoffice-2016
    Posts
    332

    Automatically search the specific parts and paste its in a different column

    I have a file with 45 sheets related to different model.I want to know an excel formula which I want to apply on any one sheets and copy of that formula on all the sheets automatically in the same time.I want to know the specific parts end with "C" and want to apply an excel formula in a sheet.It should be copy automatically on all the sheets within the same time.

    Please refer the attached file for more clarification.

    In which,I have taken 4 sheets only and highlighted the parts of my expected result.Further,I have copy of these in column I.


    Regards

    Pradeep Kumar Gupta
    Attached Files Attached Files
    Last edited by PRADEEPB270; 05-06-2010 at 12:31 AM.

  2. #2
    Forum Contributor
    Join Date
    02-25-2010
    Location
    Boston
    MS-Off Ver
    Excel 2007
    Posts
    174

    Re: Automatically search the specific parts and paste its in a different column

    The simplest way would be a Macro.

    You will need to write one that searches the B column using the Right() function to find the 'C's and then a counter to tell it where to paste. Use the 'For Each Sheet' function to have it scroll through all 45 sheets.

    Edit: If possible you are going to want to cleanse your data and remove gaps in rows, this will allow the macro to run more smoothly.

  3. #3
    Forum Contributor PRADEEPB270's Avatar
    Join Date
    02-19-2010
    Location
    INDIA
    MS-Off Ver
    MSoffice-2016
    Posts
    332

    Re: Automatically search the specific parts and paste its in a different column

    This is not my required solution.Thanks for your efforts.If any one can help me,I will be glad.

    Regards

    Pradeep Kumar Gupta

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Find specific parts from all and paste its in a separate column

    1) Click on the first sheet
    2) Shift-click on the last sheet (all sheets are now selected)
    3) In J1 enter the following formula:

    =IF(I1="", "", INDEX(F:F, MATCH(I1,B:B, 0)))

    ...and copy down a ways in that column.

    4) Right-click a sheet and select Ungroup Sheets

    Now all sheets have a formula in column A to lookup the prices of any code entered into column I.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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