+ Reply to Thread
Results 1 to 4 of 4

INDEX MATCH RETURN DIFFERENT VALUE IF value exists

  1. #1
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    INDEX MATCH RETURN DIFFERENT VALUE IF value exists

    Hi guys

    Is there a way to instruct excel to return a different value if the value being looked up exists when using index match?

    =IFNA(INDEX('Easy Eating Cous Cous 1805'!$D$16:$D$5718,MATCH('Flavoured Cous Cous 1854'!B16,'Easy Eating Cous Cous 1805'!$D$16:$D$5718,FALSE)),"Not in 1805")

    VALUE LOOKED UP IS:

    31057

    VALUE returned IS:

    31057


    ^^ How can I change the value returned to say: 'Exists'

    thanks,

    R.
    Thanks,

    R.



  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: INDEX MATCH RETURN DIFFERENT VALUE IF value exists

    you could just use a countif()


    =IFNA(INDEX('Easy Eating Cous Cous 1805'!$D$16:$D$5718,MATCH('Flavoured Cous Cous 1854'!B16,'Easy Eating Cous Cous 1805'!$D$16:$D$5718,FALSE)),"Not in 1805")

    How about

    =If( Countif('Easy Eating Cous Cous 1805'!$D$16:$D$5718,'Flavoured Cous Cous 1854'!B16)=0,"Not in 1805","Exists")

    A sample sheet would help here

    The forum does allow for spreadsheets to be uploaded direct to the forum -

    Please see the Yellow Banner at the top of the page explaining how to attach a sample spreadsheet

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.

    Here are the instructions, found at the top of the page again
    Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: INDEX MATCH RETURN DIFFERENT VALUE IF value exists

    thank you Wayne this works for now!

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: INDEX MATCH RETURN DIFFERENT VALUE IF value exists

    you are welcome

+ 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. Replies: 2
    Last Post: 08-18-2022, 11:34 AM
  2. Replies: 3
    Last Post: 04-07-2020, 11:58 AM
  3. Replies: 6
    Last Post: 05-22-2019, 11:29 PM
  4. [SOLVED] Index / Match - match 3 input values and return the results from the index
    By t83357 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2016, 07:34 PM
  5. [SOLVED] Index and Match #NA error when value exists
    By jackson_hollon in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-13-2016, 01:05 AM
  6. Replies: 3
    Last Post: 05-08-2013, 02:10 PM
  7. [SOLVED] Match return #NA ...though item exists!
    By Sige in forum Excel General
    Replies: 2
    Last Post: 01-12-2006, 10:50 AM

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