A
April
I have these data:
EmpID table (contains only empid):
EmpID
1415 (cell a1)
1500 (cell a2 etc..)
1587
1608
1800
1815
1925
Dept Table (contains deptid and the range of empid - and has
the range name "DEPT"):
From Empid To Empid Deptid
1400 1499 100
1500 1599 200
1600 1799 300
1800 1899 400
1900 9999 999
The result I'd like to see is:
EmpID Deptid
1415 100
1500 200
1587 200
1608 300
1800 400
1815 400
1925 999
I only know how to do simple vlookup
(=vlookup(a1,NAME,xxx,false) but don't know how to do a
range like this.
Your help is very much appreciated.
April
EmpID table (contains only empid):
EmpID
1415 (cell a1)
1500 (cell a2 etc..)
1587
1608
1800
1815
1925
Dept Table (contains deptid and the range of empid - and has
the range name "DEPT"):
From Empid To Empid Deptid
1400 1499 100
1500 1599 200
1600 1799 300
1800 1899 400
1900 9999 999
The result I'd like to see is:
EmpID Deptid
1415 100
1500 200
1587 200
1608 300
1800 400
1815 400
1925 999
I only know how to do simple vlookup
(=vlookup(a1,NAME,xxx,false) but don't know how to do a
range like this.
Your help is very much appreciated.
April