+ Reply to Thread
Results 1 to 8 of 8

Need help with ISNA formula

  1. #1
    Registered User
    Join Date
    05-20-2009
    Location
    Switzerland
    MS-Off Ver
    Excel 365
    Posts
    45

    Need help with ISNA formula

    hello,

    I am in need of some expert :-) help with a very stuborn formula.
    I don't know what I am doing wrong but at least I am not getting the result I expect.

    I have a large sheet of data in which I have a column named "Status"
    The cells are filled with numbers which refer to a status description

    I have created a new sheet called "Stat" in which I have 2 column

    Column A is the column with the status codes
    Column B is the colum with the status description of the code

    In my main data sheet I have created a new column called "Status description" which holds the following formula:

    =IF(ISNA(MATCH([Status];Stat!A:A;0));"";INDEX(Stat!B:B;MATCH([Status];Stat!A:A;0)))

    I don't know why but there is no result, i.e. description appearing.
    I have used the above formula before with other spreadsheet but now it does not seem to work.

    Am I overlooking something ?
    Is this perhaps not the right formula when using numbers ?

  2. #2
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Need help with ISNA formula

    it might be upload a workbook time!
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

  3. #3
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Need help with ISNA formula

    Hi, just an attempt

    your formula looks correct, maybe in your file someone has selected manual calculation in tools-options-calculation tab.

    Regards

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

    Re: Need help with ISNA formula

    One of your columns probably has numbers stored as text, does this work?

    =IF(ISNA(MATCH([Status]+0;Stat!A:A;0));"";INDEX(Stat!B:B;MATCH([Status]+0;Stat!A:A;0)))
    Audere est facere

  5. #5
    Registered User
    Join Date
    05-20-2009
    Location
    Switzerland
    MS-Off Ver
    Excel 365
    Posts
    45

    Re: Need help with ISNA formula

    See attached the sheet

    I tried the formula from daddylonglegs but it did not do the trick
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Need help with ISNA formula

    Hi,

    I've made a little change in G2

    =IF(ISNA(MATCH($F2*1,Stat!A:A,0)),"",INDEX(Stat!B:B,MATCH($F2*1,Stat!A:A,0)))


    Hope it helps
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Need help with ISNA formula

    Try this -

    =LOOKUP(2,1/(Stat!A2:A5=F2),Stat!B2:B5)

    or this if you dont want errrors

    =IFERROR(LOOKUP(2,1/(Stat!$A$2:$A$5=F2),Stat!$B$2:$B$5),"")

    the spreadsheet which you uploaded is strange, so i copied and pasted the data into a new workbook. and the formula above worked fine
    Last edited by Blake 7; 02-22-2011 at 09:01 AM.

  8. #8
    Registered User
    Join Date
    05-20-2009
    Location
    Switzerland
    MS-Off Ver
    Excel 365
    Posts
    45

    Re: Need help with ISNA formula

    Hi,

    I tested the formula from CANAPONE and it did the trick !

    Thanks all for your inputs

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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