Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old September 15th 11, 09:33 PM posted to microsoft.public.excel.worksheet.functions
Xt Xt is offline
external usenet poster
 
First recorded activity by ExcelBanter: Aug 2009
Posts: 49
Default Need Help With String Concatenation

On Sep 16, 6:57*am, "tb" wrote:
I am trying to create a simple part number configurator using an Excel
spreadsheet. *(I am using Excel 2007)

* *Cell B3 is where the user enters the base part number (i.e. the code
* *assigned to the base part without any add-on components). *That will
* *always have to be entered manually by the user.
* *Cells D2 - AC2 have codes that specify all the add-on components that
* *could be assembled with the base part.
* *Cells D3 - AC3 is where the user inserts an "X" and selects which
* *add-on component (options) will be added to the base part.
* *Cell AD3 would be a concatenated string composed by the base part
* *number (cell B3), a dash (-), and the codes of any of the add-ons
* *shown in cells D2-AC2 and selected with an "X" in cells D3-AC3, each
* *one separated by a forward slash (/). *This would be the complete
* *part number of the assembled product.

For instance:
* Cell B3 shows "C6520" as the base part number. *(This will always have
* to be inserted manually.)
* Cells D2-H2 have codes such as "AG", "AI", "AR", "BE", "BL". *(Note:
* I am only showing the first five options instead of the full 26!)
* Cells D3, F3, and H3 have an "X" in their cell.
* The part number string in cell AD3 would be: *C6520-AG/AR/BL

I really would prefer an Excel formula rather than a macro...

Thanks.
--
tb


How about a user defined function, rather than a macro? xt

  #2   Report Post  
Old September 15th 11, 09:47 PM posted to microsoft.public.excel.worksheet.functions
tb tb is offline
external usenet poster
 
First recorded activity by ExcelBanter: Jun 2011
Posts: 6
Default Need Help With String Concatenation

On 9/15/2011 at 3:33:43 PM Xt wrote:


How about a user defined function, rather than a macro? xt


I am willing to give it a try but I don't know how to create a
user-defined function. So, if you are willing to post instructions and
code I am all hears... :-)
Thanks.
--
tb


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
Concatenation help Naresh Excel Worksheet Functions 4 September 30th 09 12:50 AM
Concatenation Muthalaly Excel Discussion (Misc queries) 2 June 24th 08 12:57 PM
Help with Concatenation alex Excel Worksheet Functions 3 August 28th 07 06:09 PM
Bold in string concatenation Steen Excel Discussion (Misc queries) 12 November 7th 06 12:49 AM
How do I put each member of string concatenation in its own line? DViolette Excel Worksheet Functions 3 July 8th 05 02:08 AM


All times are GMT +1. The time now is 10:39 AM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017