# Data selection

#### Peggia

##### New Member
Which formula I need to use to solve this problem:
I have table with three columns:
A: Product name
B: Date

In column A most of products are inputed several times for diferent days in column B.
In new sheet i want to sort only date for one of the specific product with associated complain for that date.

### Excel Facts

Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

#### AlanY

##### Well-known Member
try this

data sheet

Excel 2012
ABC
2Product 103/11/2016Complains 1
3Product 111/12/2016Complains 2
4Product 128/11/2016Complains 3
5Product 221/11/2016Complains 4
6Product 312/12/2016Complains 5
7Product 304/12/2016Complains 6
8Product 302/11/2016Complains 7
9Product 313/11/2016Complains 8
10Product 403/12/2016Complains 9
11Product 412/12/2016Complains 10
Sheet5

summary sheet

Excel 2012
ABC
2Product 304/12/2016Complains 6
3Product 128/11/2016Complains 3
4Product 412/12/2016Complains 10
Sheet6
Cell Formulas
RangeFormula
C2{=INDEX(Sheet5!\$C\$2:\$C\$11,MATCH(A2&B2,Sheet5!\$A\$2:\$A\$11&Sheet5!\$B\$2:\$B\$11,0))}
Press CTRL+SHIFT+ENTER to enter array formulas.

#### Peggia

##### New Member
Thanks guys but i don't need to summarize number of complains. I just wont to see date and text of complain for that date for specific product in new sheet. Product name will be name of the new sheet

#### AlanY

##### Well-known Member
Thanks guys but i don't need to summarize number of complains. I just wont to see date and text of complain for that date for specific product in new sheet. Product name will be name of the new sheet

Replies
10
Views
750
Replies
4
Views
266
Replies
22
Views
824
Replies
2
Views
522
Replies
1
Views
129

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,163,780
Messages
5,833,661
Members
430,222
Latest member
Nickkarl

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back