I have a sales data worksheet with lets say 3 columns. The first column is the sales persons region in numerical format, second is their name and third (and onwards) is the data.
I then have an output sheet, in which I want to be able to setup to show salespersons name, and relevant data, based on an input of their region in say cell A1, i.e. so when 1 is input in cell A1 it will return all the salespersons names and data in this region, when 2 is input it shows all the salespersons names and data in this region.
Now an autofilter will work, but its messy. I want to use a VLOOKUP (=IF(VLOOKUP($A$1,Data,1,FALSE)=$A$1,VLOOKUP($A$1,Data,3,FALSE),""))but it will only return the first salesperson in each region, so at the moment it looks like the following
A1 = 1
Name 1 $XXX
Name 1 $XXX
Name 1 $XXX
I want it to appear as
Name 1 $XXX
Name 2 $XXX
Name 3 $XXX
How do I get around this?
While I’m here asking questions, I may as well throw another one at you guys.
Say I have a data sheet for each month, in columns I have the salespersons name, and in rows I have relevant sales data. I want to consolidate these sheets, into one, so in the columns I will have salespersons name – relevant data, and in the rows the month, so all data can be on one sheet. Is there any way to do this?
Bookmarks