Help!!!!!!!!

Abhilash1503

New Member
Joined
Sep 11, 2019
Messages
9
I have data in excel as mentioned below

Input
1a 1b 1c 4a 4b 4c 7a 7b 7c
2a 2b 2c 5a 5b 5c 8a 8b 8c
3a 3b 3c 6a 6b 6c 9a 9b 9c

Output
1a 1b 1c
2a 2b 2c
3a 3b 3c
4a 4b 4c
5a 5b 5c
6a 6b 6c
7a 7b 7c
8a 8b 8c
9a 9b 9c

As mentioned in the above i have data in input format,
and i need data as mentioned in output format.

Is there any formula for this........?
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Abhilash1503,
Use the InStr function to find the starting position of the “a” , then use a combination of Left(), Right(), and Mid() functions to return the data

hth,
Computerman
 
Upvote 0
[Table="width:, class:grid"][tr][td="bgcolor:#C0C0C0"][/td][td="bgcolor:#C0C0C0"]
A​
[/td][td="bgcolor:#C0C0C0"]
B​
[/td][td="bgcolor:#C0C0C0"]
C​
[/td][td="bgcolor:#C0C0C0"]
D​
[/td][td="bgcolor:#C0C0C0"]
E​
[/td][td="bgcolor:#C0C0C0"]
F​
[/td][td="bgcolor:#C0C0C0"]
G​
[/td][td="bgcolor:#C0C0C0"]
H​
[/td][td="bgcolor:#C0C0C0"]
I​
[/td][td="bgcolor:#C0C0C0"]
J​
[/td][/tr][tr][td="bgcolor:#C0C0C0"]
1​
[/td][td]
1a​
[/td][td]
1b​
[/td][td]
1c​
[/td][td]
4a​
[/td][td]
4b​
[/td][td]
4c​
[/td][td]
7a​
[/td][td]
7b​
[/td][td]
7c​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
2​
[/td][td]
2a​
[/td][td]
2b​
[/td][td]
2c​
[/td][td]
5a​
[/td][td]
5b​
[/td][td]
5c​
[/td][td]
8a​
[/td][td]
8b​
[/td][td]
8c​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
3​
[/td][td]
3a​
[/td][td]
3b​
[/td][td]
3c​
[/td][td]
6a​
[/td][td]
6b​
[/td][td]
6c​
[/td][td]
9a​
[/td][td]
9b​
[/td][td]
9c​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
4​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
5​
[/td][td="bgcolor:#CCFFCC"]
1a​
[/td][td="bgcolor:#CCFFCC"]
1b​
[/td][td="bgcolor:#CCFFCC"]
1c​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td="bgcolor:#CCFFCC"]A5: =INDEX($A$1:$I$3, INT((ROWS($A$5:A5) + 2) / 3), MOD(3 * (ROWS($A$5:A5) - 1), 9) + COLUMNS($A$5:A5))[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
6​
[/td][td="bgcolor:#CCFFCC"]
4a​
[/td][td="bgcolor:#CCFFCC"]
4b​
[/td][td="bgcolor:#CCFFCC"]
4c​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
7​
[/td][td="bgcolor:#CCFFCC"]
7a​
[/td][td="bgcolor:#CCFFCC"]
7b​
[/td][td="bgcolor:#CCFFCC"]
7c​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
8​
[/td][td="bgcolor:#CCFFCC"]
2a​
[/td][td="bgcolor:#CCFFCC"]
2b​
[/td][td="bgcolor:#CCFFCC"]
2c​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
9​
[/td][td="bgcolor:#CCFFCC"]
5a​
[/td][td="bgcolor:#CCFFCC"]
5b​
[/td][td="bgcolor:#CCFFCC"]
5c​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
10​
[/td][td="bgcolor:#CCFFCC"]
8a​
[/td][td="bgcolor:#CCFFCC"]
8b​
[/td][td="bgcolor:#CCFFCC"]
8c​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
11​
[/td][td="bgcolor:#CCFFCC"]
3a​
[/td][td="bgcolor:#CCFFCC"]
3b​
[/td][td="bgcolor:#CCFFCC"]
3c​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
12​
[/td][td="bgcolor:#CCFFCC"]
6a​
[/td][td="bgcolor:#CCFFCC"]
6b​
[/td][td="bgcolor:#CCFFCC"]
6c​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
13​
[/td][td="bgcolor:#CCFFCC"]
9a​
[/td][td="bgcolor:#CCFFCC"]
9b​
[/td][td="bgcolor:#CCFFCC"]
9c​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]
[/table]
 
