+ Reply to Thread
Results 1 to 6 of 6

IFERROR returning text?

  1. #1
    Forum Contributor
    Join Date
    01-20-2014
    Location
    Greece
    MS-Off Ver
    20 yr. old Excel 2002!
    Posts
    710

    IFERROR returning text?

    I cannot figure out why the calculation in D10 is not using my default WB decimal which is a comma, resulting in non number value.

    Note: Because IFERROR is not supported in Excel for XP, a VBA UDF is used in module 1.
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-16-2017
    Location
    UK
    MS-Off Ver
    2016
    Posts
    371

    Re: IFERROR returning text?

    Hi drgkt,

    Usually when a 'number' is automatically aligned to the left of cell, it is being treated as text by Excel.

    Try wrapping your entire formula in =VALUE(). This will convert any number that is stored as text into a proper number.

  3. #3
    Forum Contributor
    Join Date
    01-20-2014
    Location
    Greece
    MS-Off Ver
    20 yr. old Excel 2002!
    Posts
    710

    Re: IFERROR returning text?

    Tried. it gives me 370394152046784,00

    Besides, why the error only in D10?

    Something wrong in the code in module 1?

  4. #4
    Valued Forum Contributor
    Join Date
    03-16-2017
    Location
    UK
    MS-Off Ver
    2016
    Posts
    371

    Re: IFERROR returning text?

    You have:
    Please Login or Register  to view this content.
    You need:
    Please Login or Register  to view this content.

    Only D10 was giving you a string because it was the only cell triggering the 'show' part of your IfError function.
    Last edited by Stormin'; 07-07-2017 at 04:56 AM.

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: IFERROR returning text?

    Try this

    =IFERROR(YOUR FORMULA)+0

  6. #6
    Forum Contributor
    Join Date
    01-20-2014
    Location
    Greece
    MS-Off Ver
    20 yr. old Excel 2002!
    Posts
    710

    Re: IFERROR returning text?

    Tried it before making this post, the result was 370394152046784,00.

    Stormin' s post did the trick.

    Thank you!

+ 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] Having trouble if 'IFERROR' returning a blank in this formula
    By P4r4gon in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-09-2014, 06:34 AM
  2. [SOLVED] IFERROR+INDEX+MATCH Formula is not returning the correct value
    By bxk006 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-16-2013, 09:50 AM
  3. [SOLVED] Long formula using IFERROR and VLOOKUP returning #NAME?
    By redimp in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-04-2013, 09:08 AM
  4. Replies: 4
    Last Post: 07-02-2013, 09:47 PM
  5. [SOLVED] IFERROR function not returning desired error message?
    By andimaemae in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-30-2012, 11:24 AM
  6. Excel 2007 : iferror(index Formula returning blank cells
    By Martin Chamberlin in forum Excel General
    Replies: 7
    Last Post: 11-15-2011, 08:45 AM
  7. Excel 2007 : IFERROR not returning 1st value
    By dillinger in forum Excel General
    Replies: 2
    Last Post: 09-04-2011, 06:00 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