hi all
i need some help comparing two worksheets.
the first worksheet contains a list of dialed telephone numbers.
the second list contains a list of destination prefixes and the destination description.
i need to cross reference the first 3 digits of the dialed number to the destination list, and then copy the destination description next to the dialed number.
here is an example on the call list
27231283054
27224667141
26445849705
27321487351
26467263726
27277263726
27277263726
27255957100
27218531898
27347318821
27445849705
27340568171
26645849705
27497268506
and the destination list
272 SAWC
273 SAKZN
274 SAEC
264 NAM
266 LES
and here is what i hope to achieve
27231283054 SAWC
27224667141 SAWC
26445849705 NAM
27321487351 SAKZN
26467263726 NAM
27277263726 SAWC
27277263726 SAWC
27255957100 SAWC
27218531898 SAWC
27347318821 SAKZN
27445849705 SAEC
27340568171 SAKZN
26645849705 LES
27497268506 SAEC
in some cases i will need to change the prefix length to 4 or 5 digits for more detailed descriptions.
also, both the calls list and the destination list will vary in length every time i need to run the report.
the prefix will always be from the left
please help
i need some help comparing two worksheets.
the first worksheet contains a list of dialed telephone numbers.
the second list contains a list of destination prefixes and the destination description.
i need to cross reference the first 3 digits of the dialed number to the destination list, and then copy the destination description next to the dialed number.
here is an example on the call list
27231283054
27224667141
26445849705
27321487351
26467263726
27277263726
27277263726
27255957100
27218531898
27347318821
27445849705
27340568171
26645849705
27497268506
and the destination list
272 SAWC
273 SAKZN
274 SAEC
264 NAM
266 LES
and here is what i hope to achieve
27231283054 SAWC
27224667141 SAWC
26445849705 NAM
27321487351 SAKZN
26467263726 NAM
27277263726 SAWC
27277263726 SAWC
27255957100 SAWC
27218531898 SAWC
27347318821 SAKZN
27445849705 SAEC
27340568171 SAKZN
26645849705 LES
27497268506 SAEC
in some cases i will need to change the prefix length to 4 or 5 digits for more detailed descriptions.
also, both the calls list and the destination list will vary in length every time i need to run the report.
the prefix will always be from the left
please help