Link to home
Start Free TrialLog in
Avatar of RWayneH
RWayneHFlag for United States of America

asked on

Dynamic List defination used in a Userform (ComboListBox).

I am using the following formula in the Name Manager on a list that I use to populate a combobox in a userform.

=OFFSET(End2EndTime!$A$4,1,0,COUNTA(End2EndTime!$A:$A)-1,1)

for some reason it is grabbing the whole list, plus two more extra blank rows that are under the list??  I was going to submit a question on how to eliminate the row that is on the bottom of the list "TOTAL", but now the question is how do I eliminate the bottom three rows because I have to include those extra two blank rows that the list has, plus the one that says TOTAL?

Any ideas how to remove from the bottom of a define list?  I do not want to have to recreate the list in a different spot.
Thanks.
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Without a workbook to look at, try

=OFFSET(End2EndTime!$A$1,0,0,COUNTA(End2EndTime!$A:$A),1)
ASKER CERTIFIED SOLUTION
Avatar of Rob Henson
Rob Henson
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RWayneH

ASKER

This actually worked the best, however I had to use -4 to get rid of the unwanted line items at the bottom of the combolistbox...  Worked well to keep the dynamic combolistbox populated.  Thanks.