# Thread: Help!!!!!!!! Thanks:  3 Post #5340303 (1)Post #5340352 (1)Post #5341389 (1) Likes:  2 Post #5340303 (1)Post #5340352 (1)

1. ## Help!!!!!!!!

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........?

2. ## Re: Help!!!!!!!!

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

3. ## Re: Help!!!!!!!!

Is the input in 7 different columns and the output in 3?

4. ## Re: Help!!!!!!!!

 A B C D E F G H I J 1 1a 1b 1c 4a 4b 4c 7a 7b 7c 2 2a 2b 2c 5a 5b 5c 8a 8b 8c 3 3a 3b 3c 6a 6b 6c 9a 9b 9c 4 5 1a 1b 1c 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)) 6 4a 4b 4c 7 7a 7b 7c 8 2a 2b 2c 9 5a 5b 5c 10 8a 8b 8c 11 3a 3b 3c 12 6a 6b 6c 13 9a 9b 9c

5. ## Re: Help!!!!!!!!

Originally Posted by shg
 A B C D E F G H I J 1 1a 1b 1c 4a 4b 4c 7a 7b 7c 2 2a 2b 2c 5a 5b 5c 8a 8b 8c 3 3a 3b 3c 6a 6b 6c 9a 9b 9c 4 5 1a 1b 1c 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)) 6 4a 4b 4c 7 7a 7b 7c 8 2a 2b 2c 9 5a 5b 5c 10 8a 8b 8c 11 3a 3b 3c 12 6a 6b 6c 13 9a 9b 9c
Thanks for helping out but the output differs....

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

It would be grateful if you help

6. ## Re: Help!!!!!!!!

Would you please workout a sample on that...

It will be great help for me...

7. ## Re: Help!!!!!!!!

Hi,

A5: =INDEX(\$A\$1:\$I\$3,MOD(ROWS(A\$5:A5)-1,3)+1,3*(ROUNDUP(ROWS(A\$5:A5)/3,0)-1)+COLUMNS(\$A5:A5))

Greetings

Christian

8. ## Re: Help!!!!!!!!

Originally Posted by Besserwisser
Hi,

A5: =INDEX(\$A\$1:\$I\$3,MOD(ROWS(A\$5:A5)-1,3)+1,3*(ROUNDUP(ROWS(A\$5:A5)/3,0)-1)+COLUMNS(\$A5:A5))

Greetings

Christian

Thanks that works fine...