Looking to find the correct formulas / Open to Ideas

kmclean90

New Member
Joined
Apr 1, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I am trying to build a part number generator based on certain characteristics of what's required, and I am not even remotely sure how to achieve this. My excel skills are definitely not this advanced! Any help here would be really appreciated!

I will upload pictures I am working on with the data in place, below a description of what I am trying to do.


WHAT I AM TRYING TO DO:

When you open the PANEL BUILDER PICTURE, the parameters from the "PANEL BUILDER" sheet (highlighted in yellow, each column is a drop-down list) are selected, I need this combination of variables to pull data from the "PART NUMBER DATA" sheet (2nd picture) into the three different columns (on "PANEL BUILDER SHEET") A10 (Box), C10 (Interior), and E10 (Trim).

For example (I will save the uploaded file this way), The seven variables in yellow you will see upon opening the file will read from left to right, ""NO", "N/A", "3PH" "120/208V", "225A", "42CC", "AL".

With this specific combination, I need cell A10 (all on "PANEL BUILDER SHEET") to isolate "EZB2042RC" in the Box column, cell C10 "P1aL4A2-42" in the Interior column, and cell E10 "EZT2042 (S or F)" in the Trim Column.

Overall, the goal is to have the data being pulled from the "PART NUMBER DATA" sheet change in the columns A10, C10, and E10 on the "PANEL BUILDER "sheet as the variables in the yellow drop-down lists change.

Another example would be, if we change the variable to "NO", N/A", "3PH, "120/208V", "225A", "60CC", "AL" then column A10 should pull "EZB2054RC, C10 should pull "P1aL4A2-60" and E10 should pull "EZT2054RC (S or F)"

This is a bit long winded but that's what I'm trying to do! I hope there's some brilliant mind out there who is willing to help me with this!

Thank you for your time.
 

Attachments

  • PANEL BUILDER SHEET .png
    PANEL BUILDER SHEET .png
    21.9 KB · Views: 7
  • PART NUMBER DATA.png
    PART NUMBER DATA.png
    32.1 KB · Views: 8

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
I believe we need more information about the logic of selection. In the first example, 42CC seems to be the dominant value, i.e. 42 appears at the end of all selections. In the second example, 60CC produces a value in column E that ends with 60, but columns a and g get values ending in 54.
 
Upvote 0
@kmclean90, as @Tupe77 has suggested, you have omitted a lot of information necessary to help you. The manufacturers' model naming convention follows a system, and you have not described that system, so based on the information you've provided, there is no way to help. I made a quick search and found an Eaton product catalog here:
And on pages 19-20 (of the pdf) there are several tables that seem to provide the information necessary for converting your inputs into product model numbers. This information should have been offered or described.

I believe you have several options. One is to construct the Interior Part number based on your inputs. Another option is to use your inputs to perform a lookup in a reference table that you maintain somewhere in your workbook. I'll demonstrate both in the example below. The Interior part is constructed based on the drop down selections using the model-name mask described by the manufacturer at the bottom of page 19. However, I caution that you have not provided sufficient information for this to work reliably. You would need to provide details about all possible drop down options so the formula could account for them correctly. The Box and Trim parts use two of your inputs to perform a lookup based on referencing a table generated from Table 32 on page 20. Even that lookup may not be reliable, as the table includes sections for:
  • Main Lugs Only Or Main Lugs With Sub-Feed Lugs,
  • Main Lugs With Through-Feed Lugs,
  • Main Lugs With Surge Protection Device
From what I can determine, all of these options use the same Box and Trim for some combination of Main Ampere (Maximum) and Number of Branch Circuits, but I do not know if that is universally true, so your inputs should include some indication about which of these three types should be used. I may make better sense to use a different type of lookup (rather than SWITCH) in the constructed part formula, but it would be good to understand what your possible inputs for each dropdown option look like. Then a formula might use INDEX/MATCH or XLOOKUP...I don't know enough yet.
MrExcel_20240112.xlsx
ABCDEFG
1
2MLO OR MAIN BREAKER REQUIRED?MAIN BREAKER SIZE?1PH OR 3PHVOLTAGEBUS AMPERAGECIRCUITSBUS MATERIAL
3NON/A3PH120/208V225A42CCAL
4
5
6
7
8
9BOXINTERIORTRIM
10EZB2042RCP1aL4A2-42EZT2042 S or F
11
Sheet6
Cell Formulas
RangeFormula
A10A10=INDEX(FILTER(tbl32_p20,(ISNUMBER(SEARCH(LEFT(E3,3),tbl32_p20[Main Ampere (Maximum)])))*(tbl32_p20[Number Branch Circuit]=LEFT(F3,2))),1,4)
C10C10=TEXTJOIN(,,"P1a",SWITCH(A3,"No","L"), SWITCH(C3,"1PH",1,"3PH3",3,"3PH",4,""), SWITCH(G3,"AL","A","CU","C",""),SWITCH(E3,"100A",1,"225A",2,"400A",4,""),"-", SWITCH(F3,"18CC",18,"24CC",24,"30CC",30,"42CC",42,"60CC",60,"72CC",72,"84CC",84,""))
E10E10=INDEX(FILTER(tbl32_p20,(ISNUMBER(SEARCH(LEFT(E3,3),tbl32_p20[Main Ampere (Maximum)])))*(tbl32_p20[Number Branch Circuit]=LEFT(F3,2))),1,5)
Cells with Data Validation
CellAllowCriteria
G3ListAL,CU
E3List100A,225A,400A

