+ Reply to Thread
Results 1 to 5 of 5

update data based on choosen value from drop down list

  1. #1
    Registered User
    Join Date
    10-28-2012
    Location
    Poland
    MS-Off Ver
    Excel 2007/2010
    Posts
    94

    update data based on choosen value from drop down list

    hi,
    I need to add:
    1. drop down list which will show years. data(years) should be taken automatically from currency_price sheet.
    2. after date and currency is choosen dates in column A should be updates. the same with currency price and currency roi. currency price value should be taken from currency_proce sheet, and currency roi from roi sheet.

    I try few formulas which i know, but i failed. all support or advice is more than welcome
    screen20191124.jpg
    Attached Files Attached Files
    Last edited by young_86; 11-24-2019 at 06:19 PM.
    Like to say thanks ?Please use the star icon.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: update data based on choosen value from drop down list

    Administrative Note:

    Hi and welcome
    although we value privacy as much as anyone else, it could be important that members have a rough idea of your location. You might in the future post questions which are bound to your regional settings.
    So, please update your profile to something more precise then "somewhere" ( country will suffice, no need to be more precise).
    Thank you for helping us to help you

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,563

    Re: update data based on choosen value from drop down list

    This proposal employs two helper columns added to the cuurency_price sheet. The first is to display the years using two formulas.
    AN2 is populated using: =YEAR(MIN(A4:A624))
    AN3:AN4 are populated using: =IF(OR(AN2="",SUM(AN2,1)>YEAR(MAX(A$4:A$624))),"",SUM(AN2,1))
    A second helper column is added to identify dates of the selected year using: =YEAR(A4)=report!J$5
    On the Report sheet cell J5 is populated using data validation with the source being: =cuurency_price!$AN$2:$AN$4
    Cells A4:A255 are populated using: =IFERROR(INDEX(cuurency_price!A$4:A$624,AGGREGATE(15,6,(ROW(A$4:A$624)-ROW(A$3))/(cuurency_price!AM$4:AM$624=TRUE),ROWS(A$1:A1))),"")
    Cells B4:B255 are populated using: =IF(A4="","",INDEX(cuurency_price!B$4:AL$624,MATCH(A4,cuurency_price!A$4:A$624,0),MATCH(B$3,Waluty,0)))
    Cells C4:C255 are populated using: =IF(A4="","",INDEX(roi!B$4:AL$624,MATCH(A4,roi!A$4:A$624,0),MATCH(B$3,roi!B$1:AL$1,0)))
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  4. #4
    Registered User
    Join Date
    10-28-2012
    Location
    Poland
    MS-Off Ver
    Excel 2007/2010
    Posts
    94

    Re: update data based on choosen value from drop down list

    works perfectly. thank you!!!

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,563

    Re: update data based on choosen value from drop down list

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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] Auto-update cells based on a cell drop-down list and a table
    By Castillb in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-27-2015, 07:19 PM
  2. Replies: 0
    Last Post: 04-24-2015, 02:27 PM
  3. [SOLVED] Update cell list based on Drop down List
    By eaflynn in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-24-2015, 03:48 PM
  4. Update specific sheet based on drop-down list parameters
    By onmyway in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-23-2013, 07:42 AM
  5. [SOLVED] Update respective cell value based on Multiple Drop Down list selections
    By nileshpatil in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-16-2012, 08:43 AM
  6. [SOLVED] Update values based on drop down list
    By canadiang8r in forum Excel General
    Replies: 2
    Last Post: 04-13-2012, 10:07 PM
  7. Replies: 3
    Last Post: 05-19-2011, 03:08 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