Results 1 to 4 of 4

Lookup Question

Threaded View

  1. #1
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    839

    Lookup Question

    Hi,

    I have sample data in columns A and B of the attached file.

    In cells F2 and G2 I wish to create formulae to extract from columns A and B the rank of the product in cell E2 and also the number in its group.

    The formula in F2 can be simply a VLOOKUP function as there is a single instance of each product name in column A.

    The difficulty arises when trying to extract the “number in group” value related to a particular product; a VLOOKUP won’t work as it will return the value associated with the first instance that it finds in column A, 12, rather than 15, in my example.

    The data in columns A and B is set up so that the “number in group” associated with a particular product is the next instance below it in column A. So, the “number in group” for BBB is 12, for DDD is 15 and for FFF is 21.

    Can someone please suggest a formula that will extract the correct value to cell G2.

    Thanks!
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Lookup question matching part of lookup value in the table array
    By kosmo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-05-2013, 11:07 AM
  2. Lookup question
    By brewers7 in forum Excel General
    Replies: 8
    Last Post: 01-01-2012, 05:53 AM
  3. Lookup Question - Possible to match if the cell *contains* the lookup value?
    By AdamParker in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-15-2011, 03:30 PM
  4. Lookup Question
    By Corky in forum Excel General
    Replies: 2
    Last Post: 05-06-2009, 10:29 AM
  5. Lookup question
    By awormofearth in forum Excel General
    Replies: 3
    Last Post: 09-20-2007, 07:38 PM
  6. [SOLVED] LOOKUP question-s it possible to have LOOKUP do a calculation in the array?
    By Bob S in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-12-2006, 09:30 AM
  7. Lookup Question
    By Brad P in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-06-2005, 03:05 AM
  8. Lookup question
    By Ntisch in forum Excel General
    Replies: 4
    Last Post: 06-27-2005, 02:00 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