+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Lookup table Loop

  1. #1
    Registered User
    Join Date
    04-05-2011
    Location
    DC
    MS-Off Ver
    Excel 2007
    Posts
    2

    Lookup table Loop

    I want to run this formula:

    =IF((ISERROR(SEARCH(X,E1,1))),0,(MID(E1,(SEARCH("=",E1,FIND(X,E1,1)))+1,(FIND(";",E1,SEARCH(X,E1,1)))-(FIND("=",E1,SEARCH(X,E1,1)))-1)))

    Where X changes and loops from a table. The table is located in cells A1 to A150 on tab ESA.

    Sample located at E1 : SYSNAME=iR C5870;CANON_101=121016;CANON_108=73473;CANON_229=174;CANON_230=10183;CANON_321=33;CANON_322=37153;CANON_DEVICENAME=iR C5870;

    Sample lookup table:
    Canon_019
    Canon_021
    Canon_023
    Canon_114
    Canon_116
    Canon_230
    Canon_235
    Canon_322

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,434

    Re: Lookup table Loop Question?

    Do you think it would help to post a sample workbook and some typical data and explain what that formula is supposed to do and how you "loop through it".

    I'm just a little confused.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    04-05-2011
    Location
    DC
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Lookup table Loop Question?

    Let me try again. I attached a sample source. Thank you.

    Tab Data; I need to pull from the column "Data" the total amount of pages printed in simplex vs duplex.

    Example: "SYSNAME=iR8070;CANON_101=101042;CANON_103=25;CANON_201=98454;CANON_203=25;CANON_DEVICENAME=iR8070;"

    Based on the lookup table i need to classify each Cannon_### as simplex and duplex and sum. The classifications are on the tab "lookup table".

    Cannon_101=101042 is 101,042 pages printed Simplex.
    Attached Files Attached Files

+ 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