I am trying write a formula for when I enter in the machine number the machine name populates with the correct machine name

Sargent12

New Member
Joined
Feb 21, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I am doing about 1000 lines of data entry for a machine shop and I am trying write a formula for when I enter in the machine number the machine name auto fills with the correct machine name.

ProgramHoursMachine NumberMachine name
Program 12
Program 13
Program 15
Program 18
Program 11

Machine #Machine Name
1Grinder
2CNC mill
3H Lathe
4V lathe
5CNC lathe
6Band saw
7Sander
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
How about
Fluff.xlsm
ABCDEFG
1ProgramHoursMachine NumberMachine nameMachine #Machine Name
2Program 126Band saw1Grinder
3Program 134V lathe2CNC mill
4Program 15 3H Lathe
5Program 181Grinder4V lathe
6Program 11 5CNC lathe
76Band saw
87Sander
Data
Cell Formulas
RangeFormula
D2:D6D2=XLOOKUP(C2,$F$2:$F$8,$G$2:$G$8,"")
 
Upvote 0

Forum statistics

Threads
1,221,504
Messages
6,160,199
Members
451,630
Latest member
zxhathust

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