Auto assign number with +1 If meet the condition given

bobby786

Board Regular
Joined
Apr 24, 2014
Messages
87
Office Version
  1. 2016
Platform
  1. Windows
Hi all experts ,

i have workbook in which i need to maintain the orders and producer of the product.

My Goal:
COL C Producer ( if its new product and not enter before in the above COL , then it should auto assign Invoice number in D6,D7,D8 as "ORD#1" , if its 2nd time then "ORD#2" , 3rd time "ORD#3" )
For Example :
Product1 = Ord#1
Product2= Ord#1
Prodcut1= Ord#2
Product2=Ord#2
Product3=Ord#1

purpose is to track that particular order with invoice , as same product ordered in different times will carry different details in the other area of the sheet so i need to assign a unique number to be able to identify them in later stages . If i explain it poorly please do let me know i will try my best again.

PS: English is not my native language , but i use it everyday :)


BOOK_2020 - 2 - Copy.xlsm
CDEF
6JF SonicORD#1500A800
7JF SonicORD#21000A800
8LongzhenORD#15000S30
9LongzhenORD#24000S30
10JF SonicORD#31000A800
11JF SonicORD#41000A800
12Guiyang CBORD#1500A800
13Longzhen1500A800
CENTRAL
Cells with Data Validation
CellAllowCriteria
C6:F13Any value
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,223,911
Messages
6,175,331
Members
452,636
Latest member
laura12345

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