Forum Discussion
olivermuk
Feb 28, 2025Copper Contributor
Check 3 cells for values, then get value of 4th
Hi all I'm struggling with this one. I have a table with a list of billable items. This data is a client name, product description (which includes a mixed string, but always contains an SKU), a p...
- Feb 28, 2025
Your data needs a bit of clean up (and I didn't presume you'd always have first of the month dates) and then PIVOTBY can handle it:
=LET( dates, EOMONTH(+DemoTbl[Start Date], -1) + 1, product, REGEXEXTRACT(DemoTbl[Product], "(SKU\d+)"), row_labels, HSTACK(DemoTbl[Client name], product), values, DemoTbl[Value], PIVOTBY(row_labels, dates, values, SUM) )
Harun24HR
Mar 02, 2025Bronze Contributor
SUMIFS() will work. Please share a sample file instead of image.