Computer Learning Zone CLZ Access Excel Word Windows

We make our world significant by the courage of our questions and the depth of our answers

-Carl Sagan
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Excel Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Add a formula to another formula
Ken 

16 years ago
Hi Richard.

I have a cell tabulating the average turn around days in numbers, in a column. Cell AH8 has the code: =SUM(AR$12:AR$65536)/AH7. AH7 uses COUNTA to count the entries in column C (thanks!!). In column AR I have a formula to calculate days: =IF(OR(ISBLANK(AH12),ISBLANK(AN12)),"",(AN12-AH12)), based on date entered minus date completed. Some cells will return a negative value, due to certain time contraints. How can I get the formula in AH8 to read any negative number as a 0, or ignore the negative number completely, so it doesn't skew the average in AH8? Using Excel 2003. Thanks.


Answer from Richard Rost:

If you want to turn any negative results into a 0, just add another IF statement. Let's say your current result in is in B2, just say:

=IF(B2<0,0,B2)

This says, "if B2 is less than 0, then use the value 0, otherwise use whatever value is in B2."

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Excel Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/18/2026 2:19:44 PM. PLT: 1s