+ Reply to Thread
Results 1 to 11 of 11

Extract the value of above cell which has a particular word string

Hybrid View

  1. #1
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    697

    Extract the value of above cell which has a particular word string

    Hi,
    Refer to the attached picture, If cell in Column A has date, extract the Purchase requisition number related to that.
    Note: I am not able to upload the file right now due to some IT issue.

    Pic.jpg

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,645

    Re: Extract the value of above cell which has a particular word string

    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.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    697

    Re: Extract the value of above cell which has a particular word string

    As I said before, I am not able to attach the sample worksheet here.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,645

    Re: Extract the value of above cell which has a particular word string

    Quote Originally Posted by Shareez Saleem View Post
    As I said before, I am not able to attach the sample worksheet here.
    Didn't see that.

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Extract the value of above cell which has a particular word string

    @Shareez Saleem

    As I said before, I am not able to attach the sample worksheet here.
    of course you can.

    maybe your question is how to attach the file.

    To Attach a File:

    1. Scroll down to the window below your post Additional Options
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  6. #6
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    697

    Re: Extract the value of above cell which has a particular word string

    I know how to but right now, I am not able to do it due to some IT issue.

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Extract the value of above cell which has a particular word string

    Try this...

    Data Range
    A
    B
    1
    Header
    Header
    2
    Data1
    3
    1/1/2016
    Data1
    4
    Data2
    5
    5/22/2016
    Data2
    6
    Data3
    7
    5/25/2016
    Data3
    8
    Data4
    9
    6/1/2016
    Data4
    10
    6/2/2016
    Data4
    11
    6/14/2016
    Data4


    This formula entered in B3 and copied down:

    =IF(N(A3),LOOKUP("zzzzz",A$2:A2),"")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  8. #8
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    697

    Re: Extract the value of above cell which has a particular word string

    Thank you, how it works? why zzzzz?

  9. #9
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Extract the value of above cell which has a particular word string

    The LOOKUP function is looking for the TEXT value zzzzz.

    If it can't find it (which it never will), it will return the LAST (bottom-most) TEXT value in the range.

  10. #10
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    697

    Re: Extract the value of above cell which has a particular word string

    Thanks a ton Tony.

  11. #11
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Extract the value of above cell which has a particular word string

    You're welcome!

+ 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] Extract last word string
    By Shareez Saleem in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-06-2015, 06:20 AM
  2. Formula to extract word out of text string in cell
    By Thonkhan in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-08-2014, 02:00 AM
  3. Extract last word from a string and next to last word and so on.
    By ejbeckwith in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-14-2013, 08:51 AM
  4. [SOLVED] extract word from string
    By sep910 in forum Excel General
    Replies: 3
    Last Post: 09-03-2013, 04:59 AM
  5. Extract Word from String
    By minhestrone in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-21-2013, 11:06 PM
  6. Extract word from alphanumeric string
    By sam sam in forum Excel General
    Replies: 4
    Last Post: 04-25-2012, 09:07 AM
  7. How do I extract a word from a string?
    By Gabe Tiger in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-14-2006, 10:55 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