+ Reply to Thread
Results 1 to 6 of 6

Function to find a certain text and put the text to another cell in a different sheet

  1. #1
    Registered User
    Join Date
    07-13-2016
    Location
    Genk, Belgium
    MS-Off Ver
    2013
    Posts
    7

    Function to find a certain text and put the text to another cell in a different sheet

    Hi guys,

    For example i have in sheet 1 - cell C4=ABC15102 and in cell D4=ABC2471. I want when is written something in D4 the text to be copied in another cell from sheet 2.
    And when you have the same text in sheet 2 to give a error or highlight text and announce you that.

    Do you have any ideea of how to make such statement?

    Thanks in advance

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Function to find a certain text and put the text to another cell in a different sheet

    Hi Ionko welcome to the forum.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Registered User
    Join Date
    07-13-2016
    Location
    Genk, Belgium
    MS-Off Ver
    2013
    Posts
    7

    Re: Function to find a certain text and put the text to another cell in a different sheet

    Thank you sir. I had the impression the attachment fille is there. @Sorry i cannot use the original data, but i hope the example is ok.
    Attached Files Attached Files

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Function to find a certain text and put the text to another cell in a different sheet

    Try in sheet File nr

    B2=IFERROR(INDEX(MAIN!A:A,MATCH('File nr'!A2,MAIN!B:B,0)),"") and drag down!!

  5. #5
    Registered User
    Join Date
    07-13-2016
    Location
    Genk, Belgium
    MS-Off Ver
    2013
    Posts
    7

    Re: Function to find a certain text and put the text to another cell in a different sheet

    Thank you sir. I m trying now to highlight if the same file nr is in two different cells shown

  6. #6
    Registered User
    Join Date
    07-13-2016
    Location
    Genk, Belgium
    MS-Off Ver
    2013
    Posts
    7

    Re: Function to find a certain text and put the text to another cell in a different sheet

    Hei Shukla, if to this B2=IFERROR(INDEX(MAIN!A:A,MATCH('File nr'!A2,MAIN!B:B,0)),"") i want to highlight the file nr that is not assigned to a doc nr.

    Should be in a different cell? Or i can do it with ANDIF?

+ 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. [SOLVED] Using vlookup to find text on different sheet. (Text will not always in the same cell)
    By onlyconnect in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 04-14-2014, 11:33 AM
  2. InStr function doesn't find specific text, but finds any text in column and runs code
    By mikey3580 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-27-2014, 03:50 AM
  3. Replies: 5
    Last Post: 01-06-2014, 05:33 AM
  4. [SOLVED] nested if function trying to find text and return text in different cell
    By shelbyleighh in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-14-2013, 12:16 PM
  5. Replies: 3
    Last Post: 10-24-2012, 07:11 AM
  6. Replies: 12
    Last Post: 01-14-2008, 03:01 PM
  7. Find text in cell, copy row to new sheet
    By Ajay in forum Excel General
    Replies: 6
    Last Post: 06-29-2005, 04:05 AM

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