#1   Report Post  
Posted to microsoft.public.excel.misc
nick
 
Posts: n/a
Default Help!

Hi,
I am preparing a template where i want the rule to be as follows:
Ex: "abcdefghi" is the name in worksheet1 and i wanna import that data in
worksheet2 with a fixed character lenth in multiple cells.

A1 in worksheet 2 should be first 4 characters thats "abcd" and the
remaining characters "efghi" should go to B1 of worksheet 2. How do i do
this? I hope i framed my Q rite. Any help wld be appreciated. thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dav
 
Posts: n/a
Default Help!


You could Paste the first sheet to the second sheet then convert text to
columns and choose a fixed width.

or

or in cell a1 use the left(Sheet1!a1, 4) function
in cell b1 use mid(sheet1!b1,a1,5,255) function

then copy both formulas down

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=519336

  #3   Report Post  
Posted to microsoft.public.excel.misc
Jim May
 
Posts: n/a
Default Help!

In WS2, A1 enter:
=LEFT(Sheet1!A1,4)
In B1 enter:
=MID(Sheet1!A1,5,256)


"nick" wrote:

Hi,
I am preparing a template where i want the rule to be as follows:
Ex: "abcdefghi" is the name in worksheet1 and i wanna import that data in
worksheet2 with a fixed character lenth in multiple cells.

A1 in worksheet 2 should be first 4 characters thats "abcd" and the
remaining characters "efghi" should go to B1 of worksheet 2. How do i do
this? I hope i framed my Q rite. Any help wld be appreciated. thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
nick
 
Posts: n/a
Default Help!

Thank You

"Dav" wrote:


You could Paste the first sheet to the second sheet then convert text to
columns and choose a fixed width.

or

or in cell a1 use the left(Sheet1!a1, 4) function
in cell b1 use mid(sheet1!b1,a1,5,255) function

then copy both formulas down

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=519336


  #5   Report Post  
Posted to microsoft.public.excel.misc
nick
 
Posts: n/a
Default Help!

Thank You

"Jim May" wrote:

In WS2, A1 enter:
=LEFT(Sheet1!A1,4)
In B1 enter:
=MID(Sheet1!A1,5,256)


"nick" wrote:

Hi,
I am preparing a template where i want the rule to be as follows:
Ex: "abcdefghi" is the name in worksheet1 and i wanna import that data in
worksheet2 with a fixed character lenth in multiple cells.

A1 in worksheet 2 should be first 4 characters thats "abcd" and the
remaining characters "efghi" should go to B1 of worksheet 2. How do i do
this? I hope i framed my Q rite. Any help wld be appreciated. thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"