Forum Discussion
swabeeh
Apr 01, 2024Copper Contributor
Lookup
I need to lookup excel ( I dont want to use Pivot table) I have date in one sheets with three columns “Product” , “qty sold”and “city” And in other sheet i want it in the way that, the table wit...
- Apr 01, 2024
See the attached demo workbook.
PeterBartholomew1
Apr 01, 2024Silver Contributor
It depends upon the version of Excel that you use:
Dynamic array
= SUMIFS(qty, Product, UNIQUE(Product), country, TOROW(UNIQUE(country)))
LET/LAMBDA
= LET(
productHdr, UNIQUE(Product),
countryHdr, TOROW(UNIQUE(country)),
SUMIFS(qty, Product, productHdr, country, countryHdr)
)
GROUPBY/PIVOTBY
= PIVOTBY(Product, country, qty, SUM,,0,,0)
Other versions of Excel are available.
But I wouldn't recommend them
PeterBartholomew1
Apr 01, 2024Silver Contributor
Using HansVogelaar 's workbook