Look up stock formulaOn 02/10/2026 at 10:35MMAK TZNewcomerPosts1Excelexcel latestRegistered02/10/2026 pleaselook into my fileneed formula on e2 drag down to find stocks by location from data column a and bSee my file manually done 7all-feb09-ask.xlsx (10.46 KB) On 02/10/2026 at 11:57saboh12617Excel EnthusiastPosts3,394Excel365 ENRegistered05/28/2024Hello and welcome to the forum,Which version of Excel are you using? 2016/2021/365... ?Then your table is very unclear to me, how are we supposed to know which shops are under location 10PK738?Are you looking for a simple sum by shop name, aka https://excel-pratique.com/en/functions/sumif, or a more complex analysis?On 04/06/2026 at 22:20DDandRegular MemberPosts89ExcelOffice365 anglaisRegistered04/18/2024JobRetraité Hi MAK TZ,Since your version of Excel is "The latest," I assume it's 365... Here's a formula=IF(D2<>"";XLOOKUP(D2;$A$1:$A$34;B1:B34;"Not found";0;1);"")to put in cell E2 and drag down from E2 to E7.That should do the trick!DanDSearch for threads similar to "look stock formula"ForumsExcel - VBALook up stock formula