Data selection

Peggia

New Member
Joined
Dec 21, 2016
Messages
2
Which formula I need to use to solve this problem:
I have table with three columns:
A: Product name
B: Date
C: Complains about product

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.

Thanks in advance
 

Some videos you may like

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

AlanY

Well-known Member
Joined
Oct 30, 2014
Messages
4,238
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
try this

data sheet

<b>Excel 2012</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #BBB"><colgroup><col width="25px" style="background-color: #DAE7F5" /><col /><col /><col /></colgroup><thead><tr style=" background-color: #DAE7F5;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style=";">Product name</td><td style=";">Date</td><td style="text-align: right;;">Complains about product</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style=";">Product 1</td><td style="text-align: right;;">03/11/2016</td><td style="text-align: right;;">Complains 1</td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style=";">Product 1</td><td style="text-align: right;;">11/12/2016</td><td style="text-align: right;;">Complains 2</td></tr><tr ><td style="color: #161120;text-align: center;">4</td><td style=";">Product 1</td><td style="text-align: right;;">28/11/2016</td><td style="text-align: right;;">Complains 3</td></tr><tr ><td style="color: #161120;text-align: center;">5</td><td style=";">Product 2</td><td style="text-align: right;;">21/11/2016</td><td style="text-align: right;;">Complains 4</td></tr><tr ><td style="color: #161120;text-align: center;">6</td><td style=";">Product 3</td><td style="text-align: right;;">12/12/2016</td><td style="text-align: right;;">Complains 5</td></tr><tr ><td style="color: #161120;text-align: center;">7</td><td style=";">Product 3</td><td style="text-align: right;;">04/12/2016</td><td style="text-align: right;;">Complains 6</td></tr><tr ><td style="color: #161120;text-align: center;">8</td><td style=";">Product 3</td><td style="text-align: right;;">02/11/2016</td><td style="text-align: right;;">Complains 7</td></tr><tr ><td style="color: #161120;text-align: center;">9</td><td style=";">Product 3</td><td style="text-align: right;;">13/11/2016</td><td style="text-align: right;;">Complains 8</td></tr><tr ><td style="color: #161120;text-align: center;">10</td><td style=";">Product 4</td><td style="text-align: right;;">03/12/2016</td><td style="text-align: right;;">Complains 9</td></tr><tr ><td style="color: #161120;text-align: center;">11</td><td style=";">Product 4</td><td style="text-align: right;;">12/12/2016</td><td style="text-align: right;;">Complains 10</td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #BBB;border-top:none;text-align: center;background-color: #DAE7F5;color: #161120">Sheet5</p><br /><br />

summary sheet

<b>Excel 2012</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #BBB"><colgroup><col width="25px" style="background-color: #DAE7F5" /><col /><col /><col /></colgroup><thead><tr style=" background-color: #DAE7F5;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style=";">Product name</td><td style=";">Date</td><td style=";">Complains about product</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style=";">Product 3</td><td style="text-align: right;;">04/12/2016</td><td style="background-color: #E2EFDA;;">Complains 6</td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style=";">Product 1</td><td style="text-align: right;;">28/11/2016</td><td style="background-color: #E2EFDA;;">Complains 3</td></tr><tr ><td style="color: #161120;text-align: center;">4</td><td style=";">Product 4</td><td style="text-align: right;;">12/12/2016</td><td style="background-color: #E2EFDA;;">Complains 10</td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #BBB;border-top:none;text-align: center;background-color: #DAE7F5;color: #161120">Sheet6</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: #FFFFFF" ><tr><td style="padding:6px" ><b>Array Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: #FFFFFF;border-collapse: collapse; border-color: #BBB"><thead><tr style=" background-color: #DAE7F5;color: #161120"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: #DAE7F5;color: #161120">C2</th><td style="text-align:left">{=INDEX(<font color="Blue">Sheet5!$C$2:$C$11,MATCH(<font color="Red">A2&B2,Sheet5!$A$2:$A$11&Sheet5!$B$2:$B$11,0</font>)</font>)}</td></tr></tbody></table><b>Entered with Ctrl+Shift+Enter.</b> If entered correctly, Excel will surround with curly braces {}.
<b>Note: Do not try and enter the {} manually yourself</b></td></tr></table><br />
 

Peggia

New Member
Joined
Dec 21, 2016
Messages
2
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
Joined
Oct 30, 2014
Messages
4,238
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
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

does post#2 met your requirements?
 

Watch MrExcel Video

Forum statistics

Threads
1,122,670
Messages
5,597,482
Members
414,144
Latest member
UDFNewbie

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Top