G
Gerard
ladies and gentlemen i have a challenge for you all. i wish to sor
cattle details using excel. i download the details from the departmen
of agriculture as follows;
UK 9 12345 678 6
UK 9 12345 679 7
UK 9 12345 680 1
UK 9 12345 681 2
where the "UK 9" is constant,
the "12345" is the herd number of animals-which i do not wish to sort,
the "678" is the individual animal's number, which i wish the animal
to be sorted in order of,
and the "1"-"7" is a "check number", every animal has the random numbe
1-7 at the end of their number.
As you can see, there are spaces between each different bit o
information.
you may think that this is easy, but what makes it more complicate
is;
the herd number, (e.g. 12345) is not necessarily 5 digits long, it ca
range from about 4 to 8 digits, also in my herd of cattle there is
wide variety of herd numbers, therefore not all 5 digits herd number
are the same.
to make matters more complicated, there are also animals in my her
which are in a slightly different format;
314159-180-N
314159-181-O
314159-182-P
314159-183-Q
where there is no "UK 9"
the "314159" is the herd number of animals-which i do not wish t
sort,
the "180" is the individual animals number, which i wish the animals t
be sorted in order of,
and the "A-Z" is a "check letter", every animals has the random lette
"A-Z" at the end of their number.
As you can see, there are "-" between each different bit o
information.
if you would be able to tell me how to sort the animals numbers i woul
greatly appriciate it.
if i cannot arrange both formats of data in order of animals number a
the same time, but can arrange each format of data in order of animal
number individually, i would still greatly appriciate it!
Thanks a million
Gerar
cattle details using excel. i download the details from the departmen
of agriculture as follows;
UK 9 12345 678 6
UK 9 12345 679 7
UK 9 12345 680 1
UK 9 12345 681 2
where the "UK 9" is constant,
the "12345" is the herd number of animals-which i do not wish to sort,
the "678" is the individual animal's number, which i wish the animal
to be sorted in order of,
and the "1"-"7" is a "check number", every animal has the random numbe
1-7 at the end of their number.
As you can see, there are spaces between each different bit o
information.
you may think that this is easy, but what makes it more complicate
is;
the herd number, (e.g. 12345) is not necessarily 5 digits long, it ca
range from about 4 to 8 digits, also in my herd of cattle there is
wide variety of herd numbers, therefore not all 5 digits herd number
are the same.
to make matters more complicated, there are also animals in my her
which are in a slightly different format;
314159-180-N
314159-181-O
314159-182-P
314159-183-Q
where there is no "UK 9"
the "314159" is the herd number of animals-which i do not wish t
sort,
the "180" is the individual animals number, which i wish the animals t
be sorted in order of,
and the "A-Z" is a "check letter", every animals has the random lette
"A-Z" at the end of their number.
As you can see, there are "-" between each different bit o
information.
if you would be able to tell me how to sort the animals numbers i woul
greatly appriciate it.
if i cannot arrange both formats of data in order of animals number a
the same time, but can arrange each format of data in order of animal
number individually, i would still greatly appriciate it!
Thanks a million
Gerar