+ Reply to Thread
Results 1 to 6 of 6

#Value! question

  1. #1
    Registered User
    Join Date
    10-22-2008
    Location
    jacksonville
    Posts
    5

    #Value! question

    Kind of a noob question but i have looked everywhere and cant figure out why i am getting #Value as the output for my IF formulas when false. The following formulas work fine when satisfied if true, but when false i want the cell to blank in one instance and display "N/A" in the other instances however i always get #Value!. I have tried resizing and reformatting the cells but that doesn't help either???

    Thanks in advance!

    =IF(E36>0, I35*E36, "")
    =IF($P$11>0,ROUND((P17*(1-$P$12)/$P$13),2),"N/A")
    =IF($P$11>0, P17-(U17*$P$13), "N/A")

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    When you are getting #Value!, what are in cells E36 and P11?

  3. #3
    Registered User
    Join Date
    10-22-2008
    Location
    jacksonville
    Posts
    5
    E36 = =IF(Info!P35>0, Info!P35, "")

    P11 = =IF(Info!G34="20/10", "3", "") & IF(Info!G34="25/6", "2", "") & IF(Info!G34="33/7", "1", "")

    just a reference these are to work up different payment schedules depending on which payment plan is selected.

  4. #4
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Since those other cells are blank, change your formulas to:

    =IF(E36<>"", I35*E36, "")
    =IF($P$11<>"",ROUND((P17*(1-$P$12)/$P$13),2),"N/A")
    =IF($P$11<>"", P17-(U17*$P$13), "N/A")

    HTH

    Jason

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    This formula
    Please Login or Register  to view this content.
    returns 1,2, and 3 as strings (text) and Excel will not necessarily be able to use them in calculations. Remove the quotes from around those numbers.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  6. #6
    Registered User
    Join Date
    10-22-2008
    Location
    jacksonville
    Posts
    5
    Thanks a bunch worked like a charm. I knew it had to be something simple, i just was drawing blank on what to try, never thought of that since it was a valid statement already.

+ 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