Make A column, to be like this in B column. Not easy, but not too hard either

basketmen

New Member
Joined
Jul 5, 2013
Messages
10
In A column, i have people names like this :
Code:
john


i need them changed/formatted like this in B column :
Code:
name "john":
{
email((age)zip.[B]J[/B],0,0,0);
email((age)zip.[B]J[/B],0,2,0);
email((age)zip.[B]O[/B],0,0,0);
email((age)zip.[B]O[/B],0,2,0);
email((age)zip.[B]H[/B],0,0,0);
email((age)zip.[B]H[/B],0,2,0);
email((age)zip.[B]N[/B],0,0,0);
email((age)zip.[B]N[/B],0,2,0);
break;
}

Nb. letter in bold is in capital case, even the source is in lower case




how to do that, please help guys, GBU for answering
 
Last edited:

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Questions:

1) Do you want all of that data in column B in a single cell ? Or across multiple cells ?
2) Can you show us what you would want to do with a name of a different length or format ?
For example, CHRISTOPHER
For example, JOHN PAUL
 
Upvote 0
Questions:

1) Do you want all of that data in column B in a single cell ? Or across multiple cells ?
2) Can you show us what you would want to do with a name of a different length or format ?
For example, CHRISTOPHER
For example, JOHN PAUL

thank you for the reply

1) its no problem single or multiple cells, which is easier

2) dont worry, its only easy people last name, no space at all, the source in A column are in lowercase, like
john
michael

its need to be uppercase in the B column like in bold in first post
 
Upvote 0
OK. Just to be absolutely clear, let's ask part of question 2 again.
2) Can you show us what you would want to do with a name of a different length or format ?
For example, "michael"
 
Upvote 0
OK. Just to be absolutely clear, let's ask part of question 2 again.
2) Can you show us what you would want to do with a name of a different length or format ?
For example, "michael"

it will be like this
Code:
name "michael":
{
email((age)zip.[B]M[/B],0,0,0);
email((age)zip.[B]M[/B],0,2,0);
email((age)zip.[B]I[/B],0,0,0);
email((age)zip.[B]I[/B],0,2,0);
email((age)zip.[B]C[/B],0,0,0);
email((age)zip.[B]C[/B],0,2,0);
email((age)zip.[B]H[/B],0,0,0);
email((age)zip.[B]H[/B],0,2,0);
email((age)zip.[B]A[/B],0,0,0);
email((age)zip.[B]A[/B],0,2,0);
email((age)zip.[B]E[/B],0,0,0);
email((age)zip.[B]E[/B],0,2,0);
email((age)zip.[B]L[/B],0,0,0);
email((age)zip.[B]L[/B],0,2,0);
break;
}
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,073
Messages
6,128,633
Members
449,460
Latest member
jgharbawi

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