Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default POPULATE CELL WITH CHARACTERS FROM ANOTHER CELL

The cell A has a catalog number in it with the order it belongs in the mix.
What I need to do is seperate the catalog number from the order number is
there a function or macro that will do this? Thanks in advance for the help.

A B C
A2399(1) A2399 1
A2418(2) A2418 2
A3625(10) A3625 10
A8697(8) A8697 8
A5867(11) A5867 11
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 136
Default POPULATE CELL WITH CHARACTERS FROM ANOTHER CELL

Paste this in colum B
=LEFT(A1,FIND("(",A1)-1)

Paste this in column C
=MID(A1,FIND("(",A1)+1,FIND(")",A1)-FIND("(",A1)-1)



"Daniell" wrote:

The cell A has a catalog number in it with the order it belongs in the mix.
What I need to do is seperate the catalog number from the order number is
there a function or macro that will do this? Thanks in advance for the help.

A B C
A2399(1) A2399 1
A2418(2) A2418 2
A3625(10) A3625 10
A8697(8) A8697 8
A5867(11) A5867 11

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default POPULATE CELL WITH CHARACTERS FROM ANOTHER CELL

Another way:

Copy column A to columns B and C
(3 columns that look identical)

Select column B
edit|replace
what: (*
with: (leave blank)
replace all

Select column C
Edit|Replace
what: *(
with: (Leave blank)
replace all

and one more
edit|replace
what: )
with: (leave blank)
replace all

If you really need a macro, you could record one when you do it manually.

Daniell wrote:

The cell A has a catalog number in it with the order it belongs in the mix.
What I need to do is seperate the catalog number from the order number is
there a function or macro that will do this? Thanks in advance for the help.

A B C
A2399(1) A2399 1
A2418(2) A2418 2
A3625(10) A3625 10
A8697(8) A8697 8
A5867(11) A5867 11


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default POPULATE CELL WITH CHARACTERS FROM ANOTHER CELL

Thanks for the help

"Dave Peterson" wrote:

Another way:

Copy column A to columns B and C
(3 columns that look identical)

Select column B
edit|replace
what: (*
with: (leave blank)
replace all

Select column C
Edit|Replace
what: *(
with: (Leave blank)
replace all

and one more
edit|replace
what: )
with: (leave blank)
replace all

If you really need a macro, you could record one when you do it manually.

Daniell wrote:

The cell A has a catalog number in it with the order it belongs in the mix.
What I need to do is seperate the catalog number from the order number is
there a function or macro that will do this? Thanks in advance for the help.

A B C
A2399(1) A2399 1
A2418(2) A2418 2
A3625(10) A3625 10
A8697(8) A8697 8
A5867(11) A5867 11


--

Dave Peterson

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Populate cell is another cell is populated jhicsupt Excel Discussion (Misc queries) 2 April 13th 07 12:10 AM
Skip cell if X nonexistent, populate next cell prodeji Excel Discussion (Misc queries) 0 February 1st 07 03:51 PM
auto populate cell based on previous cell drop down list selectio. PuzzledbyLists Excel Discussion (Misc queries) 2 September 11th 06 01:28 AM
How can I populate an Excel cell based on the data in another cell JerseyBoy Excel Worksheet Functions 3 September 30th 05 03:53 PM
make a cell automatically populate with "1" when specified cell va WendyM Excel Discussion (Misc queries) 1 March 28th 05 09:11 PM


All times are GMT +1. The time now is 12:29 AM.

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"