+ Reply to Thread
Results 1 to 2 of 2

Dropdowns Based on 2 Criteria

Hybrid View

  1. #1
    Registered User
    Join Date
    12-29-2021
    Location
    Lancaster, PA
    MS-Off Ver
    Microsoft 365 MSO (Version 2201 Build 16.0.14827.20198) 64-bit
    Posts
    42

    Dropdowns Based on 2 Criteria

    I have been successful in creating a dropdown based on 2 criteria. Here is the formula I used: =OFFSET(Items!$E$10,MATCH(1,(ItemsCategories=G7)*(ItemsSubCategories=H7),0)-1,0,COUNTIFS(ItemsCategories,G7, ItemsSubCategories,H7),1). This formula works, and the dropdown is working. My problem is, every time I close the workbook it seems to reset, and when I open the workbook again the formula does not seem to work. So I go to the data validation for the cell which contains the dropdown, click on the box "Apply these changes to all other cells with the same settings', click OK, and it works again. Without making any changes to the formula itself.

    Can anyone explain this?

  2. #2
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Dropdowns Based on 2 Criteria

    I don't know why, but could you please try

    ... create a column that merge between ItemCategories & ItemSubCategories
    then change the formula to
    =OFFSET(Items!$E$10,MATCH(G7&H7, newcolumn ,0)-1,0,COUNTIFS( newcolumn ,G7&H7),1)

    Regards.

+ 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] Expected output based on 3 dropdowns
    By Neilesh Kumar in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 05-17-2021, 04:22 AM
  2. Populate multiple dropdowns based on one
    By Pjcan1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-08-2021, 10:16 AM
  3. [SOLVED] VBA for dropdowns based on another dropdowns
    By abhi_jain80 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-15-2016, 05:14 AM
  4. [SOLVED] look up based on multiple dropdowns
    By nellyc in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-13-2013, 07:27 AM
  5. Replies: 1
    Last Post: 12-26-2012, 11:54 PM
  6. Replies: 0
    Last Post: 02-02-2012, 05:38 PM
  7. Replies: 3
    Last Post: 09-30-2011, 03:29 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