ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   unic no (https://www.excelbanter.com/excel-programming/447633-unic-no.html)

Bakar

unic no
 
Hi Everyone
I Have a user form for staff entry and i want to have a unic no automatically attribute to each staff member that i enter
\example
\cell B1 Name cell B1 surname Cell C1 Address-----up to cell G1 and in cell H1 automatically a number is generated

\thanks for ur usual help
Bakar

Living the Dream

unic no
 
Hi

In Cell H2 put this:

=IF($A2="","",1)

In Cell H3 put this:

=IF($A3="","",($H2+1)) then copy down as required.

HTH
Mick.


All times are GMT +1. The time now is 09:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com