+ Reply to Thread
Results 1 to 18 of 18

Cascading Dropdown for A Calendar

  1. #1
    Registered User
    Join Date
    02-05-2015
    Location
    india
    MS-Off Ver
    2010
    Posts
    8

    Cascading Dropdown for A Calendar

    HI,

    I want to create an excel formula with a cascading dropdown, wherein

    if I choose February on dropdown It will Display the Columns Week 1 - 5

    haha.JPG


    If I choose january it will display Columns Week 1 - 4

    wawa.JPG

    so Like a calendar having Weeks only to display

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Cascading Dropdown for A Calendar

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Cascading Dropdown for A Calendar

    Why Jan has 4 Weeks and Feb has 5 Weeks
    and pls attach sample excel file
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Registered User
    Join Date
    02-05-2015
    Location
    india
    MS-Off Ver
    2010
    Posts
    8

    Re: Cascading Dropdown for A Calendar

    See Attached. What I want is that if January will display only weeks 1 - 5 and if i choose from dropdown February It will be Weeks 1 - 5. in short, choosing from dropdown changes the Excel Cells
    Attached Files Attached Files

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Cascading Dropdown for A Calendar

    What is your expected Weeks for Feb 2015 and May 2015?

  6. #6
    Registered User
    Join Date
    02-05-2015
    Location
    india
    MS-Off Ver
    2010
    Posts
    8

    Re: Cascading Dropdown for A Calendar

    Quote Originally Posted by :) Sixthsense :) View Post
    What is your expected Weeks for Feb 2015 and May 2015?


    Weeks 1 - 4 for February and for May Weeks 1 - 5

  7. #7
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Cascading Dropdown for A Calendar

    Asking the same question asked by nflsales, what is the expected weeks for January 2015?

  8. #8
    Registered User
    Join Date
    02-05-2015
    Location
    india
    MS-Off Ver
    2010
    Posts
    8

    Re: Cascading Dropdown for A Calendar

    Quote Originally Posted by :) Sixthsense :) View Post
    Asking the same question asked by nflsales, what is the expected weeks for January 2015?


    that was just an example you can refer as well to the calendar

  9. #9
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Cascading Dropdown for A Calendar

    We cannot offer something on assumption and we ask questions to understand to the logic to arrive the result.

    So giving proper reply to our question will result as giving exact answer

  10. #10
    Registered User
    Join Date
    02-05-2015
    Location
    india
    MS-Off Ver
    2010
    Posts
    8

    Re: Cascading Dropdown for A Calendar

    Quote Originally Posted by :) Sixthsense :) View Post
    We cannot offer something on assumption and we ask questions to understand to the logic to arrive the result.

    So giving proper reply to our question will result as giving exact answer
    Jan Weeks 1 - 5
    Feb Weeks 1 - 4
    MArch Weeks 1 - 5
    Arpril Weeks 1 - 5
    May Weeks 1 - 5
    June Weeks 1 - 5
    July Weeks 1 - 5
    August Weeks 1 - 5
    SEpt Weeks 1 - 5
    Oct Weeks 1 - 5
    Nov Weeks 1 - 5
    Dec Weeks 1 - 5

  11. #11
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Cascading Dropdown for A Calendar

    Try
    F3=IF(B2="February","","Week 5")

  12. #12
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Cascading Dropdown for A Calendar

    In B3 Cell


    =IF(COLUMNS($A:A)<=IF($B$2="February",4,5),"Week "&COLUMNS($A:A),"")


    Drag it to right...

  13. #13
    Registered User
    Join Date
    02-05-2015
    Location
    india
    MS-Off Ver
    2010
    Posts
    8

    Re: Cascading Dropdown for A Calendar

    Quote Originally Posted by :) Sixthsense :) View Post
    In B3 Cell


    =IF(COLUMNS($A:A)<=IF($B$2="February",4,5),"Week "&COLUMNS($A:A),"")


    Drag it to right...
    Oh Nearly Correct.

    But I want Include at least 6 rows per column

  14. #14
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Cascading Dropdown for A Calendar

    Quote Originally Posted by pspunlimited View Post
    But I want Include at least 6 rows per column
    Not sure what do you mean with that statement

  15. #15
    Registered User
    Join Date
    02-05-2015
    Location
    india
    MS-Off Ver
    2010
    Posts
    8

    Re: Cascading Dropdown for A Calendar

    Quote Originally Posted by :) Sixthsense :) View Post
    Not sure what do you mean with that statement


    Ex If I choose February It will display Weeks 1 - 4 inlcuding its Rows 1 - 6 per column

  16. #16
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Cascading Dropdown for A Calendar

    Are you talking about filling the formula down the rows? row 4 row5 row6 also?

  17. #17
    Registered User
    Join Date
    02-05-2015
    Location
    india
    MS-Off Ver
    2010
    Posts
    8

    Re: Cascading Dropdown for A Calendar

    Meaning if I put numbers(ex. 1) in B4 - B10, C4 - c10 until F4 - f10, so whatever data I have in January will not be seen in February

  18. #18
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Cascading Dropdown for A Calendar

    Why don't you use a pre made free template?

    Check the attached file
    Attached Files Attached Files

+ 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. Cascading values depending on dropdown selection
    By SteveMorrisUK in forum Outlook Formatting & Functions
    Replies: 1
    Last Post: 04-27-2013, 06:26 PM
  2. [SOLVED] Cascading dropdown lists all tied to first dropdown
    By ruthl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-18-2012, 08:03 PM
  3. Replies: 0
    Last Post: 06-12-2012, 11:40 AM
  4. Cascading dropdown list with dynamic ranges
    By devunow in forum Excel General
    Replies: 3
    Last Post: 11-04-2008, 09:56 AM
  5. Cascading Dynamic Dropdown Lists
    By choop in forum Excel General
    Replies: 4
    Last Post: 06-14-2006, 12:30 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