Name Manager Help

AaronFi

New Member
Joined
Oct 15, 2022
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hello, first time poster here!

I am looking to use the name manager to define names where the results will update whenever I refresh the table it's referencing.

Here's the table:
Column A are categories
Column B are part numbers
Column C are descriptions
Column D are prices

Is it possible to create a new name where the name is one of the product categories (looks at column A and pulls in the correct rows) and the list it generates is a list of descriptions (column C)?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
An example for
Table named Table1 (needs to be a formal excel table, CTRL-T to turn your data into a table if is not one)
Category column labelled Category
Description column labelled Desc
Category of interest Valve

Go to name manager
Name: Valve
Formula:
Excel Formula:
=FILTER(Table1[Desc], Table1[Category]="Valve")

Then if you type =Valve in a cell it will spill all the valve descriptions from Table1

Change Table1, Category, Desc, and Valve as needed to match your setup
 
Upvote 0
An example for
Table named Table1 (needs to be a formal excel table, CTRL-T to turn your data into a table if is not one)
Category column labelled Category
Description column labelled Desc
Category of interest Valve

Go to name manager
Name: Valve
Formula:
Excel Formula:
=FILTER(Table1[Desc], Table1[Category]="Valve")

Then if you type =Valve in a cell it will spill all the valve descriptions from Table1

Change Table1, Category, Desc, and Valve as needed to match your setup
Thanks for responding! I believe I am almost there, but for some reason the formula is not creating a list of options. Here's the formula I ended up creating:

=FILTER(Catalog[Description], Catalog[IPS_Categories]="Motherboard")

Category column labelled IPS_Categories
Description column labelled Description
Category of interest Motherboard

The formula didn't error out but the value is doing nothing more than posting as {...}. Any ideas on what I am doing wrong?
 
Upvote 0
Thanks for responding! I believe I am almost there, but for some reason the formula is not creating a list of options. Here's the formula I ended up creating:

=FILTER(Catalog[Description], Catalog[IPS_Categories]="Motherboard")

Category column labelled IPS_Categories
Description column labelled Description
Category of interest Motherboard

The formula didn't error out but the value is doing nothing more than posting as {...}. Any ideas on what I am doing wrong?
One more interesting note - if I use the same exact formula in a cell to generate a list, the formula works and displays everything correctly.
So, inside of name manager, all I get is {...}
Typed into a cell, I get a list of 5 items, which is as expected.
 
Upvote 0
I'm not sure why it is not working for you. It works here

1665856551941.png


Book2
ABCDEFG
1IPS_CategoriesPart NoDescriptionPrice
2Gasket7370S520.13B
3Spring6471K161.36P
4Motherboard3832B413.01D
5Hose4594M122.88H
6Valve1925G186.82Q
7Motherboard1779P920.06I
8Hose2074O846.86
9Valve3887C449.98
10Motherboard8456D804.34
11Belt8757R926.61
12Belt2890F115.93
13Valve9011T445.55
14Motherboard4842H782.85
15Belt9360A494.21
16Motherboard9947Q955.21
17Motherboard1923I646.13
18Valve8939L511.42
19Spring2420J279.06
20Hose2116N403.25
21Valve3333E255.03
22
Sheet2
Cell Formulas
RangeFormula
F2:F7F2=Motherboard
Dynamic array formulas.
 
Upvote 0
So, inside of name manager, all I get is {...}
That is what you will get, as the name manager doesn't know what the values are until the formula calculates.
 
Upvote 0
I'm not sure why it is not working for you. It works here

View attachment 76295

Book2
ABCDEFG
1IPS_CategoriesPart NoDescriptionPrice
2Gasket7370S520.13B
3Spring6471K161.36P
4Motherboard3832B413.01D
5Hose4594M122.88H
6Valve1925G186.82Q
7Motherboard1779P920.06I
8Hose2074O846.86
9Valve3887C449.98
10Motherboard8456D804.34
11Belt8757R926.61
12Belt2890F115.93
13Valve9011T445.55
14Motherboard4842H782.85
15Belt9360A494.21
16Motherboard9947Q955.21
17Motherboard1923I646.13
18Valve8939L511.42
19Spring2420J279.06
20Hose2116N403.25
21Valve3333E255.03
22
Sheet2
Cell Formulas
RangeFormula
F2:F7F2=Motherboard
Dynamic array formulas.
If I spill the results into a spreadsheet like you did, it works for me too.

It's when I use the name manager to generate results that nothing gets picked up.
 

Attachments

  • No Results.png
    No Results.png
    18.4 KB · Views: 17
Upvote 0
That is what you will get, as the name manager doesn't know what the values are until the formula calculates.

Then maybe my problem is further downstream. The reason I am doing this is I need to use data validation to create a drop-down list of products by category. I am trying to use the indirect function to reference the defined names to create the drop-down list. Can I not use the names in this manner?
 
Upvote 0
Can I not use the names in this manner?
No you can't, but if you put the formula in F2 (for instance) then you can refer to that cell in the data validation using =F2#
 
Upvote 0
Solution
No you can't, but if you put the formula in F2 (for instance) then you can refer to that cell in the data validation using =F2#
This worked! I created a new sheet within the workbook, named each column by what would be housed in that column, used each column to spill the results of each category, and bingo, I'm up and running.

Thank you to both @JGordon11 and @Fluff for the assistance!
 
Upvote 0

Forum statistics

Threads
1,224,803
Messages
6,181,055
Members
453,014
Latest member
Chris258

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