Jul 29 2020 08:22 PM
Jul 29 2020 08:22 PM
Hi Experts,
I have a Sheet1 which has 3 Columns (Column A with Product Type, Column B with Product ID, Column C with Product Name) and 1000 rows with data in it. I am using below formula to remove duplicate data and match with Product Name 'Grocery' and show this in Sheet 2.
=INDEX('Sheet1'!$A:$C,MATCH(0,COUNTIF('Sheet1'!$B$1:$B1000,'Sheet1'!$B:$B)+('Sheet1'!$C:$C<>'Sheet1'!$D$2),0),COLUMN(A1))
The formula is working fine in Sheet2 but i want to increase the no of rows to 1000 more and when i drag this formula down in excel sheet to increase and match with data in sheet1 which has increased to 2000 records it shows 'Calculating (4, Threads): 1%' and excel sheet hangs and automatically crash and close down.
P.S. - i have set my excel sheet to Manual Calculation but when i save this sheet after i update data in sheet2 by increasing the rows it hangs and close automatically.
Pls suggest if their is any alternative way to replace the above formula with some other formula and get same result and save excel sheet with big data.
Jul 29 2020 11:33 PM
@Deleted
Here is a small VBA solution.
If you have solved your problem with this solution, please mark it as the correct answer so that others can also get this information.
If this is not what you are looking for, please give us a quick feedback.
Nikolino
I know I don't know anything (Socrates)
Jul 30 2020 12:31 AM
@NikolinoDE Thanks for your help and providing solution in the sheet.
i hv added your sheet attached with my actual data.
When i click on button i want to show output in separate tab as per product name with no duplicate records.
Can u pls modify your code and send me updated sheet again.
Thanks in advance.
Jul 30 2020 01:48 AM
@Deleted
Voici une solution avec la copie..
Si cela correspond à vos idées en tant que solution, veuillez la marquer comme la bonne réponse, afin que les autres informés puissent être informés ... mieux avec un like.:-)
Si vous n’avez pas aimé la solution proposée, veuillez donner un bref commentaire.
Nikolino
Je sais que je ne sais rien (Socrate)
Jul 30 2020 02:21 AM
@Deleted
As variant that could be like
with formula
=FILTER(A1:C2000,C1:C2000=$I$1)
Jul 30 2020 02:39 AM
@SergeiBaklan thanks but its giving 400 error when i click on button
Jul 30 2020 02:54 AM
@Deleted
Not sure which exactly errors do you have, but perhaps your version of Excel doesn't support dynamic arrays.
Jul 30 2020 03:14 AM
@NikolinoDE thanks this is not giving result as expected.
Actually i want to show result in separate Product Name Sheet Tab created (Grociery, Veggie, Fruits).
When i click on button the code should read and analyse my original data and should filter only unique data excluding duplicate and copy the same in respective product sheet as per product name.
The original data should remain like that only and it should not get deleted as i will keep on adding data in the original sheet.
Jul 30 2020 03:34 AM
@Deleted
Last try ... hope to help you...see file 🙂
Nikolino
I know I don't know anything (Socrates)
Jul 30 2020 04:00 AM
@NikolinoDE Nope.. this is not correct.
anyways thanks.. this is not expected result.
i want to filter Tabelle1 data and copy all the records without duplicate in separate tab sheet filter by Product Name (Groceries, Veggie, Fruits)
Jul 30 2020 04:14 AM
Jul 30 2020 04:15 AM
Jul 30 2020 06:32 AM
@NikolinoDE thanks but i couldn't find the sheet attached
Jul 30 2020 06:40 AM
Jul 30 2020 09:08 AM
i have data below and want to show result like this. appreciate if u can u pls modify the code and send me updated sheet .
Data | Result | |||
Name | Type | Name | Type | |
Apple | Fruit | Apple | Fruit | |
Apple | Fruit | Potato | Vegetable | |
Potato | Vegetable | Rice | Food Grain | |
Potato | Vegetable | Grapes | Fruit | |
Rice | Food Grain | Tamatos | Vegetable | |
Rice | Food Grain | Dal | Food Grain | |
Grapes | Fruit | Banana | Fruit | |
Tamatos | Vegetable | |||
Dal | Food Grain | |||
Banana | Fruit |
Jul 30 2020 10:24 AM
Jul 30 2020 08:23 PM
@NikolinoDE thanks but i want code to do this result. can u modify your code and send me updated sheet as er result.
Jul 31 2020 05:18 AM
Solution@Deleted
Jul 31 2020 11:06 AM
@NikolinoDE Dude fantastic.. thanks this is what i need.. kudos to u.
Jul 31 2020 05:18 AM
Solution@Deleted