+ Reply to Thread
Results 1 to 5 of 5

Dropdown - option is picked it will return a date

  1. #1
    Registered User
    Join Date
    01-24-2008
    Posts
    18

    Easy one, just not for me!

    ok,
    All i need is say cell F8 to have a drop down box with the options plus 1, plus 2, plus 3
    where when the option is picked it will return a date plus whatever.
    I can already do a list linking to cells with the dates in but I don't want the drop down to show the actual dates, just whatever name i want.

    Another option is seperate buttons within the sheet which will change cell F8 to any given value.

    Thanks
    Last edited by MrJennings; 01-24-2008 at 09:27 AM. Reason: add title

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    It is unclear what you are asking.

    You need to explain in more detail what you want and provide examples.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    01-24-2008
    Posts
    18
    ok, I'm sorry for talking in riddles!

    There is a couple of ways to get the same result.

    the end result I require is one cell (F8) to return a different future date when either a drop down box is used (can be located in a different cell). or by using buttons.

    The options I want are 'Date plus 1 day' 'Date plus 2 day' 'Date plus 3 day' etc. I don't want the drop down to show the resulting date, just the options, I only want the result in one cell, F8.

    Thanks again

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    To create the drop down list... go to Data|Validation and select List from the Allow dropdown menu.

    In the Source field enter the 3 choices separated by commas (do not put quotes around them).

    e.g.
    Date plus 1 day,Date plus 2 day,Date plus 3 day
    Click oK.

    Now say you put that drop down in B1 and your original date is in F1, then this formula in F8 should give you the result you want:

    =MID(B1,11,1)+F1

    Note: The 11 in this formula is the position your digit occurs in each option... if you alter the text in the options you gave you will have to change the number 11 to correspond to where in the text the digit is located.

    Change also the cell references to match where your actual references are.

  5. #5
    Registered User
    Join Date
    01-24-2008
    Posts
    18
    Thanks,
    i don't know how it works, but it does

    thanks again

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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