+ Reply to Thread
Results 1 to 11 of 11

Lookups

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by rolltyde12
    Hi Starguy, I am attaching a file for you to look at. I need the function to be placed under Ace on the Formation Sheet. I want it to lookup every occurance of the letters "Ac" on the Master Sheet in Column B. Whenever a call has those letters, that cell will be added to Column A on the Formation Sheet. Can you help?
    col B in Master sheet is helper. it looks in col C for value "Ac" and if cell in col C contains "Ac" in it, it will assign an incremental number to it in col B.

    see the file.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    03-16-2007
    Posts
    10

    One more thing

    Okay, this is awesome stuff, but I have one more question. In Formation sheet, If I want it to do the same thing in another column, looking for instances of "Bu", can I do that? Will I need more helper columns?

    Thanks.

  3. #3
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by rolltyde12
    Okay, this is awesome stuff, but I have one more question. In Formation sheet, If I want it to do the same thing in another column, looking for instances of "Bu", can I do that? Will I need more helper columns?

    Thanks.
    yes you need more helper columns in Master sheet but you can hide them all if you dont want them to see.

    see attached file (col B & C are hidden in Master sheet)
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-16-2007
    Posts
    10

    Last ?

    When I insert more helper columns, everything on my formations page goes blank. Why is this. It's like it doesn't recognize that a column has been inserted.

  5. #5
    Forum Contributor
    Join Date
    09-25-2004
    Posts
    269
    Quote Originally Posted by rolltyde12
    When I insert more helper columns, everything on my formations page goes blank. Why is this. It's like it doesn't recognize that a column has been inserted.

    This formula does not require helpper columns. Input formula in cell A2 in worksheet "Formations" and copied down.

    =LOOKUP(REPT("z",255),CHOOSE({1,2},"",INDEX(MASTER!$D$2:$D$163,SMALL(IF(ISNUMBER(SEARCH("Ac",MASTER!$D$2:$D$163)),ROW(MASTER!$D$2:$D$163)-ROW(A$2)+1),ROWS(A$2:A2)))))

    The formula is an-array need to hold down:

    Ctrl,Shift,Enter

    Example below.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by rolltyde12
    When I insert more helper columns, everything on my formations page goes blank. Why is this. It's like it doesn't recognize that a column has been inserted.
    yes it will happen so because coloumn references would be changed after inserting new column to Master sheet.
    what you have to do is to decide first that how much helper columns you need at maximum (i-e how much values you want to search and return in Formation sheet.)
    then implement formula in helper columns and Formation sheet columns.
    you can tell me that how many values you want to search in Master and how many columns you need in Formation tab. then I'll make it for 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