Necroscope
Board Regular
- Joined
- Jul 7, 2004
- Messages
- 72
I have a spreadsheet with a list of Invoice numbers (which all begin with INVxxxxxx) in column B and then in column C the name of the person who cleared that Invoice.
What I need to do each week is do a random check on an invoice that each person has cleared so if "John Smith" cleared 10 invoices, I want to randomly pick one of those 10 invoice numbers from the list in column B. It's sorted into date order and there are 30 different people to search through so if there is a way to help via formula or VBA, that would be a big help.
I've messed around with Lookup and Index but haven't got this working.
And if possible, I want to have a new sheet within the same file to display the results. (For example, create an "Accuracy Check" sheet and list the people and put the random invoice number next to their name so that the check can be carried out.)
Can anyone help?
TIA.
What I need to do each week is do a random check on an invoice that each person has cleared so if "John Smith" cleared 10 invoices, I want to randomly pick one of those 10 invoice numbers from the list in column B. It's sorted into date order and there are 30 different people to search through so if there is a way to help via formula or VBA, that would be a big help.
I've messed around with Lookup and Index but haven't got this working.
And if possible, I want to have a new sheet within the same file to display the results. (For example, create an "Accuracy Check" sheet and list the people and put the random invoice number next to their name so that the check can be carried out.)
Can anyone help?
TIA.