Automatic Ref Number on Excel

Olly_01

New Member
Joined
Mar 27, 2009
Messages
5
Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
I am a basic Excel user for the windows 2000 version at work,<o:p></o:p>
I need to create a column in A that will take info from another field & add a number to it (for instance see below) but automatically do this action after I complete each other field, please give answers that are Idiot proof.<o:p></o:p>
<o:p></o:p>
Ref number| Item code| Condition |Clerk|
TZ0001 | - | Repairable |TZ |
JK0001 | - | New | JK |
TZ0002 | - | New | TZ |<o:p></o:p>

<o:p></o:p>
Many Thanks<o:p></o:p>
<o:p></o:p>
Olly<o:p></o:p>
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Welcome to the board!

A fully automatic solution would require a VBA aproach to the problem, a quick formula solution would be

=D2&TEXT(COUNTIF(D$2:D2,D2),"0000")

This is on the basis that your first Clerk (TZ) is in D2, copy the formula into the first cell where the reference number is to be entered, then use the Autofill handle to copy it down as required.

Hope this helps

Jason
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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