i have a template i've created for users. in this they need to choose a group from a dropdown list (grp100, grp200...grp900). i'd like the user to be able to extend this list as well though, from changing the source of these data validations. the problem is i dont know how many groups they'd like to add. right now this dropdown is looking at, say, A1-A9 for its source. is there some way to instruct it to start at A1 and go down as far as it has content?
also in the next column i'd like to add descriptions for these groups. right now there's none.
after choosing the desired group i want a separate cell to output the Group then the desc.
Eg in col A we have the source data - A1='Grp100', A2 = 'Grp200' etc.
in B1 I add "the first group", B2 = "the second group" etc.
in A50 I have my dropdowns. User chooses A3.
in B50 I'd like to display 'Grp300{The Third Group'
Q1 - how do i change the validations of the dropdown so that the list can be increased by the user
Q2 - how would I extract the desc?
thanks![]()
Create a Dynamic Named Range
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
thanks man.
so it seems the formula is: =OFFSET(Sheet1!$A$1,0,0,COUNTA(Sheet1!$A:$A),1)
the thing is i dont want to use A:A as a parameter because I would most likely have other stuff in the column, tho not in the immediate area. i might have content say 20 cells above.
what does 'offset' mean? the explanation on that page says rows to offset / columns to offset = 0, not sure what that is supposed to mean.
You can limit the range to A1:A20
=OFFSET(Sheet1!$A$1,0,0,COUNTA(Sheet1!$A$1:$A$20),1)
this will then only count occupied cells in A1:A20.
the formula offsets from A1 by 0 rows and 0 columns.(so starts at A1), and then adjusts its range height to the number of cells counted in COUNTA() function and one column wide.
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
awesome, thank you
are you able to advise with Q2 above, ie how to put the descriptions into the formulas as well?
use vlookup.
eg =vlookup(a1,$x$1:$y$10,2,0)
where x1:y10 contains the table
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks