+ Reply to Thread
Results 1 to 5 of 5

Return Cell Column of the Cell that contains text within a Range

  1. #1
    Registered User
    Join Date
    03-24-2021
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    13

    Return Cell Column of the Cell that contains text within a Range

    Hi All,

    Please see the attached.

    I have a series of columns containing due dates for different rows. I want to be able to automatically select the payment due date from the column by using a formula that has the following logic "if row range contains text, return due date from the column of the cell that contains text within the range".

    Thank you so so much in advance for your help!
    Attached Files Attached Files

  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
    81,091

    Re: Return Cell Column of the Cell that contains text within a Range

    In B3 copied down:

    =INDEX($D$2:$K$2,MATCH(99^99,$D3:$K3))

    Set cell formatting to SHORT DATE.

    AliGW on MS365 Insider (Windows) 32 bit
    A
    B
    2
    Payments Payment Due Date
    3
    Payment 1 01/10/2014
    4
    Payment 2 01/05/2016
    5
    Payment 3 01/12/2020
    6
    Payment 4 01/06/2019
    7
    Payment 5 01/05/2016
    Sheet: Sheet1
    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
    03-24-2021
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    13

    Re: Return Cell Column of the Cell that contains text within a Range

    Thank you so much Ali <3

  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
    81,091

    Re: Return Cell Column of the Cell that contains text within a Range

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

    Also, 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 all those who offered help.

  5. #5
    Registered User
    Join Date
    03-24-2021
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    13

    Re: Return Cell Column of the Cell that contains text within a Range

    Thank you, Done!

+ 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] If column cell contains text return that text OR if blank return text from cell above
    By Doolski in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-07-2019, 07:16 AM
  2. Replies: 2
    Last Post: 10-03-2014, 03:46 AM
  3. Replies: 5
    Last Post: 01-06-2014, 05:33 AM
  4. [SOLVED] search text of cell in a range and return the contents in the corresponding column
    By kumail in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-18-2013, 06:42 PM
  5. [SOLVED] Find text in a column or range and return value of adjacent cell
    By chemoul in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-20-2012, 04:30 AM
  6. Replies: 1
    Last Post: 08-02-2012, 11:39 PM
  7. Replies: 4
    Last Post: 05-12-2011, 02:25 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