I am really stuck with a problem using excel macro and named range. I have dynamic formula for Named Manager using formula
=OFFSET('Sheet1'!$A$2,0,0,COUNTA('Sheet1'!$A$2:$A$1000),1)
The Data validation for Name is applied to Col A on Sheet2. Now the Col B value should be populated based on the value selected in Col A. So I am using the Indirect function using data validation:
=IF(A1="","",INDIRECT(A1))
This function is not working when I use dynamic named range
=OFFSET('Sheet1'!$B$2,0,0,COUNTA('Sheet1'!$B$2:$B$1000),1)
But works if the range is direct. I really want this to work dynamically. Can anyone please provide me a work around for this? Thanks a lot for your time.