+ Reply to Thread
Results 1 to 10 of 10

searching inside cell text

  1. #1
    Registered User
    Join Date
    10-03-2009
    Location
    cairo
    MS-Off Ver
    Excel 2003
    Posts
    33

    searching inside cell text

    hi all
    i am looking for your kind help in formula or vb code to do the following
    i have two columns one of them has an employees numbers every number in every cell and the other column has in every cell a text and date and one number from the numbers of the the other column >
    what i need is to but the beside every cell the employee number in third column ?
    i tried to make vlooup formula but it doesn't work because it can not search about numbers inside text >
    i tried to remove all text character and keep only digits but because cells has dates too i couldn't separate the employee numbers .

    your help is really appreciated

  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: searching inside cell text

    I truly think we would need to see an example of your data, AND expected output for a few entries to understand what you want...see below to upload a sample workbook...
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  3. #3
    Registered User
    Join Date
    10-03-2009
    Location
    cairo
    MS-Off Ver
    Excel 2003
    Posts
    33

    Re: searching inside cell text

    find attached
    Attached Files Attached Files

  4. #4
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: searching inside cell text

    How about this Array Formula (Cntrl+Shift+Enter, not just Enter) in C2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag down

    Note- This will take the FIRST matching number in the list in column A, if there is no match, it returns "" (blank)

    Hope this helps

  5. #5
    Registered User
    Join Date
    10-03-2009
    Location
    cairo
    MS-Off Ver
    Excel 2003
    Posts
    33

    Re: searching inside cell text

    it works perfectly
    as usual great forum running with amazing people
    THANK YOU SO MUCH

  6. #6
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: searching inside cell text

    You are welcome

  7. #7
    Registered User
    Join Date
    10-03-2009
    Location
    cairo
    MS-Off Ver
    Excel 2003
    Posts
    33

    Re: searching inside cell text

    sorry , once again there is another small problem .the formula search inside decimal numbers so it takes any matching inside the decimal number > so any way to neglect such numbers when searching process ?
    example attached
    Attached Files Attached Files

  8. #8
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: searching inside cell text

    Try this version (changes in red and underlined):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    (again Cntrl+Shift+Enter, not just Enter)

    Hope this helps
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    10-03-2009
    Location
    cairo
    MS-Off Ver
    Excel 2003
    Posts
    33

    Re: searching inside cell text

    it works
    again thank you for your effort

  10. #10
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: searching inside cell text

    You are welcome

+ 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