#VALUE error appears before data calculates

%3CLINGO-SUB%20id%3D%22lingo-sub-2063134%22%20slang%3D%22en-US%22%3E%23VALUE%20error%20appears%20before%20data%20calculates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2063134%22%20slang%3D%22en-US%22%3E%3CP%3ECreated%20a%20great%20spreadsheet%20to%20measure%20distances%20and%20elevations%20for%20a%20local%20golf%20association.%3C%2FP%3E%3CP%3EVery%20last%20step%20is%20rid%20the%20blank%20spreadsheet%20of%20the%20%23VALUE%20error.%26nbsp%3B%20Tried%20IFERROR%20w%2Fo%20results.%26nbsp%3B%20Using%20365%20and%20the%20formula%20works%20as%20intended%20once%20data%20is%20calculated.%20Please%20review%20the%20.pdf%20attachment%20for%20better%20explanation.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22page%22%3E%3CDIV%20class%3D%22layoutArea%22%3E%3CDIV%20class%3D%22column%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22ProTee_0-1610678038096.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F246612iB0CF05F0324890ED%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22ProTee_0-1610678038096.png%22%20alt%3D%22ProTee_0-1610678038096.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3EThanks%20in%20advance!%3C%2FP%3E%3CP%3EProTee%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2063134%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2064470%22%20slang%3D%22en-US%22%3ERe%3A%20%23VALUE%20error%20appears%20before%20data%20calculates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2064470%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F858117%22%20target%3D%22_blank%22%3E%40ProTee%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBetter%20if%20you%20provide%20small%20sample%20file%20just%20with%20formula%20in%20question%2C%20based%20on%20screenshot%20it's%20hard%20to%20say%20something%20concrete.%20Perhaps%20curly%20quotes%2C%20perhaps%20something%20else.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2064535%22%20slang%3D%22de-DE%22%3ESubject%3A%20%23VALUE%20error%20appears%20before%20data%20calculates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2064535%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F858117%22%20target%3D%22_blank%22%3E%40ProTee%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EExcel%20formula%20error%20%23VALUE%3C%2FP%3E%3CP%3ESeveral%20causes%20can%20lead%20to%20a%20%23VALUE%20Error%20as%20it%20depends%20on%20the%20formula%20you%20used.%20An%20incorrect%20number%20or%20an%20invalid%20value%20listed%20as%20an%20argument%20can%20result%20in%20a%20%23VALUE%20cell%20showing%20value%20Error.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETake%20an%20example%3A%20Enter%20%3D%20if%20(%22a%22%2C%201.0)%20these%20results%20in%20%23value%20Error.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMethod%20to%20fix%20%23VALUE%20error%20in%20Excel%3C%2FP%3E%3CP%3EPreventing%20%23VALUE%20Error%20and%20Correcting%20Your%20Excel%20Spreadsheet%20Below%20are%20a%20few%20options%20you%20can%20try%3A%3C%2FP%3E%3CP%3ECorrect%20any%20data%20in%20the%20cell%20so%20that%20numeric%20data%20is%20always%20numeric%3C%2FP%3E%3CP%3EUse%20workarounds%20to%20exit%20%23VALUE%20Error%20if%20the%20data%20is%20not%20the%20default%3C%2FP%3E%3CP%3ECreate%20a%20SUM%20formula%20with%20the%20range%20of%20cells%20where%20the%20formula%20ignores%20incorrect%20data%20types.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20be%20happy%20to%20know%20if%20I%20could%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENikolino%3C%2FP%3E%3CP%3EI%20know%20I%20don't%20know%20anything%20(Socrates)%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22VIiyi%22%3E%3CSPAN%20class%3D%22JLqJ4b%20ChMk0b%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Created a great spreadsheet to measure distances and elevations for a local golf association.

Very last step is rid the blank spreadsheet of the #VALUE error.  Tried IFERROR w/o results.  Using 365 and the formula works as intended once data is calculated. Please review the .pdf attachment for better explanation.

 

ProTee_0-1610678038096.png

Thanks in advance!

ProTee

8 Replies

@ProTee 

Better if you provide small sample file just with formula in question, based on screenshot it's hard to say something concrete. Perhaps curly quotes, perhaps something else.

