Closed Thread
Results 1 to 2 of 2

Lookup Based on Position and Condition

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

    Lookup Based on Position and Condition

    Hi,

    I asked a similar question earlier and someone very kindly helped almost immediately.

    The solution worked perfectly with the sample data that I provided but didn't seem to work when I applied it to the real data.

    Also, I didn't understand what the formula was doing so couldn't amend it.

    So I've attached a better representation of my data in the hope that someone can please help?

    If product code AAA is in J2 I would like to create a formula in K2 that will return the Country name (from column D) for the row of product AAA that has a non-zero value in E:H closest to the final column in the range. In my example, "Germany" will be returned by the formula as AAA has a non-zero value closest to column H for that country.

    Hope that makes sense!

    Thanks!
    Attached Files Attached Files
    Last edited by andrewc; 06-11-2020 at 04:49 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Lookup Based on Position and Condition

    Administrative Note:

    This is just a continuation of the same topic, so is a duplicate thread, and you know you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-gen...onditions.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need help to lookup through each cells in a range based on two condition
    By petroes in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-07-2020, 04:30 AM
  2. LOOKUP and Filter Based on Combined Condition
    By Steave in forum Excel Formulas & Functions
    Replies: 66
    Last Post: 12-29-2019, 05:16 AM
  3. [SOLVED] Lookup based on certain condition
    By jw01 in forum Excel General
    Replies: 5
    Last Post: 05-30-2018, 02:00 PM
  4. [SOLVED] Using Index Match for Salary Lookup based on Name Key, Position, Years of service
    By julesmctavish in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-28-2017, 04:14 PM
  5. Lookup functions based on array position
    By FJMoussally in forum Excel General
    Replies: 8
    Last Post: 07-27-2015, 09:34 PM
  6. [SOLVED] VBA to Lookup value based on two condition.
    By shiva_reshs in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-03-2014, 12:30 PM
  7. Replies: 13
    Last Post: 05-31-2006, 04:30 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