ExcelN00b1
New Member
- Joined
- Aug 27, 2015
- Messages
- 2
I'm trying to create cascading lists in a Workbook I created yesterday. I followed the steps here: https://www.ablebits.com/office-addins-blog/2014/09/30/dependent-cascading-dropdown-lists-excel/
This works for the first row, but I need to copy this down the column to n rows. My sheet has 2 free text fields, list (parent list), list (child list), list, list, free text field and will have n rows.
So the first row has cascading lists, but the subsequent rows do not.
I tried making the function dynamic so I could drag it down as many rows as I need, but Excel won't allow me to save my changes, it claims there's an error in the function.
I tried two different approaches, based on what I learned in the tutorial I cited.
My thought was that if I reference the cell, instead of the named reference, that I could copy it down the column and the cell numbers would increment. But I can't even save this in the data validation dialog.
How can I accomplish this?
This works for the first row, but I need to copy this down the column to n rows. My sheet has 2 free text fields, list (parent list), list (child list), list, list, free text field and will have n rows.
So the first row has cascading lists, but the subsequent rows do not.
I tried making the function dynamic so I could drag it down as many rows as I need, but Excel won't allow me to save my changes, it claims there's an error in the function.
I tried two different approaches, based on what I learned in the tutorial I cited.
Code:
=OFFSET(INDEX(Departments,1,MATCH('Source Code'!$C$2,Entities,0)),0,0,COUNTA(INDEX(Departments,,MATCH('Source Code'!$C$2,Entities,0))))
Code:
=INDEX(Departments,1, MATCH('Source Code'!$C$2,Entities,0)) : INDEX(Departments, COUNTA(INDEX(Departments,,MATCH('Source Code'!$C$2,Entities,0))), MATCH('Source Code'!$C$2,Entities,0))
My thought was that if I reference the cell, instead of the named reference, that I could copy it down the column and the cell numbers would increment. But I can't even save this in the data validation dialog.
How can I accomplish this?