+ Reply to Thread
Results 1 to 5 of 5

To automate a list based of mutliple column criteria

  1. #1
    Registered User
    Join Date
    06-05-2008
    Posts
    38

    To automate a list based of mutliple column criteria

    So I have a list of accounts and for each account there are multiple columns whose criteria I am checking for. If the # in the columns is > 0, I want to list the account # corresponding to the column. Since there are multiple columns and one account could meet the criteria in multiple columns, there will be some accounts listed multiple times for each column in its row where it meets the criteria. So if Acct #1 is >0 in 4 of 7 columns, account #1 will get listed 4 times, followed by the next account that meets the criteria. Any suggestions on how to do this?

    Sample document attached.
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    Please Login or Register  to view this content.
    confirmed with CTRL+SHIFT+ENTER not just ENTER...

    Then copy down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    06-05-2008
    Posts
    38
    NBVC, Thank you once again for the very helpful formula. I have been trying to take the table a step further and would like to automate the cells in adjacent columns to list the corresponding depo description and the correct value for that account and depo.

    I've tried vlookup with MATCH and SMALL to automate the column #, but haven't had any luck. The other idea I had was INDEX with MATCH but I couldn't figure out a way to automate the lookup value for each depo type with a positive value in it. I want the formula to reference the acct # listed to the left (teal highlight). Check Samplehelp3 for clearer description.

    Any help would be greatly appreciated.

    THanks again!
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    It took a bit of work, but I think I got it...

    See attached.

    Formula for depots, in K12, confirmed with CTRL+SHIFT+ENTER and copied down:

    Please Login or Register  to view this content.
    Formula for values, in L12, confirmed with Enter only and copied down:

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-05-2008
    Posts
    38
    Unbelievable. Thank you again. I guess the only encouraging thing for me is that I actually tried to put the right formulas to work but I just couldn't get them in the right place. You guys are awesome, thanks again for the help. I think I have learned more from this site than I have from 2 excel classes at my 18k enrollment university. Thanks again

+ 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