+ Reply to Thread
Results 1 to 7 of 7

Help with lookup or Index formula excluding certain data.

  1. #1
    Registered User
    Join Date
    05-02-2019
    Location
    Lake Charles, LA
    MS-Off Ver
    365
    Posts
    3

    Help with lookup or Index formula excluding certain data.

    I'm trying to write a formula that will look in COL J for an identifier "S", if it does have that identifier I than need it to lookup data in COL I and return a result that DOES NOT have a "S" in COL J. ALso, COL H has invoice #s.

    =IF(J:J<>"S",I2,index(???)

    Thanks in advance!
    Last edited by ODP; 05-02-2019 at 01:31 PM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,452

    Re: Help with lookup or Index formula excluding certain data.

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,500

    Re: Help with lookup or Index formula excluding certain data.

    are you thinking to count or sum the values without the "S" identifier, or are you looking to do this row by row? And what does col H have to do with it?
    from what you've written it sounds like this would work... =IF(J2="S","",I2)
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Registered User
    Join Date
    05-02-2019
    Location
    Lake Charles, LA
    MS-Off Ver
    365
    Posts
    3

    Re: Help with lookup or Index formula excluding certain data.

    added workbook

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,500

    Re: Help with lookup or Index formula excluding certain data.

    this looks like it will work for you... =IF(D2="",C2,IFERROR(LOOKUP(2,1/(""=$D$2:$D$18)/(B2=$B$2:$B$18),$C$2:$C$18),""))

  6. #6
    Registered User
    Join Date
    05-02-2019
    Location
    Lake Charles, LA
    MS-Off Ver
    365
    Posts
    3

    Re: Help with lookup or Index formula excluding certain data.

    Quote Originally Posted by Sambo kid View Post
    this looks like it will work for you... =IF(D2="",C2,IFERROR(LOOKUP(2,1/(""=$D$2:$D$18)/(B2=$B$2:$B$18),$C$2:$C$18),""))
    This seems to work beautifully, thanks so much!

  7. #7
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,500

    Re: Help with lookup or Index formula excluding certain data.

    You're welcome, glad it worked for 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. Excluding blank cells from INDEX MATCH formula
    By Axis921 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-26-2019, 06:14 AM
  2. [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
  3. [SOLVED] Excluding certain raw from the INDEX formula.
    By Dolke in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-09-2017, 09:47 AM
  4. [SOLVED] Need Help INDEX Formula or V Lookup Formula Funtion for Data Sheet
    By tariqjahangir in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-20-2016, 01:30 AM
  5. [SOLVED] Excluding data from Index?
    By haxen2000 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-03-2014, 11:22 AM
  6. [SOLVED] Data Validation populated by lookup/ Index:match type formula
    By strud in forum Excel General
    Replies: 4
    Last Post: 09-30-2014, 07:09 AM
  7. Index Formula using max and excluding specifc value
    By bswitalski in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-17-2013, 09: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