+ Reply to Thread
Results 1 to 3 of 3

IF Function referencing IsNumber, Match, Left function on separate sheets

  1. #1
    Registered User
    Join Date
    10-12-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    6

    IF Function referencing IsNumber, Match, Left function on separate sheets

    Outcome: I need to populate a "Y" for Yes or blank for no in Spreadsheet #2, Column D, if 9 numbers from a Left function from Spreadsheet #1, Column B equals the numbers in Spreadsheet #2, Column A.

    Issue: I'm trying to use the following function - =IF(ISNUMBER(MATCH(A2,(LEFT(Journal_Control_Template!B$2:B$7,9)),0)),"Y","N"); I'm receiving the "N" but I'm receiving the "Y" value.

    Example Issue:

    Sheet 1:
    Column A Column B
    JUL-10 123456789BOOK
    JUL-10 777555444RED
    JUL-10 888444666BLUE


    Sheet 2:
    Column A Column B Column C Column D
    123456789 JUL-10 BOOK Y
    777555444 JUL-10 RED Y
    999222333 JUL-10 ORANGE N
    888444666 JUL-10 BLUE Y

    Thank you for your help.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: IF Function referencing IsNumber, Match, Left function on separate sheets

    Firstly your formula is an "array formula" and therefore needs to be confirmed with CTRL+SHIFT+ENTER

    LEFT always returns a text value so if A2 is a number that won't match - if A2 isn't text-formatted then you might need to adjust that in the formula, i.e.

    =IF(ISNUMBER(MATCH(A2&"",LEFT(Journal_Control_Template!B$2:B$7,9),0)),"Y","N")

    ....but if the B2:B7 values are always number and text as per your example (not just numbers) then you could use COUNTIF with wildcards like this

    =IF(COUNTIF(Journal_Control_Template!B$2:B$7,A2&"*"),"Y","N")

    and that doesn't need "array entry"
    Audere est facere

  3. #3
    Registered User
    Join Date
    10-12-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: IF Function referencing IsNumber, Match, Left function on separate sheets

    Thank you so much... the 2nd Countif function worked.

+ 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. If ISNUMBER MATCH function not working.
    By eurycea in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-20-2018, 10:24 AM
  2. MATCH function to be used in separate function array
    By ARayburn in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-23-2013, 05:52 PM
  3. [SOLVED] Left Function in Combination with IF, LOOKUP, MATCH, or INDEX?
    By superwhoever in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 10-29-2012, 01:31 AM
  4. Using OR Function Within ISNUMBER(SEARCH()) Function
    By JonnyBoy333 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-29-2011, 06:09 PM
  5. IsNumber function in VBA
    By nygwnj in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2008, 02:47 PM

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