Hi,
i trying to merge column A1 (ABC) with column B1(XYZ), B2(LOL), B3(ROF) ..etc
with a simple =CONCATENATE(A1,"-",B1) , i can get "ABC-XYZ" , but when come to column B2 , i only can get "-LOL" , any solution ?
Hi,
i trying to merge column A1 (ABC) with column B1(XYZ), B2(LOL), B3(ROF) ..etc
with a simple =CONCATENATE(A1,"-",B1) , i can get "ABC-XYZ" , but when come to column B2 , i only can get "-LOL" , any solution ?
Last edited by okl; 02-02-2010 at 10:23 AM.
Using formulae is not that straightforward given variable number of terms between groups, however...
If we insert a new Row 1 such that A1 becomes A2 and row 1 is blank then you could do something like:
Please Login or Register to view this content.
the above assumes that the two groups of "BBC" are be to concatenated separately - hence use of ROW to differentiate.
Last edited by DonkeyOte; 02-02-2010 at 08:41 AM. Reason: error in E2 REPLACE
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
this is what i got:
but trying to get as below instead:HTML Code:
HTML Code:
Last edited by okl; 02-02-2010 at 10:11 AM.
Right, in which case things are far simpler.
Ignore the Row 1 point from before - that can be deleted - simply use:
E1: =LOOKUP(REPT("Z",255),$A$1:$A1)&"-"&$B1
copied down
If you don't have hyphens in your actual column A data, then this is straightforward - see attached.
Remember what the dormouse said
Feed your head
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks