+ Reply to Thread
Results 1 to 6 of 6

Find cell contianing x return value in next cell

  1. #1
    Registered User
    Join Date
    05-01-2011
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    29

    Question Find cell contianing x return value in next cell

    Hi, Wondering if anyone can help I'm looking for a formula to.

    Match column D with column A and return the value from column E.

    excel.PNG

    The spreadsheet is more complicated then my example so I'm unable to use SUM, I need the formula to look for the cell containing value.

    Thank You

  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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,784

    Re: Find cell contianing x return value in next cell

    Are you still using Excel 2007?

    Try this:

    =INDEX(E:E,MATCH(A4,D:D,0))
    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
    Registered User
    Join Date
    05-01-2011
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    29

    Re: Find cell contianing x return value in next cell

    Hi, Thanks for your help.

    I'm using Office 365. Your formula works however only if the data matches. The value in column A may not always be an exact match as cells in column C contain some extra data.

    I.E.

    A4 = XXX01
    C4 = XXX01 (127.0.0.1)
    Last edited by Nick.123; 04-07-2020 at 12:09 PM.

  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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,784

    Re: Find cell contianing x return value in next cell

    Try this:

    =INDEX(E:E,MATCH(A4&"*",D:D,0))

    Please update your forum user profile. Thanks.

  5. #5
    Registered User
    Join Date
    05-01-2011
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    29

    Re: Find cell contianing x return value in next cell

    That's perfect, thank you.

    Updated my profile

  6. #6
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,784

    Re: Find cell contianing x return value in next cell

    Thanks.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. Replies: 9
    Last Post: 08-24-2017, 09:16 PM
  2. Find a string withing cell range and return cell number
    By visak in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-16-2015, 09:19 PM
  3. Find last cell containing text in row then return date from above cell
    By tom.mat.walker in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-22-2014, 10:32 AM
  4. Replies: 0
    Last Post: 03-06-2014, 07:27 AM
  5. Replies: 6
    Last Post: 09-18-2012, 10:43 AM
  6. [SOLVED] Find cell value and return even number on adjacent cell
    By Surya51 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-29-2012, 01:03 PM
  7. Find cell in array, return value of cell next to it
    By ryanfrank in forum Excel General
    Replies: 9
    Last Post: 10-26-2009, 04:50 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