+ Reply to Thread
Results 1 to 8 of 8

Lookup formula?

Hybrid View

  1. #1
    Registered User
    Join Date
    01-20-2021
    Location
    Toronto, Canada
    MS-Off Ver
    2013
    Posts
    21

    Lookup formula?

    Hi, I need a formula that finds rows that contain certain text ("n=") then applies a formula for rows below it, but only until the next "n=" row is encountered.
    Worksheet is attached and explained within.

    Many thanks for any help!
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,650

    Re: Lookup formula?

    In M20
    If you want to refer to nearest "n=" in column F, the get corresponding value in column K:
    LOOKUP(2,1/($F$17:F20="n="),$K$17:K20)

    So, condition statement should be added:

    =IF(OR(LOOKUP(2,1/($F$17:F20="n="),$K$17:K20)<100,LOOKUP(2,1/($F$17:F20="n="),$L$17:L20)<100),"",Your-formula)
    Quang PT

  3. #3
    Registered User
    Join Date
    01-20-2021
    Location
    Toronto, Canada
    MS-Off Ver
    2013
    Posts
    21

    Re: Lookup formula?

    thanks so much for your help. I feel terrible for not acknowledging earlier but this is much appreciated!

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,709

    Re: Lookup formula?

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  5. #5
    Registered User
    Join Date
    01-20-2021
    Location
    Toronto, Canada
    MS-Off Ver
    2013
    Posts
    21

    Re: Lookup formula?

    Thanks. I marked as solved and added reputation.
    I just tried to post another question and I am blocked for some reason. Is "securinet" legit?
    thanks.

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,650

    Re: Lookup formula?

    Quote Originally Posted by MaggieLou View Post
    I just tried to post another question and I am blocked for some reason. Is "securinet" legit?
    thanks.
    One of popular reason is " < " or " > ". Try insert 1 space before and after the " < > " to avoid sucuri wall.

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,709

    Re: Lookup formula?

    You probably have some sequence of letters that Securi believes is a SQL statement. Use of certain words generally will trip up this issue.

  8. #8
    Registered User
    Join Date
    01-20-2021
    Location
    Toronto, Canada
    MS-Off Ver
    2013
    Posts
    21

    Re: Lookup formula?

    Thanks to both!! I was able to submit my post now.

+ 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. Help with adjusting Index lookup formula to include additional lookup criteria
    By kingofcamden in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-14-2018, 01:04 PM
  2. Replies: 3
    Last Post: 08-23-2017, 07:04 PM
  3. [SOLVED] Modified LOOKUP Formula for Excluding Missing Lookup Values
    By aaochsner in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-23-2017, 07:29 PM
  4. Replies: 4
    Last Post: 05-19-2015, 08:42 PM
  5. [SOLVED] Lookup formula to find lowest value with variable lookup criteria
    By brharrii in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-27-2015, 03:00 AM
  6. [SOLVED] Can lookup formula ignore blank cells until the lookup value has been entered?
    By Ju1cy in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-13-2014, 01:32 PM
  7. Replies: 5
    Last Post: 02-24-2011, 11:26 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