[TABLE="width: 500"]
<tbody>[TR]
[TD]S NO
[/TD]
[TD]CODE NUMBER
[/TD]
[TD]MOBILE NUMBER
[/TD]
[TD]REFERING NUMBER
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD][/TD]
[TD]6375871156
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Hi good morning,
I need your help for making the above chart as smart.
I am giving a offer to my customers, who are purchasing mobile phones in our shop.
I want to give a unique offer code to each mobile phone purchasing customer and tel them to refer some one to purchase mobile in our shop by bring the offer code.
Now i will fill the "c" & "d" column with the customer mobile number, and i need a code "b" column.
The code generation will be as like,
if, the mobile number is 6375871156
Then, first three number 6+3+7 = 16
then, next three number 5+8+7 = 20
then, next three number 1+1+5 = 7
last one digit "6" = F (6th digit in alphabet)
Now i need the code as 16207F
Hope you will understand what i am expecting. I am ready to explain you more if my above request not clear for you.
Advance thanks.
<tbody>[TR]
[TD]S NO
[/TD]
[TD]CODE NUMBER
[/TD]
[TD]MOBILE NUMBER
[/TD]
[TD]REFERING NUMBER
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD][/TD]
[TD]6375871156
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Hi good morning,
I need your help for making the above chart as smart.
I am giving a offer to my customers, who are purchasing mobile phones in our shop.
I want to give a unique offer code to each mobile phone purchasing customer and tel them to refer some one to purchase mobile in our shop by bring the offer code.
Now i will fill the "c" & "d" column with the customer mobile number, and i need a code "b" column.
The code generation will be as like,
if, the mobile number is 6375871156
Then, first three number 6+3+7 = 16
then, next three number 5+8+7 = 20
then, next three number 1+1+5 = 7
last one digit "6" = F (6th digit in alphabet)
Now i need the code as 16207F
Hope you will understand what i am expecting. I am ready to explain you more if my above request not clear for you.
Advance thanks.