
Hi Juan Vega Uriostegui,
Thank you for posting on Microsoft Community. We are happy to assist you.
According to your description, you can try these workarounds:
- Create a column that list all unique material types using this formula: =UNIQUE(C2:C33) (for example you have 32 material data lines, you can change it base on your data). It will generate a list like picture below
- In column next to each material enter this formula: =COUNTA(UNIQUE(FILTER($D$2:$D$33, $C$2:$C$33=E2))).
Hope this help. If you think my reply is helpful, could you please use the feedback tool (picture below) to send feedback for us and mark this as answer?
Because other users will also search information in this community. Your valuable vote will definitely also help other users who have similar queries easily to find the correct channel and useful information more quickly.
Greatly Appreciate again for your patience and understanding.
I wish you keep safe and wish you all the best in year 2025 as well
Sincerely,
Nam-D - MSFT | Microsoft Community Support Specialist.