+ Reply to Thread
Results 1 to 13 of 13

Creat list using data from two seperate columns

Hybrid View

  1. #1
    Registered User
    Join Date
    08-23-2012
    Location
    Perth, Western Australia
    MS-Off Ver
    Excel 2003
    Posts
    68

    Creat list using data from two seperate columns

    Good afternoon all.

    I have two columns where I input data onto sheet 'applications'.
    Column A I input a loan number and in Column P, I enter the outcome of the loan.
    Some loans are finalised and some are still 'processing' and the list I want to build is the loans that are 'processing'.

    So, on another sheet, 'Input' in Column Q, I would like to build a new list of the loan numbers that have 'processing' in column P.

    Hope that makes sense.

    I have seen it somewhere before but have no idea of the words I need to search. Nothing is coming up with what I have tried.

    Thanks
    Tayler

  2. #2
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    1,111

    Re: Creat list using data from two seperate columns

    G'day,

    Attaching a dummy workbook with a before and after result would help us (the forum) to help you.
    Have I made you happy ??? If yes, please make me happy by pressing the http://www.excelforum.com/images/buttons/reputation-40b.png Add Reputation button in my post.
    Please don't forget to do the same to other contributors of this forum.

    Thanks
    I don't void confusion, I create it

  3. #3
    Registered User
    Join Date
    08-23-2012
    Location
    Perth, Western Australia
    MS-Off Ver
    Excel 2003
    Posts
    68

    Re: Creat list using data from two seperate columns

    Hi ratcat,

    Have attached a workbook of what I am trying to achieve.
    Attached Files Attached Files

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Creat list using data from two seperate columns

    May i ask you, why do you want to do this using macros and no formula?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Registered User
    Join Date
    08-23-2012
    Location
    Perth, Western Australia
    MS-Off Ver
    Excel 2003
    Posts
    68

    Re: Creat list using data from two seperate columns

    I thought it would have to be done by VBA.
    Can this be done by cell formular?

    Remember, it is only the loans that have 'Processing' next to them that I want in that list.

    Possible?

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Creat list using data from two seperate columns

    Yes. It's possible.

    Try this Array formula.(Control+Shift+Enter). Not just Enter.For Names. Same way for the others.

    =IFERROR(INDEX(applications!H$1:H$10,SMALL(IF(applications!$P$1:$P$10="Processing",ROW(applications!$A$1:$A$10)),ROW(applications!B1))),"")
    Is this, OK, for you?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    08-23-2012
    Location
    Perth, Western Australia
    MS-Off Ver
    Excel 2003
    Posts
    68

    Re: Creat list using data from two seperate columns

    I am using Excel 2003. The file u sent doesn't work

    all i get is #NAME? appearing everwhere.
    Last edited by twitch73; 09-28-2012 at 04:56 AM.

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Creat list using data from two seperate columns

    Apologize for this. I did't noticed that you use Excel 2003.

    Then we'll use IF(ISERROR(

    =IF(ISERROR(INDEX(applications!A$1:A$10;SMALL(IF(applications!$P$1:$P$10="Processing";ROW(applications!$A$1:$A$10));ROW(applications!A1))));"";INDEX(applications!A$1:A$10;SMALL(IF(applications!$P$1:$P$10="Processing";ROW(applications!$A$1:$A$10));ROW(applications!A1))))
    cHANGE THE SEMI COLONS TO COMMA.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    08-23-2012
    Location
    Perth, Western Australia
    MS-Off Ver
    Excel 2003
    Posts
    68

    Re: Creat list using data from two seperate columns

    That works great in the sample thank you!!

    But, can I add one more thing. In my real sheet, I have the first row on the applications sheet as a header.
    When I try to alter the code to read from the 2nd row, it changes everything and doesn't put them in order.

    Is there a way to alter the code to ignore data in row 1?

  10. #10
    Registered User
    Join Date
    08-23-2012
    Location
    Perth, Western Australia
    MS-Off Ver
    Excel 2003
    Posts
    68

    Re: Creat list using data from two seperate columns

    oh .. it just worked. I have no idea. But it just started working
    Last edited by twitch73; 09-28-2012 at 06:10 AM.

  11. #11
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Creat list using data from two seperate columns

    =IF(ISERROR(INDEX(applications!H$2:H$11;SMALL(IF(applications!$P$2:$P$11="Processing";ROW(applications!$A$2:$A$11)-1);ROW(applications!B2))));"";INDEX(applications!H$2:H$11;SMALL(IF(applications!$P$2:$P$11="Processing";ROW(applications!$A$2:$A$11)-1);ROW(applications!B2))))

    Don't forget to change the semi volons to comma.!

  12. #12
    Registered User
    Join Date
    08-23-2012
    Location
    Perth, Western Australia
    MS-Off Ver
    Excel 2003
    Posts
    68

    Re: Creat list using data from two seperate columns

    Love it .. works a treat.
    You are a gem!

  13. #13
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Creat list using data from two seperate columns

    Quote Originally Posted by twitch73 View Post
    Love it .. works a treat.
    You are a gem!
    Thank you!

+ 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