+ Reply to Thread
Results 1 to 6 of 6

#value! error no matter what iteration of formula I use

  1. #1
    Registered User
    Join Date
    05-25-2016
    Location
    WV
    MS-Off Ver
    Excel 2007
    Posts
    3

    #value! error no matter what iteration of formula I use

    Hi all,

    New to the forum and trying to figure out what I perceived to be a simple problem...At first. We have a excel template that was given to us by a state agency to use to invoice services provided. Every service has a id# associated. A row of the template would include date, client name, provider name, id#, rate for particular id#, etc...I created a second worksheet that is identical to the template to calculate the wage we pay a provider instead of using the rate we would receive. It references the template and copies info into cells but uses vlookup to find our rate for service (utilizes reference table) instead of using there rates. I set the worksheet to reference the sheet and if a referenced cell is blank, it produces a blank on the second worksheet. The only math calc used in the worksheet is a product formula to multiply our rate times the amount of hour/units. The problem is that if one of the cells is blank(that is used in multiplication), it produces the #value! error. I think it is important to know that the cells that are used to multiply have formulas that reference the template page. No numbers are entered into the second worksheet. I have scoured forums, help articles, and tried everything i know how to do. I have made multiple attempts to re-write the formula to produce a blank cell or even a 0. I am hoping that someone can make a suggestion or point me in the right direction. All help is welcomed!!

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

    Re: #value! error no matter what iteration of formula I use

    The problem is that formulas returning "" are NOT blank. That is actually a TEXT String
    And TEXT*NUMBER = #Value!

    Can you post the actual formula in question, that provides the desired results when the cell(s) are NOT blank "" ?
    And what would you like to happen instead of #Value! error when one of the cells is blank ""

    You might just wrap your whole formula in IFERROR
    =IFERROR(yourformula,"")

  3. #3
    Registered User
    Join Date
    05-25-2016
    Location
    WV
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: #value! error no matter what iteration of formula I use

    Thanks for responding so quickly JONMO1! My formula for units/hours is =VALUE('ASO Invoice'!H13). It was ='ASO Invoice'!H13 & "" to produce blank when referenced cell was blank. I changed because I was suspicious of text and tried to change. My wage lookup formula is =IF(ISNA(VLOOKUP(TEXT(G13, "0"),'Reference Sheet'!$B$3:$C$18,2,0)),"",VLOOKUP(TEXT(G13, "0"),'Reference Sheet'!$B$3:$C$18,2,0)) to produce a blank if the referenced cell is blank. There are many variations on my mult formula that I have tried but the one I have in the last column now is =H13*I13 & "". I have tried the IF function and the ISBLANK function with no success. I even just tried what you suggested =IFERROR(H13*I13 & "") and received this error - This field is a calculation and should not have amounts entered directly into it. Let me know what you think and forgive my ignorance!

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

    Re: #value! error no matter what iteration of formula I use

    I would drop the idea of doing number & "" for the purpose of hiding 0's.
    That just turns your numbers into Text Strings.
    There are far easier and more effective ways to hide zeros
    Go to File - Options - Advanced and UNcheck "Show a zero in cells with zero value"

    Now try
    =IFERROR(H13*I13,"")

  5. #5
    Registered User
    Join Date
    05-25-2016
    Location
    WV
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: #value! error no matter what iteration of formula I use

    It worked!! I turned off data validation in the last column and it allowed me to enter your suggestion. Thanks so much for taking the time to help and with such quickness. I am not completely new to excel but I have a long way to go. I appreciate it and will try to learn from this experience so that I may be able to help someone else with the same problem. Thanks again!

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

    Re: #value! error no matter what iteration of formula I use

    You're welcome.

+ 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] Go to next loop iteration if current loop has error
    By luv2glyd in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 02-03-2016, 09:54 PM
  2. Formula to Remove First and Last charactesr (no matter what they are)
    By unokam in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-07-2013, 12:29 PM
  3. Find Creates Error on Second Iteration
    By Roberto244 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-22-2010, 03:36 PM
  4. formula calculating itself by iteration
    By haplo39 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-07-2008, 07:55 AM
  5. iteration formula
    By szermat in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-10-2007, 11:01 AM
  6. Iteration Count Formula Help
    By Piero in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-10-2006, 10:52 PM
  7. Replies: 10
    Last Post: 12-28-2005, 11:50 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