+ Reply to Thread
Results 1 to 8 of 8

Cell dependent on another cell's drop down list

  1. #1
    Registered User
    Join Date
    08-24-2021
    Location
    Minnesota
    MS-Off Ver
    365
    Posts
    33

    Cell dependent on another cell's drop down list

    I would like cell D23 to equal the corresponding cell of D4. I'm not sure how to do this. The example I would use is if cell D4 equals 22 (From the "Diameter" table) from the drop down list, I would like cell D23 to automatically equal 10 from the "Bolts" table.
    Attached Files Attached Files
    Last edited by Zimmy242; 09-01-2023 at 11:44 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,102

    Re: Cell dependent on another cell's drop down list

    Try this:

    =VLOOKUP(D4,$AH$2:$AI$46,2,1)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    09-01-2023
    Location
    Paragould, AR
    MS-Off Ver
    Office 365
    Posts
    6

    Re: Cell dependent on another cell's drop down list

    This is what i came up with, a bit long and i am self taught in Excel. I have used this on here many times, I went up to where it changed over from 6 to 8
    IFS(D4=AH2,AI2,D4=AH3,AI3,D4=AH4,AI4,D4=AH5,AI5,D4=AH6,AI6,D4=AH7,AI7,D4=AH8,AI8,D4=AH9,AI9,D4=AH10,AI10,D4=AH11,AI11,D4=AH12,AI12)

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,102

    Re: Cell dependent on another cell's drop down list

    IFS is not an efficient solution here, and this situation is precisely what functions like VLOOKUP, HLOOKUP and XLOOKUP are for - I suggest you have a read up on them. I, too, am completely self-taught.

  5. #5
    Registered User
    Join Date
    09-01-2023
    Location
    Paragould, AR
    MS-Off Ver
    Office 365
    Posts
    6

    Re: Cell dependent on another cell's drop down list

    I will refrain from posting, unless it is a question I have, sorry for the inconvenience.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,102

    Re: Cell dependent on another cell's drop down list

    I did not say that you should not have posted a solution! I offered the informtion to help you improve. Unless, of course, you don't want to learn new and better ways of doing things. You have caused no inconvenience.

  7. #7
    Registered User
    Join Date
    09-01-2023
    Location
    Paragould, AR
    MS-Off Ver
    Office 365
    Posts
    6

    Re: Cell dependent on another cell's drop down list

    Will do, I guess I took the reply wrong, Always looking to learn how to do this stuff without as much typing. I will be looking into the other stuff you listed when I have to make another calc.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,102

    Re: Cell dependent on another cell's drop down list

    Yes, indeed you did. The IFS you offered won't actually work if it's possible for there to be values that fall between those in the lookup table. With my VLOOKUP, the 1 at the end ensures that it will.

+ 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. Replies: 19
    Last Post: 02-08-2024, 08:05 AM
  2. Drop-Down List OR Free Text Dependent On Another Cell's Value
    By STBTC in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-02-2022, 09:33 AM
  3. [SOLVED] Help Populating a Cell Dependent on Combination of Drop Down List Selections
    By kitkatplaya in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-27-2019, 09:34 AM
  4. [SOLVED] Drop Down List Dependent on Cell Value
    By Aversin in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-31-2018, 03:10 PM
  5. Add drop down list to cell dependent on value of other cell
    By tom.mat.walker in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-28-2015, 08:17 AM
  6. [SOLVED] Code to put today's date in empty cell dependent on selection from drop-down list
    By vickyh1 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 08-28-2013, 09:09 AM
  7. Replies: 2
    Last Post: 05-12-2011, 09:23 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