Create Code Based on Column
hi
formula....
=if(D2="job 1", "T0001",if(D2="job1,job2","T0002,T0002",""))
you can stack 7 ifs this way for 7 different combinations. if you have more
than 7 jobs or if the jobs are "jumbled up", you have a problem.
A macro could offer more ifs but if jumbled up ie job2, job1 instead of
job1, job2, you have a serious problem.
Regards
FSt1
"Brainfire" wrote:
Hi....
I've got a spreadsheet with 37,000 rows - one of the columns in this
is an activity description, and many of these descriptions are
repeated multiple
times in the column. What I need to do, either with a formula or VBA,
is to assign each activity description a code in the next column in
the format T0001, T0002, etc. So, 'Job 1 = T0001, 'Job 2 = T0002,
etc.
Can anyone help?
TIA
|