+ Reply to Thread
Results 1 to 6 of 6

Drop List Selects that display values of specified months

  1. #1
    Registered User
    Join Date
    07-17-2014
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    4

    Drop List Selects that display values of specified months

    Hello Everyone,

    I am looking for some help to identify a formula that I can use to display values of a specified cells.

    I have a spreadsheet that I use to track my monthly credit card balances. However, it becomes a pain to change the formula in every cell for the data I want to see. In the sample spreadsheet I have attached, I input a balance for a specific month in worksheet tabs Card 1 - Card 3.

    I would like in the summary tab display the value for the month, when I select a month from the drop down, in the fields besides Card 1 - Card 3. So if I select Feb in the drop down list, I would like to see the balances for Feb in summary tab, and if i change the drop down to Apr, I will like to see the balance for Apr in the summary tab.

    Can anyone help with with this request.

    Thank you very much in advance

    Roy
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Drop List Selects that display values of specified months

    Hi, welcome to the forum

    1st, I would use a regular Data Validation (Data tab/Data Validation/List)

    2nd it will make things a LOT simpler if you use the same headings on each sheet. For instance, use EITHER Card 1 OR Credit Card 1, and EITHER Jan OR January

    Once you have made those changes, put this in D8, copied down...
    =VLOOKUP($B$6,INDIRECT("'"&C8&"'!A3:B8"),2,0)

    (I used B6 for my drop down)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    07-17-2014
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    4

    Re: Drop List Selects that display values of specified months

    Thanks FDibbins, that worked like a charm.

    Many Thanks.

    Roy.

  4. #4
    Registered User
    Join Date
    07-17-2014
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    4

    Re: Drop List Selects that display values of specified months

    One more question FDibbins, what if I throw a complexity into the equation.

    I would like to retrieve values from a specific cell and populate the columns.

    For Example, select charges for the month of January and display it in the Charges column in the summary tab and select paid for the month of January and display it in the Paid column on the summary tab.

    See attached spreadsheet

    I really do appreciate your help, I am learning in the process.
    Attached Files Attached Files

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Drop List Selects that display values of specified months

    Thats an easy 1

    Increase your data range and then adjust the column to return...

    =VLOOKUP($B$6,INDIRECT("'"&C8&"'!A3:D8"),2,0)

    The bolded part if the increased range

    The ,2, is telling excel you want to use the 2nd column, so change that to 3 for the 3rd column and 4 for the 4th

    If you have more than that - and IF your headings are in the same sequence, try this variation instread...
    =VLOOKUP($B$6,INDIRECT("'"&$C8&"'!A3:D8"),MATCH(D$7,$C$7:$F$7,0),0)
    You can then copy this down and across

  6. #6
    Registered User
    Join Date
    07-17-2014
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    4

    Re: Drop List Selects that display values of specified months

    Thanks FDibbins, that worked. I did not realize that 2,0 was part of the VLOOKUP formula, which I am familiar with. My spreadsheet is ready and I very happy with it.

+ 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] drop down list that selects corresponding value instead
    By sonny.thind in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 07-09-2014, 07:57 PM
  2. [SOLVED] How to display list of values in cells after using data validation drop down?
    By Yadhvi in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-03-2013, 12:15 PM
  3. [SOLVED] Running a specific macro when someone selects from the drop down list
    By akwishestofish in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-22-2012, 12:56 PM
  4. Replies: 6
    Last Post: 06-07-2012, 02:28 PM
  5. Display Non Zero Values in a List Drop Down
    By sribatsha in forum Excel General
    Replies: 7
    Last Post: 03-09-2012, 01:20 PM

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