+ Reply to Thread
Results 1 to 4 of 4

Nested HLOOKUP returns "FALSE" in cell where result should be "0.00"

  1. #1
    Registered User
    Join Date
    03-09-2016
    Location
    Bath, England
    MS-Off Ver
    2013
    Posts
    2

    Question Nested HLOOKUP returns "FALSE" in cell where result should be "0.00"

    The formula I'm using in cell EU10 is:
    =IFERROR(IF(HLOOKUP($F10,$M$2:$ES$170,(ROW($F10)-1),0),(HLOOKUP($F10,$M$2:$ES$170,(ROW($F10)-1),0))),"")

    The lookup value is in cell F10
    The table array is M2:ES170

    The same value appears in F10 as M2, then in that column I'm pulling back the value in row F

    This currently works perfectly across all rows and columns until the value I am trying to return in a given row/column contains "0.00" then in column EU it results in "FALSE".

    Do I need to put in an extra step to say if cell contains 0.00 show 0.00, else do the formula? If so I don't know how to add that into the already nested formula.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,192

    Re: Nested HLOOKUP returns "FALSE" in cell where result should be "0.00"

    Try this ..

    =IFERROR(HLOOKUP($F10,$M$2:$ES$170,(ROW($F10)-1),0),"")

    returns blank if no match

  3. #3
    Registered User
    Join Date
    03-09-2016
    Location
    Bath, England
    MS-Off Ver
    2013
    Posts
    2

    Re: Nested HLOOKUP returns "FALSE" in cell where result should be "0.00"

    Perfect, thank you. Just taking out the IF rule worked, and returns 0.00 when I need it to and blank when I don't.

    Thanks again!

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,192

    Re: Nested HLOOKUP returns "FALSE" in cell where result should be "0.00"

    If your query has been addressed could you please mark thread as solved ("Thread Tools" at top of first post).

+ 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] IF Statement Evaluates as "TRUE" but Returns "FALSE" Value (Excel 2007)
    By Simcik in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-11-2014, 12:43 PM
  2. compare two excel sheets using macros and display the result in "true" or "false"
    By gayunana01 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-09-2012, 07:21 AM
  3. Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)" not working
    By redders in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2011, 03:52 PM
  4. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  5. Replies: 5
    Last Post: 06-15-2010, 10:51 AM
  6. Using "IF" with date returns an improper "FALSE"
    By scaffdog845 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-23-2008, 10:31 AM
  7. Replies: 7
    Last Post: 05-13-2006, 05:02 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