+ Reply to Thread
Results 1 to 9 of 9

Formula to group simple Skus based on main grouped Sku?

  1. #1
    Forum Contributor
    Join Date
    05-07-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    215

    Formula to group simple Skus based on main grouped Sku?

    Hello everyone I have attached an example of what I am trying to do. example.xlsx

    I am looking for a way to get the results of column C starting at row 27 by using a formula. I am not sure how this would be done with a formula but I am hoping someone can help me.

    My thinking would be I need a formula that grabs the grouped sku starting at A27 then searches column B. Then if it find the grouped sku in column B it will grab all the simple skus next to it in column A and put them in Column C separated by commas.

    If anyone is wondering this is for products spreadsheet that will be imported into magento.
    Last edited by wonderd; 05-08-2013 at 12:52 AM.

  2. #2
    Forum Contributor
    Join Date
    05-07-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    215

    Re: Formula to group simple Skus based on main grouped Sku?

    I think a macro might be needed for this, maybe I put it in the wrong sub forum...?

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Formula to group simple Skus based on main grouped Sku?

    Hi and welcome to the forum

    Not sure if this is what you want, but take a look.
    In C2, copied down use this...
    =IF(B2=B3,"",D2)

    Then in D2, copied down, use this...
    =IF(B2=B1,C1&","&A2,A2)
    You can then hide column D
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Contributor
    Join Date
    05-07-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    215

    Re: Formula to group simple Skus based on main grouped Sku?

    Hmm no I don't think that's what I am looking for, I am trying to get the result in red using a formula http://screencast.com/t/xvPKT7W5

    it is looking at the sku in A27, then searching column B for that sku, then it is grabbing the simple sku from column A and putting all the simple skus together seperated by commas
    Last edited by wonderd; 05-08-2013 at 01:13 AM.

  5. #5
    Forum Contributor
    Join Date
    05-07-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    215

    Re: Formula to group simple Skus based on main grouped Sku?

    So is this a macro or do you think it could be achieved by a formula? I have been trying for over a day to figure this out but I am not very good with formulas.

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula to group simple Skus based on main grouped Sku?



    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  7. #7
    Forum Contributor
    Join Date
    05-07-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    215

    Re: Formula to group simple Skus based on main grouped Sku?

    Hey this looks like it may work but I cant get it to work. Take a look at my fileCLookup_Solution_test.xlsb

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula to group simple Skus based on main grouped Sku?

    You have just restricted the Lookup and Result Range from 1 to 9 rows

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    change the reference to cover the entire range like this...

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    05-07-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    215

    Re: Formula to group simple Skus based on main grouped Sku?

    Thanks Guys

+ 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