+ Reply to Thread
Results 1 to 6 of 6

Multiply Text Cell to Multiple Outputs

  1. #1
    Registered User
    Join Date
    04-06-2009
    Location
    Los Angeles
    MS-Off Ver
    Excel 2007
    Posts
    4

    Multiply Text Cell to Multiple Outputs

    I have a worksheet that is full of text cells in Column A and numbers in Column B. Column B represents the number of occurrences of the adjacent text in Column A for my data set. For instance below, KEYWORD A occurs 5 times and KEYWORD B occurs 3 times in the data. How can I get Excel to essentially expand this number of occurrences? So for KEYWORD A it would look at the number 5 in column B and give me 5 cells with KEYWORD A in them?

    KEYWORD A 5
    KEYWORD B 3


    KEYWORD A
    KEYWORD A
    KEYWORD A
    KEYWORD A
    KEYWORD A
    KEYWORD B
    KEYWORD B
    KEYWORD B

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Multiply Text Cell to Multiple Outputs

    try

    Please Login or Register  to view this content.
    where is A1 first word and A6 second

  3. #3
    Registered User
    Join Date
    04-06-2009
    Location
    Los Angeles
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Multiply Text Cell to Multiple Outputs

    Ok, so for this does there need to be sufficient empty cells between the two keywords to fill them out? So KEYWORD A occurs 5 times, there need to be 5 empty cells between KEYWORD A and KEYWORD B?

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Multiply Text Cell to Multiple Outputs

    Try this in B column (B1 is first formula, B2-Bxxx is second)

    =A1
    =IF(COUNTIF($A$1:B1;A1)>1;"";A2)

  5. #5
    Registered User
    Join Date
    04-06-2009
    Location
    Los Angeles
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Multiply Text Cell to Multiple Outputs

    Thank you for your help. I don't think I am explaining the problem very well - maybe this attached example sheet will help? Column B has numbers is in it that I want to multiply by Column A. The end result should take up as many cells as the number in Column B.

    I am so sorry that I'm not very good at explaining it.. Thank you again for being so helpful!
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-06-2009
    Location
    Los Angeles
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Multiply Text Cell to Multiple Outputs

    Anybody? Any thoughts on how this can be done?

+ 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