+ Reply to Thread
Results 1 to 8 of 8

Change formula address by Data Validation

  1. #1
    Registered User
    Join Date
    04-02-2016
    Location
    Baku
    MS-Off Ver
    2016
    Posts
    7

    Change formula address by Data Validation

    Hi community,

    I have around 30 sheets ( sheet names are 1 to 31 ) on workbook, I need to use formula like ='1'!C8 , but when person chooses From Data Validation for example 2 May link must be ='2'!C8
    if 3 may ='3'!C8 etc. Can anybody help me about this?

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Change formula address by Data Validation

    Try this.

    Assuming your drop down is in Cell A1 (Change as required)

    =INDIRECT("'"&A1&"'!C8")
    Cheers!
    Deep Dave

  3. #3
    Registered User
    Join Date
    04-02-2016
    Location
    Baku
    MS-Off Ver
    2016
    Posts
    7

    Re: Change formula address by Data Validation

    Thanks mate, is there possibility to make C8 fill automatically? c8,c9,c10 etc

  4. #4
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Change formula address by Data Validation

    Yes it can be done. But you will have to give me some more info.


    Best is to attach a sample workbook. Make sure there is just enough data to demonstrate your need. 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 shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window (or use the paperclip icon).

  5. #5
    Registered User
    Join Date
    04-02-2016
    Location
    Baku
    MS-Off Ver
    2016
    Posts
    7

    Re: Change formula address by Data Validation

    I can attach file, but only think I need right now , is to fill formula when I double click on it, my list starts from c8 to c36
    All I want when to double click your formula =INDIRECT("'"&A1&"'!C8") to fill cells like =INDIRECT("'"&A1&"'!C9") =INDIRECT("'"&A1&"'!C10") etc

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Change formula address by Data Validation

    Change the formula to this:

    =INDIRECT("'"&$A$1&"'!C"&ROWS($1:8))

    then this will increment the rows when you copy it down.

    Hope this helps.

    Pete

  7. #7
    Registered User
    Join Date
    04-02-2016
    Location
    Baku
    MS-Off Ver
    2016
    Posts
    7

    Re: Change formula address by Data Validation

    Thank you very much Pete

  8. #8
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Change formula address by Data Validation

    Glad to help - thanks for the rep.

    If that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Pete

+ 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] Data validation cell and address of selected value
    By rodich in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-07-2014, 09:46 AM
  2. Custom Data Validation (DHCP + IP Address)
    By blashmet in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 07-30-2014, 03:36 PM
  3. Change formula for different data validation
    By ChaosTrader63 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-14-2014, 03:27 PM
  4. [SOLVED] change formula without validation data
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-05-2013, 01:16 PM
  5. Getting original address of data validation list
    By oratorone in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-04-2007, 02:50 AM
  6. formula to change address of external data?
    By stu_padassol in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-06-2007, 09:45 PM
  7. [SOLVED] How does Data Validation change with a formula change?
    By MayClarkOriginals in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-04-2006, 11:55 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