+ Reply to Thread
Results 1 to 31 of 31

Select a date then auto fill from worksheet

  1. #1
    Forum Contributor
    Join Date
    03-09-2007
    Location
    Australia
    MS-Off Ver
    Office 10
    Posts
    371

    Select a date then auto fill from worksheet

    Looking for formula

    1. In a worksheet I select a date [28814] using a dropdown box H33 in worksheet called "Input"
    2. Using this date the formula looks for worksheet called [28814] and selects the data in F205
    3. Places this figure in "Input" D39

    Hope that you can assist with this one

  2. #2
    Registered User
    Join Date
    03-21-2013
    Location
    denmark
    MS-Off Ver
    Excel 2010
    Posts
    40

    Re: Select a date then auto fill from worksheet

    Please Login or Register  to view this content.
    put this code in D39

  3. #3
    Forum Contributor
    Join Date
    03-09-2007
    Location
    Australia
    MS-Off Ver
    Office 10
    Posts
    371

    Re: Select a date then auto fill from worksheet

    Sorry cannot get that to work
    Need to put date in H33 in "Input" workbook
    The search for worksheet tab [e.g. 28814] to F205 in 28814 and place that number in "Input d39

  4. #4
    Registered User
    Join Date
    03-21-2013
    Location
    denmark
    MS-Off Ver
    Excel 2010
    Posts
    40

    Re: Select a date then auto fill from worksheet

    can you post the workbook then I do it for you

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Select a date then auto fill from worksheet

    =indirect(h33&"!"&"f205")

    if you use the solution givenin in #2:

    did you change the ; in a , (comma)?

    arte the date of the sheetname equal, or does it look like they are equal, since you use cellformatting?
    Last edited by oeldere; 08-31-2014 at 02:33 AM. Reason: if you (etc added)
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  6. #6
    Forum Contributor
    Join Date
    03-09-2007
    Location
    Australia
    MS-Off Ver
    Office 10
    Posts
    371

    Re: Select a date then auto fill from worksheet

    Here is a rough of what I am trying to do

    Assistance appreciated
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    03-21-2013
    Location
    denmark
    MS-Off Ver
    Excel 2010
    Posts
    40

    Re: Select a date then auto fill from worksheet

    test.xlsx

    it works perfect

  8. #8
    Registered User
    Join Date
    03-21-2013
    Location
    denmark
    MS-Off Ver
    Excel 2010
    Posts
    40

    Re: Select a date then auto fill from worksheet

    give me a sec

  9. #9
    Registered User
    Join Date
    03-21-2013
    Location
    denmark
    MS-Off Ver
    Excel 2010
    Posts
    40

    Re: Select a date then auto fill from worksheet

    well it's because you don't write your sheets as dates or convert the cell with the date and you had a space infront of the formula

    you can do this to ways you format you cell like I did in this one or write the date in the sheet name like in the cell
    Attached Files Attached Files

  10. #10
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Select a date then auto fill from worksheet

    =INDIRECT(INDIRECT("Input!H33")&"!"&"F205")

    See the attachement.

  11. #11
    Forum Contributor
    Join Date
    03-09-2007
    Location
    Australia
    MS-Off Ver
    Office 10
    Posts
    371

    Re: Select a date then auto fill from worksheet

    Thanks for that
    What would I have to do to make 28814 a date format in Input F33 but the Tabs remain 28814 or is it better to make the tabs 28-8-14

  12. #12
    Registered User
    Join Date
    03-21-2013
    Location
    denmark
    MS-Off Ver
    Excel 2010
    Posts
    40

    Re: Select a date then auto fill from worksheet

    right click and format cell to date or what you prefer.

  13. #13
    Forum Contributor
    Join Date
    03-09-2007
    Location
    Australia
    MS-Off Ver
    Office 10
    Posts
    371

    Re: Select a date then auto fill from worksheet

    Problem is that if I make F33 a date format the formula shows an error because it is looking for the TAB with the same format
    I am reluctant to change the TABs because other formula use that format e.g. 28814

    Any suggestions?

  14. #14
    Registered User
    Join Date
    03-21-2013
    Location
    denmark
    MS-Off Ver
    Excel 2010
    Posts
    40

    Re: Select a date then auto fill from worksheet

    look at oeldere post:

    Please Login or Register  to view this content.

  15. #15
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Select a date then auto fill from worksheet

    @bnwash

    In that change the inputcell

  16. #16
    Forum Contributor
    Join Date
    03-09-2007
    Location
    Australia
    MS-Off Ver
    Office 10
    Posts
    371

    Re: Select a date then auto fill from worksheet

    Really appreciate the assistance - Thanks

  17. #17
    Forum Contributor
    Join Date
    03-09-2007
    Location
    Australia
    MS-Off Ver
    Office 10
    Posts
    371

    Re: Select a date then auto fill from worksheet

    This still has me beaten.
    I have added an example for considering
    The problem is converting a date to a number with it working with a formula
    As always assistance appreciated
    Attached Files Attached Files

  18. #18
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Select a date then auto fill from worksheet

    What would be the corresponding tab for a day like 28-12-2014

    is this 281214 or 28214 or something else?

    What would be the corresponding tab for a day like 02-06-2014

    is this 02614 or 2614 or something else?

    You don't show that options in your file.

  19. #19
    Forum Contributor
    Join Date
    03-09-2007
    Location
    Australia
    MS-Off Ver
    Office 10
    Posts
    371

    Re: Select a date then auto fill from worksheet

    It all starts with the date
    I don't care about the format provided it works the numbers at the bottom of the sheet - data 11

  20. #20
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Select a date then auto fill from worksheet

    Please Login or Register  to view this content.
    Maybe you will think this is an anwer to my question in #18.

    But for me it is like chinese, and i don't speak or can read that language.

  21. #21
    Forum Contributor
    Join Date
    03-09-2007
    Location
    Australia
    MS-Off Ver
    Office 10
    Posts
    371

    Re: Select a date then auto fill from worksheet

    Sorry - F18 will always be a date
    The tabs at the bottom are dates 28814 29814 and so on
    I am wanting that when a date is selected or entered in F18 it copies to h33 in a format which drives the Formula in d39 to D43
    I don't have a problem with the formula in D39 to D43 being linked directly to F18
    I originally thought I could link the date and convert it to a number so it would drive the formula in D39-D43 but I cannot get it to work
    Sorry for the confusion

  22. #22
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Select a date then auto fill from worksheet

    @bnwash

    instead of replying what you already explained, please answer (for your benefit) the questions in #18.

  23. #23
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Select a date then auto fill from worksheet

    @ oeldere
    I wold like to explain his requirement , i think u would have understood the same
    Just trying to explain it again , can i ?

    Punnam

  24. #24
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Select a date then auto fill from worksheet

    @Punnam

    Of course you can.

    But I fully understand (the) requirement.

    And in this case i also have a solution for it, but for that (as you will understand) I need the answers in #18.

    Otherwise I will produce an answer that don't forfill the need of the OP.

  25. #25
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Select a date then auto fill from worksheet

    As per Post 18
    1) The OP want to change only the data in F28
    2) Please check the sheet 4 it has been started with Date in Cell A1 which also has a date filled
    3) "it works the numbers at the bottom of the sheet " The same will be the name of the sheet i.e if F28 = 28-08-2014 the sheet name will be 28814
    4) If the data has been entered in F28 it should be converted to the sheet name in H33 and from their , he should be able to get the data form various sheet in his workbook
    5) Even i am not having Ideas of "Data 11"
    Punnam Ravi

  26. #26
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Select a date then auto fill from worksheet

    Hi
    Addressing this part "I am wanting that when a date is selected or entered in F18 it copies to h33 in a format" u can achieve by the below formula
    =DAY(F28)&MONTH(F28)&RIGHT(YEAR(F28),2) use this in H 13

    Punnam Ravi

  27. #27
    Forum Contributor
    Join Date
    03-09-2007
    Location
    Australia
    MS-Off Ver
    Office 10
    Posts
    371

    Re: Select a date then auto fill from worksheet

    That is perfect.
    I thank you very much
    You are brilliant

  28. #28
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Select a date then auto fill from worksheet

    If that take care mark the thread solved using the thread tools & u can thank me by adding reputation . By Clicking "ADD reputation".

    Punnam Ravi Kumar

  29. #29
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Select a date then auto fill from worksheet

    And just because I am curios.

    Will the formula also work with the dates 28-12-2014 or 02-06-2014?

    Please reply.

  30. #30
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Select a date then auto fill from worksheet

    Checked

    Yes it will show 2614

    Punnam

  31. #31
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Select a date then auto fill from worksheet

    @punnam

    Thanks for the reply, but the question is for bnwash.


    @bnwash

    And just because I am curios.

    Will the formula also work with the dates 28-12-2014 or 02-06-2014?

    Please reply

    Edit

    and to be more specific => will it work for cel D39 in your sheet.

    Please reply
    Last edited by oeldere; 09-11-2014 at 08:20 AM. Reason: Edit D39

+ 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. select option => auto fill cell
    By wired in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-10-2013, 09:08 AM
  2. Select an item from drop down list and auto fill in next working date
    By pjlau in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-23-2012, 12:49 AM
  3. Select Row and auto fill cells in another worksheet
    By mcm1009 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-26-2011, 05:13 AM
  4. Replies: 0
    Last Post: 08-15-2007, 06:40 AM
  5. Replies: 0
    Last Post: 05-22-2006, 03:45 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