May 28, 2014
I have 8 branch's data (on 8 separate sheets) which I have Named (in excel) by referring to the range for that Branch's data. My named ranges are:
View 3 Replies
On the first sheet of the workbook I would like to be able to select a branch from a dropdown and then the sheet should display selected data only for that branch using a Hlookup function (all the data for each branch are in identical sized ranges and are ordered the same).
I have tried the following:
Cell A1 = dropdown list of available branches (ct,dbn,pe....etc) - as an example choose "ct"
Cell A2 = concatenate (a1,"_lookup_act") - and I have named cell A2 as "which_branch" - and in this example the data in A2 would be "ct_lookup_act"
Cell A5 = hlookup("Mar 14",which_branch,2,false)
the hlookup function returns #N/A because it is looking for "Mar 14" in the range defined by "which_branch" - ie cell A2, instead of looking in the range defined by "ct_lookup_act" (as an example).