MrExcel_20240112.xlsx
ABCDE
3TypeMain Ampere (Maximum)Number Branch CircuitBox Catalogue NumberTrim Catalogue Number
4Main Lugs Only Or Main Lugs With Sub-Feed Lugs10018EZB2030RCEZT2030 S or F
5Main Lugs Only Or Main Lugs With Sub-Feed Lugs10024EZB2030RCEZT2030 S or F
6Main Lugs Only Or Main Lugs With Sub-Feed Lugs10030EZB2030RCEZT2030 S or F
7Main Lugs Only Or Main Lugs With Sub-Feed Lugs10042EZB2036RCEZT2036 S or F
8Main Lugs Only Or Main Lugs With Sub-Feed Lugs22518EZB2030RCEZT2030 S or F
9Main Lugs Only Or Main Lugs With Sub-Feed Lugs22524EZB2036RCEZT2036 S or F
10Main Lugs Only Or Main Lugs With Sub-Feed Lugs22530EZB2036RCEZT2036 S or F
11Main Lugs Only Or Main Lugs With Sub-Feed Lugs22542EZB2042RCEZT2042 S or F
12Main Lugs Only Or Main Lugs With Sub-Feed Lugs22560EZB2054RCEZT2054 S or F
13Main Lugs Only Or Main Lugs With Sub-Feed Lugs22572EZB2060RCEZT2060 S or F
14Main Lugs Only Or Main Lugs With Sub-Feed Lugs22584EZB2072RCEZT2072 S or F
15Main Lugs Only Or Main Lugs With Sub-Feed Lugs400/60024EZB2024RCEZT2042 S or F
16Main Lugs Only Or Main Lugs With Sub-Feed Lugs400/60030EZB2030RCEZT2048 S or F
17Main Lugs Only Or Main Lugs With Sub-Feed Lugs400/60042EZB2054RCEZT2054 S or F
18Main Lugs Only Or Main Lugs With Sub-Feed Lugs400/60060EZB2060RCEZT2060 S or F
19Main Lugs Only Or Main Lugs With Sub-Feed Lugs400/60072EZB2072RCEZT2072 S or F
20Main Lugs Only Or Main Lugs With Sub-Feed Lugs400/60084EZB2072RCEZT2072 S or F
21Main Lugs With Through-Feed Lugs10018EZB2030RCEZT2030 S or F
22Main Lugs With Through-Feed Lugs10024EZB2030RCEZT2030 S or F
23Main Lugs With Through-Feed Lugs10030EZB2030RCEZT2030 S or F
24Main Lugs With Through-Feed Lugs10042EZB2036RCEZT2036 S or F
25Main Lugs With Through-Feed Lugs22518EZB2030RCEZT2030 S or F
26Main Lugs With Through-Feed Lugs22524EZB2036RCEZT2036 S or F
27Main Lugs With Through-Feed Lugs22530EZB2036RCEZT2036 S or F
28Main Lugs With Through-Feed Lugs22542EZB2042RCEZT2042 S or F
29Main Lugs With Through-Feed Lugs22560EZB2060RCEZT2060 S or F
30Main Lugs With Through-Feed Lugs22572EZB2072RCEZT2072 S or F
31Main Lugs With Through-Feed Lugs400/60024EZB2048RCEZT2048 S or F
32Main Lugs With Through-Feed Lugs400/60030EZB2054RCEZT2054 S or F
33Main Lugs With Through-Feed Lugs400/60042EZB2060RCEZT2060 S or F
34Main Lugs With Through-Feed Lugs400/60060EZB2072RCEZT2072 S or F
35Main Lugs With Through-Feed Lugs400/60072EZB2072RCEZT2072 S or F
36Main Lugs With Surge Protection Device10018EZB2030RCEZT2030 S or F
37Main Lugs With Surge Protection Device10024EZB2030RCEZT2030 S or F
38Main Lugs With Surge Protection Device10030EZB2030RCEZT2030 S or F
39Main Lugs With Surge Protection Device10042EZB2036RCEZT2036 S or F
40Main Lugs With Surge Protection Device22518EZB2030RCEZT2030 S or F
41Main Lugs With Surge Protection Device22524EZB2036RCEZT2036 S or F
42Main Lugs With Surge Protection Device22530EZB2036RCEZT2036 S or F
43Main Lugs With Surge Protection Device22542EZB2042RCEZT2042 S or F
44Main Lugs With Surge Protection Device22560EZB2054RCEZT2054 S or F
45Main Lugs With Surge Protection Device22572EZB2060RCEZT2060 S or F
46Main Lugs With Surge Protection Device22584EZB2072RCEZT2072 S or F
47Main Lugs With Surge Protection Device400/60024EZB2048RCEZT2048 S or F
48Main Lugs With Surge Protection Device400/60030EZB2054RCEZT2054 S or F
49Main Lugs With Surge Protection Device400/60042EZB2054RCEZT2054 S or F
50Main Lugs With Surge Protection Device400/60060EZB2060RCEZT2060 S or F
51Main Lugs With Surge Protection Device400/60072EZB2072RCEZT2072 S or F
Sheet9
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,953
Members
449,095
Latest member
nmaske

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