+ Reply to Thread
Results 1 to 8 of 8

Finding text in cells and return a value from other cell

Hybrid View

  1. #1
    Registered User
    Join Date
    10-29-2013
    Location
    israel
    MS-Off Ver
    Microsoft Office 2013
    Posts
    58

    Finding text in cells and return a value from other cell

    here's the problem i have:

    i have 5 tables, 1 for each day.
    in specific column i have the "discribe a problem" area.
    in that column i want to find a certain text and if the text was found it will show the date of the day that located in other cell of the table.
    and i want to do that for all the 5 days but if it find the text in day 1 it will show the date of day 1, and if in day 2, then date of day 2. and all this formula to be in one cell (because we don't know which day will have the text im looking for) and in other sheet.

    iv'e tried with any function you could imagine: find, lookup, vlookup, search, index, match, find
    and using them together like index and match. and i couldn't figure how to solve this.

    Thank you for your help
    Last edited by damaple; 11-01-2013 at 05:41 AM.

  2. #2
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Finding text in cells and return a value from other cell

    Please upload an example - it's make life so much easier for all

  3. #3
    Registered User
    Join Date
    10-29-2013
    Location
    israel
    MS-Off Ver
    Microsoft Office 2013
    Posts
    58

    Re: Finding text in cells and return a value from other cell

    Ok

    sheet 1:
    here is 3 days (just to show the idea, dont need the whole week).
    in colunm c there is the text i need to find.
    if the text is blah, the date of the day (with the blah) will be in F3 in sheet 2
    jhejd3yvz0cn.jpg

    sheet 2:
    dlgzntkmywoz.jpg

    in this example it will be 02.10.2013

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Finding text in cells and return a value from other cell

    Pictures are nice but no one can works on it!

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. 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 demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Registered User
    Join Date
    10-29-2013
    Location
    israel
    MS-Off Ver
    Microsoft Office 2013
    Posts
    58

    Re: Finding text in cells and return a value from other cell

    i didn't know how to make the data desensitize.

    look at what i've done.

    in "sheet with data" there's 3 tables for 3 days in a week and 3 weeks.
    in "sheet of weeks" there's table with all the weeks so far and below them the date.
    now, in that date cell in "sheet of weeks" i need the formula. the condition for the date in week 1 is if in week 1 (in the first sheet) there's an x in the problem column if so, it copys the date of the day.
    in week 2 there is no "x" so in the date cell its "none".
    and do this for all the weeks.


    i hope you understand.
    Attached Files Attached Files

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Finding text in cells and return a value from other cell

    Using this formula

    Formula: copy to clipboard
    =IFERROR(INDEX('sheet with data'!$H$2:$H$21;MATCH("x";'sheet with data'!$I$3:$I$21;0));"none")


    You get your results but you need to use the next to your data column filling with your dates..
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    10-29-2013
    Location
    israel
    MS-Off Ver
    Microsoft Office 2013
    Posts
    58

    Re: Finding text in cells and return a value from other cell

    Thanks! it works!

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Finding text in cells and return a value from other cell

    You are welcome and thanks for the feedback.

    As that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED,as per Forum Rule #9. Thank you.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. Finding a text in a row and return exactly the adjacent cell value
    By msourav84 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-28-2013, 08:06 AM
  2. If cell contains text1, text2 or text 3 return this text, otherwise return X
    By bukmanodrama in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-26-2013, 09:24 AM
  3. Replies: 3
    Last Post: 01-02-2013, 10:06 PM
  4. finding a value and return the cells name
    By fallenapollo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-18-2010, 12:28 PM
  5. [SOLVED] Finding (RETURN) in a String within a cell
    By Michael Kintner in forum Excel General
    Replies: 4
    Last Post: 02-15-2006, 01:10 PM

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