+ Reply to Thread
Results 1 to 8 of 8

If cell contains specific text, then return a value

  1. #1
    Registered User
    Join Date
    01-11-2023
    Location
    Brussels
    MS-Off Ver
    2211
    Posts
    4

    If cell contains specific text, then return a value

    Cross-posted at https://www.mrexcel.com/board/thread...value.1226621/

    Hello all,
    I need some help.

    I have an small excel with 5 rows and I need a formula that inserts a fix date.

    The rows are:
    Location-task-status-pending-completed

    On the status row I have a drop-down menu with 3 options(new,pending,done)

    What I exactly need is to convert this formula into a fix date:

    =IF(cell="text", value_to_return, "")


    So if in ?status row? I choose ?done option?, in the ?completed row? it shows the date this option was chosen.

    Where ?value to return? is a fix date for the option chose on status and does not change unless you change on the drop-down menu.
    I am attaching a screen shoot.



    I thanks you in advace for you help.

    Best.
    Captura 1.PNG
    Last edited by 6StringJazzer; 01-11-2023 at 11:43 AM. Reason: added xpost link

  2. #2
    Registered User
    Join Date
    01-11-2023
    Location
    Brussels
    MS-Off Ver
    2211
    Posts
    4

    Re: If cell contains specific text, then return a value

    Sorry, the interrogations are suposed to be inverted comas, I dont know why it did not work.

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,696

    Re: If cell contains specific text, then return a value

    We are having problems displaying some special characters in posts, and they are displayed as "?" characters. Just use " and ' characters instead.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,696

    Re: If cell contains specific text, then return a value

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not told us about this. You are required to do so.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important: https://excelguru.ca/a-message-to-forum-cross-posters/

    I have added it for you since it's your first post.

  5. #5
    Registered User
    Join Date
    01-11-2023
    Location
    Brussels
    MS-Off Ver
    2211
    Posts
    4

    Re: If cell contains specific text, then return a value

    thanks, I did not know, nd of course I did not read the forum rules. I apologize, I will do in the future.

    I did posted in another as it is urgent for me and I need help quickly and I still not have a functioning answer.

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,696

    Re: If cell contains specific text, then return a value

    There is VBA solution posted in the other thread and you said it works.

  7. #7
    Registered User
    Join Date
    01-11-2023
    Location
    Brussels
    MS-Off Ver
    2211
    Posts
    4

    Re: If cell contains specific text, then return a value

    Correct, it work.

    I dont know how to close the thread......

    Thanks

  8. #8
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,696

    Re: If cell contains specific text, then return a value

    If your question has been answered please mark your thread as "Solved" so that members will know by looking at the thread title that your problem is solved. Go to the menu immediately above your first post to the thread and click on Thread Tools. From the dropdown menu select "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. find two text conditions in cell and return specific text
    By Excelidiot01 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-30-2020, 08:15 AM
  2. How to Return Value of Cell or return specific text
    By jolthof in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-17-2020, 11:54 PM
  3. Replies: 15
    Last Post: 01-29-2020, 04:38 PM
  4. Replies: 6
    Last Post: 06-13-2019, 09:07 PM
  5. Replies: 9
    Last Post: 11-01-2016, 10:09 PM
  6. Return specific value IF specific text in cell
    By scones in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-14-2015, 01:18 AM
  7. Replies: 3
    Last Post: 06-20-2012, 07:16 AM

Tags for this Thread

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