Results 1 to 10 of 10

Lookup and match a number to a start and end sequence column

Threaded View

  1. #1
    Registered User
    Join Date
    10-25-2023
    Location
    London
    MS-Off Ver
    365
    Posts
    5

    Post Lookup and match a number to a start and end sequence column

    Hi Everyone,

    I have been working on solving a problem in Excel for a couple of days and wondered if there was a quicker method to achieve the below? I have tried index and match but cannot use autofill to drag down to the rest of the values I need to check. Not sure if PowerQuery would solve this.

    I have a worksheet with 2 columns: Start Sequence, and End Sequence, for instance B2 and B3 (see attached example).
    In the second worksheet I have a column named: Sequence Ref with over 9000 sequence reference numbers, for example A1 (see attached example).

    There are over 9000 records in each workbook (example contains 20 records).

    I want Excel to lookup each value in the Sequence Ref column and match it to the relevant Start Sequence and End Sequence columns to see if it falls within the sequence range. Once matched it must either indicate the row number the sequence falls in (or any other method to indicate to the user that the match was found in the relevant start and end constraint).

    If it is not found it can return "not found" or leave the answer blank.

    I can use the IF, index, match etc but when dragging down the column to return the result for all sequence refs, it does not work.

    Hoping someone can guide me or tell me it is not possible?

    Many thanks.
    Attached Files Attached Files
    Last edited by foulkesatwork; 10-25-2023 at 10:40 AM. Reason: Uploading example

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Lookup row number to match column and calculated value
    By gaiusA in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-10-2021, 11:12 PM
  2. Formula to lookup numerous columns and add the next number in sequence
    By jenn_t in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-01-2021, 11:38 PM
  3. [SOLVED] Using MATCH to find row number based on a two-column lookup.
    By systemlordanubis in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-17-2016, 08:34 AM
  4. [SOLVED] VBA to count number in column and give number sequence in next column
    By saravanan1981 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-03-2016, 09:38 AM
  5. Replies: 7
    Last Post: 06-08-2015, 08:39 AM
  6. [SOLVED] Formula to display sequence number based on contiguous start and end dates
    By AlanCake in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-04-2013, 07:37 AM
  7. [SOLVED] How can I match a random number with closest number from sequence?
    By matt in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-02-2006, 08:25 PM

Tags for this Thread

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