+ Reply to Thread
Results 1 to 7 of 7

Need cell populating with date if certain word is selected from dropdown in different cell

  1. #1
    Registered User
    Join Date
    11-13-2020
    Location
    Sheffield, England
    MS-Off Ver
    2019
    Posts
    10

    Need cell populating with date if certain word is selected from dropdown in different cell

    I need a formula so that the date in G2 is 90 days from the date in F2 if E2 is populated by a certain word from a drop down

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Need cell populating with date if certain word is selected from dropdown in different

    May be in G2:
    =IF(ISNUMBER(SEARCH("that word",E2)),F2+90,"")
    Quang PT

  3. #3
    Registered User
    Join Date
    11-13-2020
    Location
    Sheffield, England
    MS-Off Ver
    2019
    Posts
    10
    This gives me a number in cell G2 rather than a date or am I missing something
    Last edited by AliGW; 11-13-2020 at 06:51 AM. Reason: PLEASE don't quote unnecessarily!

  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,869

    Re: Need cell populating with date if certain word is selected from dropdown in different

    Set the cell formatting to short date.
    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.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Need cell populating with date if certain word is selected from dropdown in different

    Just to clarify, a date IS a number. It is the number of days starting from 01/01/1900. So, 1 January 1900 is 1 and today, Friday, 13th November 2020, is 44148. Formatting as Date (or Short Date) will display the date as you expect it to (that is, F2+90).
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  6. #6
    Registered User
    Join Date
    11-13-2020
    Location
    Sheffield, England
    MS-Off Ver
    2019
    Posts
    10
    Thanks all, appreciated

  7. #7
    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,869

    Re: Need cell populating with date if certain word is selected from dropdown in different

    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 those who helped.

+ 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 Dropdown Value is Selected, Cell must be filled in.
    By oblah in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-20-2017, 09:08 AM
  2. Date Picker dropdown for selected cell
    By ldurham in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-25-2016, 12:54 PM
  3. Date Picker dropdown for selected cell
    By ldurham in forum Office 365
    Replies: 1
    Last Post: 03-25-2016, 12:51 PM
  4. Changing Cell Values As Per The Value Selected In A Dropdown
    By crouching_tiger in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-04-2014, 10:59 AM
  5. Replies: 1
    Last Post: 05-02-2011, 10:09 PM
  6. Populating numerical values in adjacent cell from using a dropdown list
    By up_and_under in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 06-30-2010, 10:30 AM
  7. Replies: 3
    Last Post: 01-09-2010, 08:42 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