@ProTee 

Excel formula error #VALUE

Several causes can lead to a #VALUE Error as it depends on the formula you used. An incorrect number or an invalid value listed as an argument can result in a #VALUE cell showing value Error.

 

Take an example: Enter = if (“a”, 1,0) this results in #value Error.

 

Method to fix #VALUE error in Excel

Preventing #VALUE Error and Correcting Your Excel Spreadsheet Below are a few options you can try:

Correct any data in the cell so that numeric data is always numeric

Use workarounds to exit #VALUE Error if the data is not the default

Create a SUM formula with the range of cells where the formula ignores incorrect data types.

 

I would be happy to know if I could help.

 

Nikolino

I know I don't know anything (Socrates)

 

 

Sergei, thank you for your reply!  I noticed I can remove all but one set of " " and the formula works perfectly fine yet the #VALUE still exists. (I've attached a screen shot for further clarity.)

Desired results: 

1)  No data --> No #VALUE or a blank cell

2)  Data entered --> Population of proper value from formula (e.g., +40, +30, +20 ... -30, -40)

 

G10's formula:    =IF(AN10=",",AN10)

K10's formula:    =IF(($G32-G10)>=35,+40,

                               IF(($G$32-G10)>=25,+30,

                               IF(($G$32-G10)>15,+20,

                               IF(($G$32G10>=+10,

                               IF(($G$32-G10)>-10,” “,

                               IF(($G$32-G10)<=-35,-40,

                               IF(($G$32-G10)<=-25,-30,

                               IF(($G$32-G10)<=-15,”-20,-10))))))))

AN10's formula:   =IFERROR(VLOOKUP(AM10,$AW$2:$AZ$700,4,0),"")

AZ3 is a Value

 

G32's formula:    =IF(AN32=",",AN32)

AN32's formula:  =IFERROR(VLOOKUP(AM32,$AW$2:$AZ$700,4,0),"")

AZ21 IS A VALUE

 

If I can supply further information, let me know.

Thanks, @ProTee

@ProTee 

And which exactly formulas in AZ3 and AZ21 where you have an error?

@ProTee  Sorry, the typed formula in my response ( IF(($G$32G10>=+10,) was incorrectly typed for this latest post.  The formula in the spreadsheet actually does have the minus (-) sign as follows:

 

IF(($G$32-G10>=+10,

 

Regards, @ProTee

@Sergei Baklan 

 

I don't have any errors as far as I know ... everything calculates perfectly as designed once populated. 

 

Just want the #VALUE to go away and leave a clean/empty cell for the end user before they populate with data.  To them it looks like an error message before population when all the other cells are blank.

 

This spreadsheet is designed for 27 golf holes, the #VALUE appears 216 times in the entire spreadsheet:  27 holes * 8 Tees = 216 very noticeable #VALUE cells

@ProTee 

 

Dear Community,

 

First, I want to thank those who spent their time attempting to find a solution to my dilemma!

 

As a "Newbie", trying to teach myself Excel the past 5+ months and approaching 70, I finally get to be a contributor instead of a seeker!

 

After much trial and error, I've come up with the solution to get rid of the #VALUE! populating the cells.  Here is the simple solution below (It's usually simple, isn't it?  But the road there is very difficult.  How else do we learn?)

 

Original formula:    =IF(($G32-G10)>=35,+40,

                                   IF(($G$32-G10)>=25,+30,

                                   IF(($G$32-G10)>15,+20,

                                   IF(($G$32G10>=+10,

                                   IF(($G$32-G10)>-10,” “,

                                   IF(($G$32-G10)<=-35,-40,

                                   IF(($G$32-G10)<=-25,-30,

                                   IF(($G$32-G10)<=-15,-20,-10))))))))

 

IMPROVED formula:   

     1st line edit         =IFERROR(IF(($G32-G10)>=35,+40,

                    Added =IFERROR(

   Last line edit           IF(($G$32-G10)<=-15,-20,-10)))))))),"")

                                                                                Added ,"")

Once again, a GREAT BIG THANKS to all of you!

                                        

 

@ProTee , great to know you sorted this out, thank you for the update