Hello
I want to generate data based on sales/transaction ID. Each transaction can have more than one sales line (per department). In trying to generate the department ID, I need to have any random number between 1,25 that does not repeat for any of the lines where the transaction id is the same
transaction id = 3200129
3200129 invoice lines = 2
for each line, randbetween 1,25 (that does not repeat)
1,18,23 (for example).
I am open to VBA to solve this issue if a formula cannot. I have not tried to write the code for that yet as I am working to get some security access to portions of office locked down by corporate policy.
Thanks
Adam.
I want to generate data based on sales/transaction ID. Each transaction can have more than one sales line (per department). In trying to generate the department ID, I need to have any random number between 1,25 that does not repeat for any of the lines where the transaction id is the same
transaction id = 3200129
3200129 invoice lines = 2
for each line, randbetween 1,25 (that does not repeat)
1,18,23 (for example).
I am open to VBA to solve this issue if a formula cannot. I have not tried to write the code for that yet as I am working to get some security access to portions of office locked down by corporate policy.
Thanks
Adam.