+ Reply to Thread
Results 1 to 7 of 7

Looking up Specific Criteria in line item and doing a LookUP

Hybrid View

  1. #1
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Looking up Specific Criteria in line item and doing a LookUP

    Are you sure that you have quoted the correct ID No for LNID and IC Tickets???

    I used this to extract the 10 digit numbers:

    =IFERROR(LOOKUP(10^10,MID(SUBSTITUTE(A2," ","a"),ROW(INDIRECT("1:"&LEN(A2)-9)),10)/ISERROR(--MID(" "&A2,ROW(INDIRECT("1:"&LEN(A2)-9)),1))/ISERROR(--MID(A2&" ",ROW(INDIRECT("11:"&LEN(A2)+1)),1))),"").

    This can then be used to lookup the company name, like this:

    =INDEX($A$12:$A$16,MATCH(IFERROR(LOOKUP(10^10,MID(SUBSTITUTE(A2," ","a"),ROW(INDIRECT("1:"&LEN(A2)-9)),10)
    /ISERROR(--MID(" "&A2,ROW(INDIRECT("1:"&LEN(A2)-9)),1))/ISERROR(--MID(A2&" ",ROW(INDIRECT("11:"&LEN(A2)+1)),1))),""),$B$12:$B$16,0))

    But it returns two errors, where I think you have provided an incorrect 10 digit number...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 12-14-2016, 12:20 AM
  2. VBA code to copy line items from form - overriding previous line item
    By dkostyan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-30-2016, 11:19 AM
  3. [SOLVED] Oldest Item with specific Criteria
    By Alphabex in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-01-2016, 04:30 PM
  4. [SOLVED] Formula needed - line item of unique item matching criteria
    By NS4Excel in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 04-18-2015, 06:32 PM
  5. Need help: Excel VBA to moved Outlook mail item to a specific sub folder is Criteria is me
    By excelchamp25 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-06-2014, 06:50 AM
  6. Combining multiple line items into one line item based on column.
    By mguz018 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-20-2012, 07:22 PM
  7. [SOLVED] Lookup lowest value in a list for an item for a specific date
    By JungleJme in forum Excel General
    Replies: 5
    Last Post: 07-26-2012, 05:28 AM

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