Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / May 2008

Tip: Looking for answers? Try searching our database.

#VALUE!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nso - 16 May 2008 18:36 GMT
i have formula '=G3-G2" in cell g4.  when i dont have any info in g3 or g2,
g4 shows #VALUE!.  is there somethin i can add to the formula so that if g2
and g3 are blank, g4 will be blank too?
Max - 16 May 2008 18:41 GMT
One way, in G4: =IF(COUNT(G2:G3)<2,"",G3-G2)
Signature

Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

> i have formula '=G3-G2" in cell g4.  when i dont have any info in g3 or g2,
> g4 shows #VALUE!.  is there somethin i can add to the formula so that if g2
> and g3 are blank, g4 will be blank too?
nso - 16 May 2008 18:48 GMT
i dont understand it but that worked, thanks!!

> One way, in G4: =IF(COUNT(G2:G3)<2,"",G3-G2)
> > i have formula '=G3-G2" in cell g4.  when i dont have any info in g3 or g2,
> > g4 shows #VALUE!.  is there somethin i can add to the formula so that if g2
> > and g3 are blank, g4 will be blank too?
Max - 17 May 2008 03:25 GMT
Welcome. The =IF(COUNT(G2:G3)<2,"", ... trap simply ensures that G2:G3
contain numbers before proceeding with the arithmetics between them. This
averts the #VALUE error which would result if G2:G3 were to contain text
such as null strings: "", returned by formulas
Signature

Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

>i dont understand it but that worked, thanks!!
T. Valko - 16 May 2008 18:43 GMT
One way:

=IF(COUNT(G2:G3)<2,"",G3-G2)

Signature

Biff
Microsoft Excel MVP

>i have formula '=G3-G2" in cell g4.  when i dont have any info in g3 or g2,
> g4 shows #VALUE!.  is there somethin i can add to the formula so that if
> g2
> and g3 are blank, g4 will be blank too?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.