+ Reply to Thread
Results 1 to 7 of 7

Fomula Problem

  1. #1
    Registered User
    Join Date
    08-07-2006
    Posts
    5

    Question Fomula Problem

    Hi,

    I have a problem for someone to solve :-)

    I am trying to write a formula for ecxel to pull data from a range of cells and place them all in one cell..

    See Below

    ________A_______B_______C_______D_______E_______F_______G
    1
    2_______________1_______2_______3_______4_______5_______6
    3 123456
    4
    5_______________A_______B_______C_______D_______E_______F
    6 ABCDEF
    7

    I want the contents of the 6 cells to be in one cell as if copied pasted next to each other?

    Has anyone got any idea on this?
    Last edited by whitieklf; 08-07-2006 at 07:18 AM.

  2. #2
    Ron Rosenfeld
    Guest

    Re: Fomula Problem

    On Mon, 7 Aug 2006 07:13:39 -0400, whitieklf
    <[email protected]> wrote:

    >
    >Hi,
    >
    >I have a problem for someone to solve :-)
    >
    >I am trying to write a formula for ecxel to pull data from a range of
    >cells and place them all in one cell..
    >
    >See Below
    >
    > A B C D E F G
    >1
    >2 1 2 3 4 5 6
    >3 123456
    >4
    >5 A B C D E F
    >6 ABCDEF
    >7
    >
    >I want the contents of the 6 cells to be in one cell as if copied
    >pasted next to each other?
    >
    >Has anyone got any idea on this?


    =B1&C1&D1&E1&F1&G1

    or

    =CONCATENATE(B1,C1,D1,E1,F1,G1)

    The latter is limited to 30 cells; the first is not so limited.
    --ron

  3. #3
    Jerry W. Lewis
    Guest

    RE: Fomula Problem

    =A2&B2&C2&D2&E2&F2

    Jerry

    "whitieklf" wrote:

    >
    > Hi,
    >
    > I have a problem for someone to solve :-)
    >
    > I am trying to write a formula for ecxel to pull data from a range of
    > cells and place them all in one cell..
    >
    > See Below
    >
    > A B C D E F G
    > 1
    > 2 1 2 3 4 5 6
    > 3 123456
    > 4
    > 5 A B C D E F
    > 6 ABCDEF
    > 7
    >
    > I want the contents of the 6 cells to be in one cell as if copied
    > pasted next to each other?
    >
    > Has anyone got any idea on this?
    >
    >
    > --
    > whitieklf
    > ------------------------------------------------------------------------
    > whitieklf's Profile: http://www.excelforum.com/member.php...o&userid=37178
    > View this thread: http://www.excelforum.com/showthread...hreadid=568931
    >
    >


  4. #4
    stumac
    Guest

    RE: Fomula Problem


    Sorry should be =B2&C2&D2&E2&F2&G2
    "whitieklf" wrote:

    >
    > Hi,
    >
    > I have a problem for someone to solve :-)
    >
    > I am trying to write a formula for ecxel to pull data from a range of
    > cells and place them all in one cell..
    >
    > See Below
    >
    > A B C D E F G
    > 1
    > 2 1 2 3 4 5 6
    > 3 123456
    > 4
    > 5 A B C D E F
    > 6 ABCDEF
    > 7
    >
    > I want the contents of the 6 cells to be in one cell as if copied
    > pasted next to each other?
    >
    > Has anyone got any idea on this?
    >
    >
    > --
    > whitieklf
    > ------------------------------------------------------------------------
    > whitieklf's Profile: http://www.excelforum.com/member.php...o&userid=37178
    > View this thread: http://www.excelforum.com/showthread...hreadid=568931
    >
    >


  5. #5
    stumac
    Guest

    RE: Fomula Problem

    try
    =B2&B3&B4&B5&B6

    Stu

    "whitieklf" wrote:

    >
    > Hi,
    >
    > I have a problem for someone to solve :-)
    >
    > I am trying to write a formula for ecxel to pull data from a range of
    > cells and place them all in one cell..
    >
    > See Below
    >
    > A B C D E F G
    > 1
    > 2 1 2 3 4 5 6
    > 3 123456
    > 4
    > 5 A B C D E F
    > 6 ABCDEF
    > 7
    >
    > I want the contents of the 6 cells to be in one cell as if copied
    > pasted next to each other?
    >
    > Has anyone got any idea on this?
    >
    >
    > --
    > whitieklf
    > ------------------------------------------------------------------------
    > whitieklf's Profile: http://www.excelforum.com/member.php...o&userid=37178
    > View this thread: http://www.excelforum.com/showthread...hreadid=568931
    >
    >


  6. #6
    Registered User
    Join Date
    08-07-2006
    Posts
    5
    Perfect!

    Thanks!

  7. #7
    Scoops
    Guest

    Re: Fomula Problem


    whitieklf wrote:
    > Hi,
    >
    > I have a problem for someone to solve :-)
    >
    > I am trying to write a formula for ecxel to pull data from a range of
    > cells and place them all in one cell..
    >
    > See Below
    >
    > A B C D E F G
    > 1
    > 2 1 2 3 4 5 6
    > 3 123456
    > 4
    > 5 A B C D E F
    > 6 ABCDEF
    > 7
    >
    > I want the contents of the 6 cells to be in one cell as if copied
    > pasted next to each other?
    >
    > Has anyone got any idea on this?
    >
    >
    > --

    Hi whitieklf

    If you only want the string created then:

    =A1&B1&C1&D1&E1&F1

    will do the trick.

    But to convert a series of numbers to a number then:

    =IF(ISNUMBER(A1&B1&C1&D1&E1&F1)*1,A1&B1&C1&D1&E1&F1*1,A1&B1&C1&D1&E1&F1)

    Regards

    Steve


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1