ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Logic for Placing Multiple field Returns in a Cell (https://www.excelbanter.com/excel-discussion-misc-queries/51690-logic-placing-multiple-field-returns-cell.html)

SCHNYDES

Logic for Placing Multiple field Returns in a Cell
 
Looking for the logic to concatenate cells, however I need one of those cells
to duplicate X number of times:

Such as CONCATENATE(d1, b1, b3) B3 being the value I want to return
multiple times:

d1=1
b1=2
b3=4

I would like my results to come out: 1244444444

Any help?

Gary''s Student

Logic for Placing Multiple field Returns in a Cell
 
Use the following UDF:

Function Mergit(a, b, c)
Mergit = a & b & c & c & c & c & c & c & c & c
End Function
--
Gary's Student


"SCHNYDES" wrote:

Looking for the logic to concatenate cells, however I need one of those cells
to duplicate X number of times:

Such as CONCATENATE(d1, b1, b3) B3 being the value I want to return
multiple times:

d1=1
b1=2
b3=4

I would like my results to come out: 1244444444

Any help?


Anne Troy

Logic for Placing Multiple field Returns in a Cell
 
=D1&B1&B3&B3&B3&B3&B3&B3&B3&B3
There may be a more elegant solution.
************
Anne Troy
www.OfficeArticles.com

"SCHNYDES" wrote in message
...
Looking for the logic to concatenate cells, however I need one of those
cells
to duplicate X number of times:

Such as CONCATENATE(d1, b1, b3) B3 being the value I want to return
multiple times:

d1=1
b1=2
b3=4

I would like my results to come out: 1244444444

Any help?




RagDyer

Logic for Placing Multiple field Returns in a Cell
 
Try this:

=D1&B1&REPT(B3,8)

--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================



"SCHNYDES" wrote in message
...
Looking for the logic to concatenate cells, however I need one of those

cells
to duplicate X number of times:

Such as CONCATENATE(d1, b1, b3) B3 being the value I want to return
multiple times:

d1=1
b1=2
b3=4

I would like my results to come out: 1244444444

Any help?



RagDyer

Logic for Placing Multiple field Returns in a Cell
 
Just in case you might need a *true* number returned:

=--(D1&B1&REPT(B3,8))
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------


"RagDyer" wrote in message
...
Try this:

=D1&B1&REPT(B3,8)

--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================



"SCHNYDES" wrote in message
...
Looking for the logic to concatenate cells, however I need one of those

cells
to duplicate X number of times:

Such as CONCATENATE(d1, b1, b3) B3 being the value I want to return
multiple times:

d1=1
b1=2
b3=4

I would like my results to come out: 1244444444

Any help?





All times are GMT +1. The time now is 09:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com