1G ANTHERICUM VARIEGATED ANTHERICUM
1G ARTEMESIA-POWIS CASTLE ARTEMESIA
1G BEGONIA-DRAGON WING PINK BEGONIA
1G BEGONIA-DRAGON WING RED MANDEVILLA
1G MANDEVILLA-CRIMSON RED MEGASKEPASMA
1G MEGASKEPASMA-BISHOP'S CLOAK PETUNIA
1G PETUNIA-EASY WAVE WHITE THUNBERGIA
1G THUNBERGIA erecta-FAIRY MOON AGERATUM
4" AGERATUM-BLUE HAWAII ALYSSUM
4" ALYSSUM-GOLF VIOLET ASCLEPIAS
4" ASCLEPIAS curassavica BACOPA
4" BACOPA-BLUETOPIA BLUE
4" BACOPA-SCOPIA DBL.WHITE
4" BACOPA-SCOPIA GREAT PINK
4" BEGONIA-BADA BING SCARLET
4" BEGONIA-COCKTAIL MIX
4" BEGONIA-GIN
4" BEGONIA-PARTY BOY RED
The list on the left is from an import of SQL server invoice database and the one on the right is in another table inside PowerPivot table. I need a way to group the invoice description into the general category on the right. I have tried SEARCH() and CONTAINS() but only get errors. I don't have a way to relate the tables and used SEARCH() with an IF statement. The CONTAINS() is unfamiliar to me.
I want to be able to see how many of a plant group is sold without seeing all the details of each size and variety. I can do something in a regular pivot table with INDEX() and MATCH() array formula but it takes a long time and getting longer.
Thanks for any help.
Lee
1G ARTEMESIA-POWIS CASTLE ARTEMESIA
1G BEGONIA-DRAGON WING PINK BEGONIA
1G BEGONIA-DRAGON WING RED MANDEVILLA
1G MANDEVILLA-CRIMSON RED MEGASKEPASMA
1G MEGASKEPASMA-BISHOP'S CLOAK PETUNIA
1G PETUNIA-EASY WAVE WHITE THUNBERGIA
1G THUNBERGIA erecta-FAIRY MOON AGERATUM
4" AGERATUM-BLUE HAWAII ALYSSUM
4" ALYSSUM-GOLF VIOLET ASCLEPIAS
4" ASCLEPIAS curassavica BACOPA
4" BACOPA-BLUETOPIA BLUE
4" BACOPA-SCOPIA DBL.WHITE
4" BACOPA-SCOPIA GREAT PINK
4" BEGONIA-BADA BING SCARLET
4" BEGONIA-COCKTAIL MIX
4" BEGONIA-GIN
4" BEGONIA-PARTY BOY RED
The list on the left is from an import of SQL server invoice database and the one on the right is in another table inside PowerPivot table. I need a way to group the invoice description into the general category on the right. I have tried SEARCH() and CONTAINS() but only get errors. I don't have a way to relate the tables and used SEARCH() with an IF statement. The CONTAINS() is unfamiliar to me.
I want to be able to see how many of a plant group is sold without seeing all the details of each size and variety. I can do something in a regular pivot table with INDEX() and MATCH() array formula but it takes a long time and getting longer.
Thanks for any help.
Lee