+ Reply to Thread
Results 1 to 4 of 4

#Value! Error

  1. #1
    Registered User
    Join Date
    03-05-2008
    Posts
    3

    #Value! Error

    I am constructing a formula and it's not outputting what I would like. My excel spread sheet is as follows

    A B C D E F

    Day Food Calories Fat Calories Fat
    Consumed Grams From Fat Percentage

    Wednesday Apple 65 0 #VALUE!
    Turkey Sandwich 220 3 27 0.122727273
    Granola Bar 150 9 81 0.54


    In order to calculate the calories from fat, the problem said to multiply by 9 Fat Grams, and I got this function =IF(D10<>0,D10*9,""). The reason I did "" for the false statement is because I want it blank.

    For the Fat Percentage it says that it is calculated by dividing the Calories from Fat by the Calories. I then got this formula =IF(E10<>0,E10/C10,""). I want to get this as a blank but it responds with a #VALUE!

    Can someone please help me with my problem. Thanks.

  2. #2
    Forum Contributor
    Join Date
    02-28-2006
    Posts
    690
    check if D10 contains text or a number by trying to format it to 2 decimal places for a start

  3. #3
    Registered User
    Join Date
    03-05-2008
    Posts
    3
    The number for D10 is 0, and doesn't have any values after 0.

    Can someone please help me with this please.

  4. #4
    Valued Forum Contributor Dunc3142's Avatar
    Join Date
    09-05-2007
    Location
    Franklin OH
    MS-Off Ver
    2000 and 2007 and 2010 @ Home & Teach 2010
    Posts
    351

    Send an example

    We can see it better if you zip an Excel file with what you are trying to do.
    Yes it will. we just have to figure out how...
    If I have helped you, PLEASE click the * and add to my Rep.
    Also, if the problem is SOLVED please mark it as so.

+ 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