ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Getting a DIV/0! error (https://www.excelbanter.com/excel-discussion-misc-queries/198428-getting-div-0-error.html)

Renae

Getting a DIV/0! error
 
I am pretty new to excel so any advice will help! I am working on a fuel
spreadsheet, we do not always fuel everyday in all trucks so I have several
cells with no numbers in them and get the DIV/0! error is there an easy way
to correct this? My formula is set up as b3/c3 in d3 and then they want
column d to total at the bottom is this possible?

Thanks in advance for your help!
Renae

PCLIVE

Getting a DIV/0! error
 
Maybe this:

=IF(C3="","",B3/C3)

Regards,
Paul

--

"Renae" wrote in message
...
I am pretty new to excel so any advice will help! I am working on a fuel
spreadsheet, we do not always fuel everyday in all trucks so I have
several
cells with no numbers in them and get the DIV/0! error is there an easy
way
to correct this? My formula is set up as b3/c3 in d3 and then they want
column d to total at the bottom is this possible?

Thanks in advance for your help!
Renae




John C[_2_]

Getting a DIV/0! error
 
=IF(AND(C30,ISNUMBER(C3)),B3/C3,"")
Note, the "" is 2 double quotes. This will effectively leave the cell blank.

Hope this helps. If not, give a little more info, as you state ..column d to
total at the bottom..
--
John C


"Renae" wrote:

I am pretty new to excel so any advice will help! I am working on a fuel
spreadsheet, we do not always fuel everyday in all trucks so I have several
cells with no numbers in them and get the DIV/0! error is there an easy way
to correct this? My formula is set up as b3/c3 in d3 and then they want
column d to total at the bottom is this possible?

Thanks in advance for your help!
Renae


David Biddulph[_2_]

Getting a DIV/0! error
 
=IF(C3=0,"",B3/C3)
--
David Biddulph

"Renae" wrote in message
...
I am pretty new to excel so any advice will help! I am working on a fuel
spreadsheet, we do not always fuel everyday in all trucks so I have
several
cells with no numbers in them and get the DIV/0! error is there an easy
way
to correct this? My formula is set up as b3/c3 in d3 and then they want
column d to total at the bottom is this possible?

Thanks in advance for your help!
Renae




Renae

Getting a DIV/0! error
 

What they want for column d is a total of SUM=(D3:D35) right now with all
the DIV/0! errors nothing shows?!?!
"John C" wrote:

=IF(AND(C30,ISNUMBER(C3)),B3/C3,"")
Note, the "" is 2 double quotes. This will effectively leave the cell blank.

Hope this helps. If not, give a little more info, as you state ..column d to
total at the bottom..
--
John C


"Renae" wrote:

I am pretty new to excel so any advice will help! I am working on a fuel
spreadsheet, we do not always fuel everyday in all trucks so I have several
cells with no numbers in them and get the DIV/0! error is there an easy way
to correct this? My formula is set up as b3/c3 in d3 and then they want
column d to total at the bottom is this possible?

Thanks in advance for your help!
Renae


John C[_2_]

Getting a DIV/0! error
 
Use the formula I or either of the other 2 gave you, and copy down in that
column to where you need. This will get rid of DIV/0 errors, and your
summation should work.
--
John C


"Renae" wrote:


What they want for column d is a total of SUM=(D3:D35) right now with all
the DIV/0! errors nothing shows?!?!
"John C" wrote:

=IF(AND(C30,ISNUMBER(C3)),B3/C3,"")
Note, the "" is 2 double quotes. This will effectively leave the cell blank.

Hope this helps. If not, give a little more info, as you state ..column d to
total at the bottom..
--
John C


"Renae" wrote:

I am pretty new to excel so any advice will help! I am working on a fuel
spreadsheet, we do not always fuel everyday in all trucks so I have several
cells with no numbers in them and get the DIV/0! error is there an easy way
to correct this? My formula is set up as b3/c3 in d3 and then they want
column d to total at the bottom is this possible?

Thanks in advance for your help!
Renae


Renae

Getting a DIV/0! error
 
Thanks so much to all that replied!! It is working fine now!
Thanks again!
Renae

"John C" wrote:

=IF(AND(C30,ISNUMBER(C3)),B3/C3,"")
Note, the "" is 2 double quotes. This will effectively leave the cell blank.

Hope this helps. If not, give a little more info, as you state ..column d to
total at the bottom..
--
John C


"Renae" wrote:

I am pretty new to excel so any advice will help! I am working on a fuel
spreadsheet, we do not always fuel everyday in all trucks so I have several
cells with no numbers in them and get the DIV/0! error is there an easy way
to correct this? My formula is set up as b3/c3 in d3 and then they want
column d to total at the bottom is this possible?

Thanks in advance for your help!
Renae



All times are GMT +1. The time now is 04:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com