+ Reply to Thread
Results 1 to 7 of 7

Creating List with two conditions

  1. #1
    Forum Contributor
    Join Date
    10-26-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2010
    Posts
    138

    Creating List with two conditions

    Kindly help how to revise this array formula:

    Please Login or Register  to view this content.
    I have added &"^"&INPUT!$B$4:$B$100="materials" to the above formula as I need A=x and B=materials - it did not work. Please see attachment.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Creating List with two conditions

    hi there jewellove, try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    10-26-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2010
    Posts
    138

    Re: Creating List with two conditions

    I changed the materials to Material and it is now showing data. The problem is that it is supposed to list 3 items (1-Jan, 2-Jan and 3-Aug). Why it is showing only 1-Jan??

  4. #4
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Creating List with two conditions

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

    Array Enter (Cntrl+Shift+Enter,not just Enter) and drag down

    Hope this helps
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Creating List with two conditions

    Hi,
    Look at the attached Pivot Table to see if it can give you the answer you need.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  6. #6
    Forum Contributor
    Join Date
    10-26-2012
    Location
    malaysia
    MS-Off Ver
    Excel 2010
    Posts
    138

    Re: Creating List with two conditions

    Hi Beni,

    Thank you for the formula. It lists down all the items. I changed "materials" to "Material" as well...

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Creating List with two conditions

    Try it like this...

    Array entered** in C7 and copied down until you get blanks:

    =IFERROR(INDEX(INPUT!C:C;SMALL(IF(INPUT!$A$4:$A$100="x";IF(INPUT!$B$4:$B$100="materials";ROW(INPUT!B$4:B$100)));ROWS(C$7:C7)));"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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