Looking

hidaren

New Member
Joined
Oct 25, 2022
Messages
7
Office Version
  1. 2021
Platform
  1. Windows
I'm trying to summarize the expanded table in the summary table. To this end, I'm trying to come up with a formula in column F under "Goods" to return the first matching cell's value (text) in column B whenever column A equals column E.

قبض انبار.xlsx
ABCDEFG
1Expanded TableSummary Table
2
3
4CodeGoodsvalueCodeGoodsvalue
51backpack10119
61pen128
71pencil1318
81eraser249
91notebook5
102apple1
112orange1
122banana2
132pineapple3Outcome
142carrot1
153shirt6
163t-shirt5
173pants4CodeGoodsvalue
183hat31bcakpack19
194water12apple8
204lemon juice23shirt18
214tea34water9
224coffee3
Sheet1
Cell Formulas
RangeFormula
G5:G8G5=SUMIF($A$5:$A$22, E5, $C$5:$C$22)



I've also added an outcome table to show what I expect.




Any solution?
 

Attachments

  • Excel .jpg
    Excel .jpg
    71.7 KB · Views: 1
  • 1691503999236.png
    1691503999236.png
    30.2 KB · Views: 1

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
How about
Excel Formula:
=XLOOKUP(E5,$A$5:$A$22,$B$5:$B$22,"")
 
Upvote 1
Solution
Glad we could help & thanks for the feedback.
 
Upvote 1

Forum statistics

Threads
1,215,281
Messages
6,124,043
Members
449,139
Latest member
sramesh1024

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top