+ Reply to Thread
Results 1 to 9 of 9

Thread: auto list data

  1. #1
    Registered User
    Join Date
    03-19-2010
    Location
    singapore
    MS-Off Ver
    Excel 2003
    Posts
    71

    auto list data

    i need a formula can auto list out the data.

    thks

    sorry, Paul

    Item---Color---Qtty
    Dress--Red-------1
    Dress--Blue------1
    Shirt----Grey-----1
    Dress--Blue------1
    Cap-----Yellow---1


    The table above got different item and its color, i need a formula that can help me list out dress, shirt and cap. The color always is the same i.e red, blue, grey, yellow, but item sometime will have new item such as skirt or anything else. table as below:

    ------------------------------Red----------------Blue----------------Grey---------------Yellow-----
    item Formula-----Qtty Formula---Qtty Formula---Qtty Formula---Qtty Formula---
    item Formula-----Qtty Formula---Qtty Formula---Qtty Formula---Qtty Formula---
    item Formula-----Qtty Formula---Qtty Formula---Qtty Formula---Qtty Formula---

    hope understand. thanks.
    Attached Files Attached Files
    Last edited by choy96; 03-21-2010 at 12:46 AM.

  2. #2
    Forum Moderator Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    5,212

    Re: auto list data

    Hello Choy, welcome to the forum.

    Please take a moment to provide details in the thread text rather than stating what you need and uploading a workbook. Having the workbook is nice, but your request is rather vague, so a clear description of your problem will help you get answers more quickly without requiring people to open your spreadsheet to find out they don't know how to help.

  3. #3
    Valued Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    286

    Re: auto list data

    Use Filter Function.
    1. Click on first list's column
    2. Goto Data > Filter > Advanced Filter. Click on Copy Elsewhere.
    3. Click Range from first list
    4. Leave Criteria Range EMPTY!!!!
    5. Empty Copy To range field
    6. Click Unique Records
    7.Click Okay

  4. #4
    Forum Guru Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007
    Posts
    3,441

    Re: auto list data

    Use Filter Function.
    Just to be clear - this is referring to Advanced Filter not Auto Filter

    You may find this link helpful on understanding How to Create a Unique List of Items using Advanced Filter
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  5. #5
    Registered User
    Join Date
    03-19-2010
    Location
    singapore
    MS-Off Ver
    Excel 2003
    Posts
    71

    Re: auto list data

    Quote Originally Posted by Palmetto View Post
    Just to be clear - this is referring to Advanced Filter not Auto Filter

    You may find this link helpful on understanding How to Create a Unique List of Items using Advanced Filter
    why i cant get? The list i get is dress, dress, shirt, cap.
    below is the setting in Advance filter:
    -click button copy to another location
    -list range:$B$3:$B$7
    -Copy to:$B$11:$B$13

    what mistake i have done ?
    Last edited by choy96; 03-21-2010 at 12:47 AM.

  6. #6
    Forum Moderator teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    2003 & 2010
    Posts
    10,042

    Re: auto list data

    the first dress line is for red, the second dress line is for blue. These rows are not unique in your source data if you select from column B to column D.

    What you really require is a pivot table. It will do the grouping and summing you require. See attached.
    Attached Files Attached Files
    teylyn
    Microsoft MVP - Excel
    At Excelforum, you can say "Thank you!" by clicking the icon below the post.

    Avoid pie charts with more than two data points. Why? See here (pdf, 559 kb). The only acceptable pie chart is here.

  7. #7
    Registered User
    Join Date
    03-19-2010
    Location
    singapore
    MS-Off Ver
    Excel 2003
    Posts
    71

    Re: auto list data

    if item name change as below:
    DRESS = AD123FGAC
    SHIRT = AG123FBAC
    CAP =AD123FEAC

    i want subtotal the FG, FB, FE depend on colour, i trying using =SUM(IF((B24:B28="*"&B31&"*")*(C24:C28=C31),D24:D28)) but get the wrong answer.

    please help.
    Attached Images Attached Images
    Attached Files Attached Files

  8. #8
    Forum Moderator teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    2003 & 2010
    Posts
    10,042

    Re: auto list data

    Hi,

    you're mixing up where to use the wildcards. That won't wash. B24:B28 is where you have more text than the text you're looking for. Using wildcards on your search term won't help that.

    Try this on your pianola: In C32

    =SUM(IF(ISNUMBER(SEARCH($B32,$B$24:$B$28))*($C$24:$C$28=C$31),$D$24:$D$28))

    This is an array formula, confirm with Ctrl-Shift-Enter

    then copy down and across.
    teylyn
    Microsoft MVP - Excel
    At Excelforum, you can say "Thank you!" by clicking the icon below the post.

    Avoid pie charts with more than two data points. Why? See here (pdf, 559 kb). The only acceptable pie chart is here.

  9. #9
    Registered User
    Join Date
    03-19-2010
    Location
    singapore
    MS-Off Ver
    Excel 2003
    Posts
    71

    Re: auto list data

    wow !! perfect.... thanks very much

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.2.0