List a unique Value with condition but list it IN ROW next to it,not in columns under

nahaku

Board Regular
Joined
Mar 19, 2020
Messages
106
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I have this function to list a unique values of locations for items but some items are in multiple locations. I want to either list all of them in row next to the item or in drop down menu like for data validation.
But I know only how to list them under and it gives me SPILL error.
It needs to be in one row as I already have too many rows with multiple different items.
Calc Error is for location what are not available.
=UNIQUE(FILTER(Table3[Location],Table3[SKU code]=$B7))
OutGoodsStats.xlsx
BCDEFGHIJ
6SKU CodeItems ShippedAvailable StockLocations
70012102140#CALC! 
80014820#CALC!Desired results under
900159011224113.20.2.4
100021327#SPILL!113.03.1.5113.07.3.5113.24.2.2
110020610#CALC!
12004710#CALC!
1300520#CALC!
1400900-55CM10#CALC!
1500902-47CM316113.19.1.1
1600907-47CM23113.14.2.2
17039-Z900-SXW3-BK10#CALC!
18051-68-0210#CALC!
19052-31-0110#CALC!
200603-1111#SPILL!002.52.4.2113.07.4.5
21069-3305117107.05.4.5
2208050200061198#SPILL!119.19.1.5119.19.5.1119.19.6.1119.19.6.3
230805020008G747#SPILL!101.13.1.3101.14.1.2101.17.2.1
240805020008G-A750#SPILL!118.15.1.1118.15.1.3118.15.1.5
250805020009G1112101.25.1.3
260805020009G-A1121#SPILL!105.15.1.1105.15.2.1
27080602000265118.13.1.3
280806020002-A65110.21.1.1
Summary
Cell Formulas
RangeFormula
E7:E28E7=SUMIF(Table3[SKU code],B7,Table3[Available inventory Qty])
F7:F28F7=UNIQUE(FILTER(Table3[Location],Table3[SKU code]=$B7))
G7G7=IFERROR(IFS($B7<>"",FILTER(Table3[Location],COUNTIF(Table3[SKU code],$B7),"")),"")
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
I am trying now also Power Query but I do not see how to use the transpose function for one column and give relevant Location to the type of item
 
Upvote 0
How about
=Transpose(UNIQUE(FILTER(Table3[Location],Table3[SKU code]=$B7)))
 
Upvote 0
How about
=Transpose(UNIQUE(FILTER(Table3[Location],Table3[SKU code]=$B7)))
Exactly. Even though i solved it in Power query. But I will keep this function for another problems Thank you.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,648
Messages
6,120,726
Members
448,987
Latest member
marion_davis

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