+ Reply to Thread
Results 1 to 4 of 4

combination of if, countif and index functions

  1. #1
    Registered User
    Join Date
    03-18-2019
    Location
    Fairfax
    MS-Off Ver
    2017
    Posts
    2

    combination of if, countif and index functions

    Hi,

    I am having trouble with getting a value from a column, this value has to be fetched by combining two columns to avoid duplicates

    for example
    excel.JPG

    The column A has to be combo of column B and C

    The sheet name is Source_LU

    I tried with this formula,

    =IF(COUNTIF('Source LU'!B:C:D,'DS From ERS'!L2:M2),INDEX('Source LU'!A:A,MATCH('DS From ERS'!L2:M2,'Source LU'!B:C:D,0)),"NOT FOUND")

    And in sheet DS from ERS I want to match values in column L and M, any ideas on how to approach this ?

    Edit 1 : I have uploaded the excel, There are two sheets to be looked at, DS from ERS and Source LU

    I want to get the ID in the source LU which is in A column
    combination of Column B and C in Source Lu should match with column L and M in DS from ERS
    Attached Files Attached Files
    Last edited by bradhakrishan; 03-18-2019 at 06:12 PM.

  2. #2
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: combination of if, countif and index functions

    If you attach a workbook (not pictures) with some data and the expected output it will be much easier to help you.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  3. #3
    Registered User
    Join Date
    03-18-2019
    Location
    Fairfax
    MS-Off Ver
    2017
    Posts
    2

    Re: combination of if, countif and index functions

    Hi,

    I have added the excel file

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,588

    Re: combination of if, countif and index functions

    Hello bradhakrishan and Welcome to Excel Forum.
    I am confused as to where the formula is supposed to be applied. Please tell us the sheet and cell that should be populated using the formula as well as the expected output. If it is not very obvious as to why the output is expected, then please include an explanation.
    That said the formula needs to be modified as ...'Source LU'!B:C:D... will not work. If the intention is to reference columns B, C and D then the syntax would be 'Source LU'!B:D. I am not suggesting that will resolve the issue just making an observation.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. [SOLVED] Index Match CountIF formula combination
    By kdestef1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-11-2018, 03:31 PM
  2. Help with some combination of IF, Match functions
    By sal4m4nd3r in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-05-2017, 10:00 AM
  3. How to use combination of functions
    By ajaypal.sp in forum Excel General
    Replies: 10
    Last Post: 10-28-2015, 04:06 PM
  4. [SOLVED] combination of if, index and match functions not working
    By mingali in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-01-2013, 05:49 PM
  5. [SOLVED] Match index countif functions
    By jjin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-21-2013, 01:57 AM
  6. How to Apply a combination of Index & Match Functions
    By bmc1975 in forum Excel General
    Replies: 4
    Last Post: 07-30-2010, 07:56 PM
  7. combination of functions?
    By vicvega in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-07-2006, 03:45 PM

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