+ Reply to Thread
Results 1 to 4 of 4

Help required. Cell to be divided into rows after commas, and then value averaged out?

  1. #1
    Registered User
    Join Date
    11-19-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2007
    Posts
    2

    Help required. Cell to be divided into rows after commas, and then value averaged out?

    Hi there,
    Very new to the forum and pretty much of a rookie in Excel, but would appreciate any help at all as I'm a bit desperate.
    I'm fairly sure a Macro would be required for what I'm trying to do, but you guys are the experts..
    I've got some data where there one cell would have a few unique numbers which are separated by commas with the sum of their values.
    I'm wondering how to have that cell put into different rows below for each separation after the comma, while ALSO dividing the total value equally amongst the unique numbers that have been split.

    What I mean is, the data looks something like this..

    Column A Column B Column C Column D
    Expense 1 01234, 12345, 13456, 14567 $12,000 Toronto
    Expense 2 15678, 16789 $10,000 Vancouver

    What I want it to look like

    Column A Column B Column C Column D
    Expense 1 01234 $4,000 Toronto
    Expense 1 12345 $4,000 Toronto
    Expense 1 13456 $4,000 Toronto
    Expense 1 14567 $4,000 Toronto
    Expense 2 15678 $5,000 Vancouver
    Expense 2 16789 $5,000 Vancouver


    Would this be possible at all?
    Any help at all would be so so so appreciated. Thanks ever so much ..
    I've attached the excel sheet with a bit of the sample data ..The data is much much bigger than what I've attached.
    Thanks a lot guys. I really don't know who else to ask or where else to go with this?
    Attached Files Attached Files
    Last edited by Zainali02; 11-19-2012 at 05:37 AM.

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Help required. Cell to be divided into rows after commas, and then value averaged out?

    try
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-19-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Help required. Cell to be divided into rows after commas, and then value averaged out?

    Quote Originally Posted by jindon View Post
    try
    Please Login or Register  to view this content.
    Thanks ever so much for the help...
    I did try that out, but the value of the amount isn't being divided up.
    The formula is giving each code the same value. For example, if the total value was $10,000 and there were 4 unique codes. I'd want each code to be allotted $2500. But it is giving each unique code $10,000 as well which is what I don't want happening.
    Thanks again for the attempt. Almost doing what I want it to, except the dividing the amount equally part..

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: Help required. Cell to be divided into rows after commas, and then value averaged out?

    Try this one then
    Please Login or Register  to view this content.

+ 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