#1   Report Post  
Posted to microsoft.public.excel.misc
Jack
 
Posts: n/a
Default I get #DIV/0!

I am trying to get numbers in column I to reflect 0 if H$14 adds up to 0.

The cell H$14 is actually =SUM(H7:H13)

So, in cell I7 I enter =IF(H$14="0","0",H7/H$14)

However, I get #DIV/0! in I7 even though H$14 sums to 0. I thought that's
the case is because H$14 is not actually 0 but a formula, but that's still
the case even if I replace the formula with a 0.

Help!

Thanks.

Jack


  #2   Report Post  
Posted to microsoft.public.excel.misc
Michael M
 
Posts: n/a
Default I get #DIV/0!

Hi Jack
Take the inverted comma's out the formula

=IF(H$14=0,0,H7/H$14)

HTH
Michael

"Jack" wrote:

I am trying to get numbers in column I to reflect 0 if H$14 adds up to 0.

The cell H$14 is actually =SUM(H7:H13)

So, in cell I7 I enter =IF(H$14="0","0",H7/H$14)

However, I get #DIV/0! in I7 even though H$14 sums to 0. I thought that's
the case is because H$14 is not actually 0 but a formula, but that's still
the case even if I replace the formula with a 0.

Help!

Thanks.

Jack



  #3   Report Post  
Posted to microsoft.public.excel.misc
Jack
 
Posts: n/a
Default I get #DIV/0!

Michael --

That did it!

I guess you use the quotes only if referring to text.

Thanks!

Jack




"Michael M" wrote in message
...
Hi Jack
Take the inverted comma's out the formula

=IF(H$14=0,0,H7/H$14)

HTH
Michael

"Jack" wrote:

I am trying to get numbers in column I to reflect 0 if H$14 adds up to 0.

The cell H$14 is actually =SUM(H7:H13)

So, in cell I7 I enter =IF(H$14="0","0",H7/H$14)

However, I get #DIV/0! in I7 even though H$14 sums to 0. I thought that's
the case is because H$14 is not actually 0 but a formula, but that's still
the case even if I replace the formula with a 0.

Help!

Thanks.

Jack





  #4   Report Post  
Posted to microsoft.public.excel.misc
Michael M
 
Posts: n/a
Default I get #DIV/0!

That's correct.....Quotes for text, nothing for numbers

Michael M

"Jack" wrote:

Michael --

That did it!

I guess you use the quotes only if referring to text.

Thanks!

Jack




"Michael M" wrote in message
...
Hi Jack
Take the inverted comma's out the formula

=IF(H$14=0,0,H7/H$14)

HTH
Michael

"Jack" wrote:

I am trying to get numbers in column I to reflect 0 if H$14 adds up to 0.

The cell H$14 is actually =SUM(H7:H13)

So, in cell I7 I enter =IF(H$14="0","0",H7/H$14)

However, I get #DIV/0! in I7 even though H$14 sums to 0. I thought that's
the case is because H$14 is not actually 0 but a formula, but that's still
the case even if I replace the formula with a 0.

Help!

Thanks.

Jack






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to replace div/0 with a zero Jimbo43 Excel Discussion (Misc queries) 7 February 28th 06 06:57 PM
#DIV/0! query Brento Excel Discussion (Misc queries) 1 February 1st 06 12:58 AM
How to hide #DIV/0! in cells waiting for input? Pheasant Plucker® Excel Discussion (Misc queries) 4 January 26th 06 05:30 PM
replace "#DIV/0!" error with blanks Mark B Excel Worksheet Functions 0 June 22nd 05 11:19 AM
# DIV/0! error in Excel Helpwanted Excel Discussion (Misc queries) 8 May 6th 05 10:31 PM


All times are GMT +1. The time now is 12:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"