Dependent dropdown with offset formula

juliecooper255

New Member
Joined
Apr 24, 2024
Messages
15
Office Version
  1. 365
Platform
  1. Windows
Hi everyone, I hope someone can help me figure out what I am missing...

I have 3 dependent dropdowns; the first 2 work perfectly, but the 3rd doesn't. I tested the formula outside the validation box, and it works great. The process seems to fall apart when creating the name with the name manager. The formula will return the name from the name manager instead of the list. As I am taking all the same steps as for the previous dropdown, I can't figure out where it is falling apart.

I attached a document with all my screenshots and formulas; I hope someone will know what I am doing wrong.
 

Attachments

  • page 5.png
    page 5.png
    15.7 KB · Views: 9
  • page 3-4.png
    page 3-4.png
    201.5 KB · Views: 9
  • page 1.png
    page 1.png
    177.3 KB · Views: 8
  • page 2.png
    page 2.png
    101.5 KB · Views: 9

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
You're missing an = sign. It's registering as a text string not the name of the list.
 
Upvote 0
You're missing an = sign. It's registering as a text string not the name of the list.
Thanks, that's when you know, it is time to get some sleep...

I fixed this, but the formula still does not work. When I open the name manager, the formula has changed again and looks odd. I have attached a new screenshot. I feel this may be the issue but I have no idea what is going on.
 

Attachments

  • Screenshot 2024-04-25 002135.png
    Screenshot 2024-04-25 002135.png
    18.1 KB · Views: 4
Upvote 0
Thanks, that's when you know, it is time to get some sleep...

I fixed this, but the formula still does not work. When I open the name manager, the formula has changed again and looks odd. I have attached a new screenshot. I feel this may be the issue but I have no idea what is going on.
Well, I added the $ to the B:B column, and the formula now stays the same which is good. Unfortunately, the drop-down still doesn't work. I am sooo close :) This is the last hurdle!
 
Upvote 0
I'm talking about the Source formula. It should be
Rich (BB code):
=item_formula
1713970563615.png
 
Upvote 0
That's what I understood, and I fixed it. Unfortunately, the formula still doesn't work.

The formula I copied in the name manager is =OFFSET(Cost_Items[[#Headers],[Items Description]],MATCH(SOW!$E16,'Cost Items'!$B:$B,0)-1,0,COUNTIF($B:$B,SOW!$E16),1)

So it goes this way:

E16 = =OFFSET(Cost_Items[[#Headers],[Subheaders]],MATCH(SOW!D16,'Cost Items'!A:A,0)-1,0,COUNTIF(A:A,SOW!D16),1) this is working perfectly

F16 = =OFFSET(Cost_Items[[#Headers],[Items Description]],MATCH(SOW!$E16,'Cost Items'!$B:$B,0)-1,0,COUNTIF($B:$B,SOW!$E16),1) This is not working when copied in name manager but works when in a cell,

1714006115896.png
 

Attachments

  • data validation.png
    data validation.png
    15.2 KB · Views: 3
  • error.png
    error.png
    36 KB · Views: 2
  • dropdown empty.png
    dropdown empty.png
    3.3 KB · Views: 3
Upvote 0

Forum statistics

Threads
1,215,446
Messages
6,124,904
Members
449,194
Latest member
JayEggleton

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top