Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
khaos
 
Posts: n/a
Default Help help, combining limited data


HI guys I was wondering if you could help me with writing a formula
that meets this criteria...

1. I need to combine Text in column A to Column B (=A1&B1)
2. BUT I only need the first letter of coumn A to combine with the rest
of column B
3. Columb C needs to be <= 10 chracters

Goal :
Text in Column C for row 1 = sAAABBBCCCD
Text in Column C for row 2 = gBBBBBBCCCD

If it doesnt have to be all in one formual, I mean I can combine A and
B and then do a formula for C, i just need the results to be the first
letter of the A column combined with <= 9 digits of the Column B

--------------------------------------------
Text in column A Text in Column B
--------------------------------------------
smith | AAABBBCCCDDDEEE
george | BBBBBBCCCDDDEEE
anna | CCCBBBCCCDDDEEE
joe | AAABBBCCCDDDEEE




If someone could help me out that would be AWESOME (i'll be forever
grateful!)


--
khaos
------------------------------------------------------------------------
khaos's Profile: http://www.excelforum.com/member.php...o&userid=25690
View this thread: http://www.excelforum.com/showthread...hreadid=538669

  #2   Report Post  
Posted to microsoft.public.excel.misc
Tristan
 
Posts: n/a
Default Help help, combining limited data


Hi Khaos

Try this formula in cell C1:

=left($A$1,1) & left($B$1,9)

This should pick out the first character (the leftmost) in cell A1 and
then combine it with the first 9 characters (again the leftmost) of
cell B1.
You'll never get a answer that has greater than 10 characters and it
will only be less if there are not at least 9 characters in the string
in cell B1.

Other useful text manipulation tricks a

Right - Returns characters from the end of a string
Mid - Returns characters from teh middle of a string given a starting
character number
Len - Returns the number of characters in a string (useful to put into
further formulae)

Hope this all helps

Tris


--
Tristan
------------------------------------------------------------------------
Tristan's Profile: http://www.excelforum.com/member.php...o&userid=34061
View this thread: http://www.excelforum.com/showthread...hreadid=538669

  #3   Report Post  
Posted to microsoft.public.excel.misc
khaos
 
Posts: n/a
Default Help help, combining limited data


Thanks much looks like it worked!


--
khaos
------------------------------------------------------------------------
khaos's Profile: http://www.excelforum.com/member.php...o&userid=25690
View this thread: http://www.excelforum.com/showthread...hreadid=538669

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
ranking query JaimeTimbrell Excel Discussion (Misc queries) 2 February 16th 06 08:09 AM
Inserting a new line when external data changes Rental Man Excel Discussion (Misc queries) 0 January 11th 06 07:05 PM
Inserting a new line in spreadsheet Rental Man Excel Discussion (Misc queries) 2 January 9th 06 04:55 PM
Combining two data sources in a Pivot table. Erasmus Bowen Excel Discussion (Misc queries) 0 August 19th 05 09:16 AM
Combining data (numeric format) in multiple cells into one cell (t GNAC SID Excel Discussion (Misc queries) 2 February 7th 05 04:09 PM


All times are GMT +1. The time now is 06:18 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"