+ Reply to Thread
Results 1 to 9 of 9

Index or If formula - Not sure what to use

Hybrid View

  1. #1
    Registered User
    Join Date
    10-26-2011
    Location
    Macon, GA
    MS-Off Ver
    Excel 2010
    Posts
    37

    Post Index or If formula - Not sure what to use

    Posting again. Sorry I was notified I posted this in the wrong area earlier this week:

    On sheet 1, Column A, is a list of names. Same name may be listed multiple times in column a. When a new name is listed on sheet 1, it also has to be entered one time on sheet 2 (report page) in column A.

    Is there a formula that can be used on sheet 2, Column A, which will capture a name when it listed on sheet 1, so it doesn’t have to be keyed twice?
    Last edited by JohnDear; 11-07-2011 at 04:38 PM. Reason: Solved

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Index or If formula - Not sure what to use

    See if this workbook helps
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Registered User
    Join Date
    10-26-2011
    Location
    Macon, GA
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Index or If formula - Not sure what to use

    I inserted the formula and copied down a few rolls, but it gave me the same name in all rolls. The name that it inserted is the name that is listed on Sheet 1 in rolls 1-90. I believe the next name starts about roll 91.

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Index or If formula - Not sure what to use

    From your description I can't see how that's possible.

    Can you post a sample of your workbook?

  5. #5
    Registered User
    Join Date
    10-26-2011
    Location
    Macon, GA
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Index or If formula - Not sure what to use

    When I created the sample it worked. But I need to go one step further if possible. On Sheet 2 I only need the names with open accounts. Can another reference or array be added to this formula?
    Attached Files Attached Files

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Index or If formula - Not sure what to use

    That becomes a little more complex.
    Perhaps it is best to create two dynamic named ranges

    With "Sheet1"
    Name:= Regarding_Party
    Refers to:=
    =Sheet1!$A$2:INDEX(Sheet1!$A:$A,COUNTA(Sheet1!$A:$A),1)
    Name:= Status
    Refers to:=
    =Sheet1!$B$2:INDEX(Sheet1!$B:$B,COUNTA(Sheet1!$A:$A),1)
    Then in "Sheet2" B2 this array formula
    =IFERROR(INDEX(Regarding_Party,ROW(IF(ISERROR(INDEX(Status, SMALL(IF((Status<>"Open")+ISERROR(Status), "", ROW(Status)-MIN(ROW(Status))+1), ROW(1:1)))),"",INDEX(Status, SMALL(IF((Status<>"Open")+ISERROR(Status), "", ROW(Status)-MIN(ROW(Status))+1), ROW(1:1))))),1),"")
    Confirm with Ctrl+Shift+Enter not just enter
    Drag/Fill Down
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    10-26-2011
    Location
    Macon, GA
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Index or If formula - Not sure what to use

    Thanks...problem solved.

  8. #8
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: Index or If formula - Not sure what to use

    You can use this technique to retrieve unique values from a column.

    http://www.get-digital-help.com/2009...om-one-column/

  9. #9
    Registered User
    Join Date
    10-26-2011
    Location
    Macon, GA
    MS-Off Ver
    Excel 2010
    Posts
    37

    Thumbs up Re: Index or If formula - Not sure what to use

    Thanks for the link.

+ 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