Automatic population of tables for wiring harness tool

skyrat

New Member
Joined
Jan 20, 2015
Messages
14
Office Version
  1. 2019
Platform
  1. Windows
I'm trying to automate a wiring harness tool in Excel but not sure the best way to do it.

The wiring harness comprises of connectors and pins, below is a simple example

There are 2 connectors identified as C1001 and C1002 and each connector has 5 pins.

The table below shows the format of how the connectors and pins are assigned.

e.g.
- connector C1001 pin 1 goes to connector C1002 pin 2
and vice versa...
- connector C1002 pin 2 goes to connector C1001 pin 1

1645472451398.png



Below is a diagram of the tables above...


1645472323835.png






I would like to automate some of this process.

Starting with blank tables, imagine I enter the destination for connector C1001 pin 4 to be C1002 pin 3....

1645472631633.png


As soon as I have done that, I want the corresponding connector (C1002 pin 3) to detect this and be populated automatically...

1645472773694.png



What makes this more difficult is the fact I want any connector to perform this task.

For example, I might populate it vice versa and enter the destination for connector C1002 pin 3 to be C1001 pin 4....

1645472994885.png


As soon as I have done that, I want the corresponding connector (C1001 pin 4) to detect this and be populated automatically...

1645473111303.png



Ideally I would like it to happen in real time, but if not then an update button might be acceptable.

I'm just trying to think of a method on how to implement it, assuming its even possible ?

Whether its using lookup functions or some kind of database function or if necessary even some VBA
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,214,542
Messages
6,120,116
Members
448,945
Latest member
Vmanchoppy

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