[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now


Excel formula that does not perform a calculation when cell values are 0 or blank

Posted on 2014-04-15
Medium Priority
Last Modified: 2014-05-09
I have an Excel file. Cells in columns A and B usually contain numerical values but sometimes are blank or sometimes have a value of 0.  On each row, in column C, I am dividing B by A.  To avoid getting division errors, I need a formula that I can copy down column C that will skip over a row when a value in cell A or B on a given row is either blank or 0.
Question by:dbfromnewjersey
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Assisted Solution

by:Kent Fichtner
Kent Fichtner earned 480 total points
ID: 40001611

That should work.

Accepted Solution

Kent Fichtner earned 480 total points
ID: 40001616
You could also try this:

LVL 13

Assisted Solution

by:Santosh Gupta
Santosh Gupta earned 240 total points
ID: 40001619

LVL 43

Assisted Solution

by:Saqib Husain, Syed
Saqib Husain, Syed earned 240 total points
ID: 40001628

Assisted Solution

by:Naresh Patel
Naresh Patel earned 240 total points
ID: 40001745
Try this


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question