BASIC Input Mask

dragonmouse

Board Regular
Joined
May 14, 2008
Messages
129
Office Version
  1. 2016
Platform
  1. Windows
Haven't needed to do this in a long time. INPUT MASK (I thought it was formatting)

I have several computers the name is COMP-BLD222****

The **** is the last four of the serial number. the COMP-BLD222 will be the same for all.

QUESTIONS;
1. how do I create a "mask" to just add the last 4?
2. Could I somehow combine the MASK with the last for of the serial column so it would be really easy?
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Answers:
1. Highlight the cells/columns that you are wanting this to be performed and then go to the Format Cells. Select Custom. In the empty box under where it says Type:, put "COMP-BLD222"#### (including the quotes and the 4 pound/hashtag signs.
2. Now that answer 1 has been put into place, you just need to enter those last 4 characters. Excel will add in the COMP-BLD222 to each one.
 
Upvote 0
Solution
Johnny51981 that worked.

However on the bright side I found an answer that worked even better than an input mask:

In a "hidden" column (R3) I used this formula =RIGHT([@[Serial Nbr]],4)

Then in the column I wanted the name in I used =CONCATENATE("COMP-BLDG222",R3)

By whatever miracles that be...it worked better than masking anyway because just copying it down it filled everything in automatically rather than typing it in.
 
Upvote 0

Forum statistics

Threads
1,215,546
Messages
6,125,459
Members
449,228
Latest member
moaz_cma

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