+ Reply to Thread
Results 1 to 5 of 5

Help Formula displaying wrong value!

  1. #1
    Registered User
    Join Date
    08-06-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    16

    Angry Help Formula displaying wrong value!

    Hi All:

    Thanks in advance for anyone that can help with this...

    I have the following formula to display "Yes" if the following criteria is met..basically it is telling me if cell value Over and the percentage is Greater than 50% then, display yes, otherwise **, OR if value is "Under" and percentage is less than 50%. Now the cell that it is point to is in the following formula, even when it is Blank "***", I still get the value "Yes", and I can't figure out why...

    =IF(OR(AND(NMast!$N81="Over", NMast!GK81>0.5), AND(NMast!$N81="Under", NMast!GK81<0.5)),"Yes","**")



    The cell that is point to is this, I wonder if it's something to do with the "***", because when it is "***" my cell still display "Yes"

    =IF(ISERROR(GH81/SUM(GH81:GI81)),"***",(GH81/SUM(GH81:GI81)))

    Basically the 2nd formula is doing a very simple calcuatlion

    example 1/0 is 100% if it is 0/0, then display ***

    Please help, can't figure out why!!!

    Thank You!!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Help Formula displaying wrong value!

    Without seeing a sample of what you are working with, this is just a guess...in excel, * represents a wild card, can you try using a different character and see if that changes anything?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Help Formula displaying wrong value!

    "***" is NOT blank. It's a TEXT string of 3 * characters.
    And > and < operators will consider Text Strings to be greater than Numbers.
    So you'll have to add a test of the value actually being a number

    Perhaps
    =IF(ISNUMBER(NMast!GK81),IF(OR(AND(NMast!$N81="Over", NMast!GK81>0.5), AND(NMast!$N81="Under", NMast!GK81<0.5)),"Yes","**"),"**")

  4. #4
    Registered User
    Join Date
    08-06-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Help Formula displaying wrong value!

    Thanks FDibbins!

    And Thank You Jonmo1!!!

    Your formula worked, can you explain to me what that formula is? I would like to fully understand the formula.

    Also I have over like 60 formulas to change, I try to change from "***" to "" blank, it still doesn't work, it still display Yes, I
    just don't understand why?
    What kind of text or value / character or symbol can I put so it won't count as a value?

    I just want to use it so it won't display blank, and it looks good on the spreadsheet..

    Thank You so much!!!!!

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Help Formula displaying wrong value!

    It would probably be easier if you could upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.

+ 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. Wrong result displaying using IFERROR-INDEX-MATCH-ROW Formula
    By paradise2sr in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-16-2013, 01:03 PM
  2. [SOLVED] VLOOKUP with MATCH... Displaying wrong column information
    By oneillgirl808 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-13-2013, 09:14 PM
  3. Replies: 2
    Last Post: 02-05-2013, 04:52 AM
  4. [SOLVED] Y-Axis Displaying Wrong Values for Data Series! Help!
    By smadey in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-01-2012, 10:12 AM
  5. Replies: 7
    Last Post: 06-21-2011, 03:24 AM
  6. Line graph displaying wrong values
    By Leia in forum Excel General
    Replies: 4
    Last Post: 04-20-2011, 08:20 AM
  7. YYYY format displaying wrong date
    By Blaise in forum Excel General
    Replies: 3
    Last Post: 10-11-2005, 10:05 PM
  8. Cell displaying wrong figure
    By tcapewell in forum Excel General
    Replies: 1
    Last Post: 01-26-2005, 07:52 AM

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