Upvote 0
[TABLE="class: grid"]
<tbody>[TR]
[TD="bgcolor: #C0C0C0"][/TD]
[TD="bgcolor: #C0C0C0"]
A​
[/TD]
[TD="bgcolor: #C0C0C0"]
B​
[/TD]
[TD="bgcolor: #C0C0C0"]
C​
[/TD]
[TD="bgcolor: #C0C0C0"]
D​
[/TD]
[TD="bgcolor: #C0C0C0"]
E​
[/TD]
[TD="bgcolor: #C0C0C0"]
F​
[/TD]
[TD="bgcolor: #C0C0C0"]
G​
[/TD]
[TD="bgcolor: #C0C0C0"]
H​
[/TD]
[TD="bgcolor: #C0C0C0"]
I​
[/TD]
[TD="bgcolor: #C0C0C0"]
J​
[/TD]
[/TR]
[TR]
[TD="bgcolor: #C0C0C0"]
1​
[/TD]
[TD]
1a​
[/TD]
[TD]
1b​
[/TD]
[TD]
1c​
[/TD]
[TD]
4a​
[/TD]
[TD]
4b​
[/TD]
[TD]
4c​
[/TD]
[TD]
7a​
[/TD]
[TD]
7b​
[/TD]
[TD]
7c​
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="bgcolor: #C0C0C0"]
2​
[/TD]
[TD]
2a​
[/TD]
[TD]
2b​
[/TD]
[TD]
2c​
[/TD]
[TD]
5a​
[/TD]
[TD]
5b​
[/TD]
[TD]
5c​
[/TD]
[TD]
8a​
[/TD]
[TD]
8b​
[/TD]
[TD]
8c​
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="bgcolor: #C0C0C0"]
3​
[/TD]
[TD]
3a​
[/TD]
[TD]
3b​
[/TD]
[TD]
3c​
[/TD]
[TD]
6a​
[/TD]
[TD]
6b​
[/TD]
[TD]
6c​
[/TD]
[TD]
9a​
[/TD]
[TD]
9b​
[/TD]
[TD]
9c​
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="bgcolor: #C0C0C0"]
4​
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="bgcolor: #C0C0C0"]
5​
[/TD]
[TD="bgcolor: #CCFFCC"]
1a​
[/TD]
[TD="bgcolor: #CCFFCC"]
1b​
[/TD]
[TD="bgcolor: #CCFFCC"]
1c​
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="bgcolor: #CCFFCC"]A5: =INDEX($A$1:$I$3, INT((ROWS($A$5:A5) + 2) / 3), MOD(3 * (ROWS($A$5:A5) - 1), 9) + COLUMNS($A$5:A5))[/TD]
[/TR]
[TR]
[TD="bgcolor: #C0C0C0"]
6​
[/TD]
[TD="bgcolor: #CCFFCC"]
4a​
[/TD]
[TD="bgcolor: #CCFFCC"]
4b​
[/TD]
[TD="bgcolor: #CCFFCC"]
4c​
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="bgcolor: #C0C0C0"]
7​
[/TD]
[TD="bgcolor: #CCFFCC"]
7a​
[/TD]
[TD="bgcolor: #CCFFCC"]
7b​
[/TD]
[TD="bgcolor: #CCFFCC"]
7c​
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="bgcolor: #C0C0C0"]
8​
[/TD]
[TD="bgcolor: #CCFFCC"]
2a​
[/TD]
[TD="bgcolor: #CCFFCC"]
2b​
[/TD]
[TD="bgcolor: #CCFFCC"]
2c​
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="bgcolor: #C0C0C0"]
9​
[/TD]
[TD="bgcolor: #CCFFCC"]
5a​
[/TD]
[TD="bgcolor: #CCFFCC"]
5b​
[/TD]
[TD="bgcolor: #CCFFCC"]
5c​
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="bgcolor: #C0C0C0"]
10​
[/TD]
[TD="bgcolor: #CCFFCC"]
8a​
[/TD]
[TD="bgcolor: #CCFFCC"]
8b​
[/TD]
[TD="bgcolor: #CCFFCC"]
8c​
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="bgcolor: #C0C0C0"]
11​
[/TD]
[TD="bgcolor: #CCFFCC"]
3a​
[/TD]
[TD="bgcolor: #CCFFCC"]
3b​
[/TD]
[TD="bgcolor: #CCFFCC"]
3c​
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="bgcolor: #C0C0C0"]
12​
[/TD]
[TD="bgcolor: #CCFFCC"]
6a​
[/TD]
[TD="bgcolor: #CCFFCC"]
6b​
[/TD]
[TD="bgcolor: #CCFFCC"]
6c​
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="bgcolor: #C0C0C0"]
13​
[/TD]
[TD="bgcolor: #CCFFCC"]
9a​
[/TD]
[TD="bgcolor: #CCFFCC"]
9b​
[/TD]
[TD="bgcolor: #CCFFCC"]
9c​
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Thanks for helping out but the output differs....

It's not in the format i requested....

It would be grateful if you help

Thanks in advance....
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,208
Members
452,618
Latest member
Tam84

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