Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 82
Default what IF - formula question

=IF(G43=0,"",sum(hH43/G32)).
This will avoid division by zero so #DIV/0 will not appear.
Also if you want to drag the formula, I think you should use fixed reference
($G$32) instead of relative reference (G43).

"Gene" wrote in message
...
Sorry for the multiple posts. Twice a window opened when I clicked post
and
said there was an error and it did not post. again sorry.
--
Gene


"Gene" wrote:

What IF formula question. My cell has a formula in it =sum(H43/G43). I
want this cell blank If the result is not a percentage (the cell has
been
formatted to be a %). When I drag the formula to many other cells some
of
them are #DIV/O! and I want those cells to be blank.

I cant figure out how to do this. Thanks for your time and help!

--
Gene


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 100
Default what IF - formula question

What IF formula question. My cell has a formula in it =sum(H43/G43). I
want this cell blank If the result is not a percentage (the cell has been
formatted to be a %). When I drag the formula to many other cells some of
them are #DIV/O! and I want those cells to be blank.

I cant figure out how to do this. Thanks for your time and help!

--
Gene
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 100
Default what IF - formula question

Sorry for the multiple posts. Twice a window opened when I clicked post and
said there was an error and it did not post. again sorry.
--
Gene


"Gene" wrote:

What IF formula question. My cell has a formula in it =sum(H43/G43). I
want this cell blank If the result is not a percentage (the cell has been
formatted to be a %). When I drag the formula to many other cells some of
them are #DIV/O! and I want those cells to be blank.

I cant figure out how to do this. Thanks for your time and help!

--
Gene

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default what IF - formula question

But the SUM function is not needed
=IF(G43=0,"",H43/G32).

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Rasoul Khoshravan" wrote in message
...
=IF(G43=0,"",sum(hH43/G32)).
This will avoid division by zero so #DIV/0 will not appear.
Also if you want to drag the formula, I think you should use fixed
reference ($G$32) instead of relative reference (G43).

"Gene" wrote in message
...
Sorry for the multiple posts. Twice a window opened when I clicked post
and
said there was an error and it did not post. again sorry.
--
Gene


"Gene" wrote:

What IF formula question. My cell has a formula in it =sum(H43/G43).
I
want this cell blank "" If the result is not a percentage (the cell has
been
formatted to be a %). When I drag the formula to many other cells some
of
them are #DIV/O! and I want those cells to be blank.

I can't figure out how to do this. Thanks for your time and help!

--
Gene




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 100
Default what IF - formula question

except I need the G43=0 to include + & - results. I only need #div/0! to be
shown as nothing.

--
Gene


"Bernard Liengme" wrote:

But the SUM function is not needed
=IF(G43=0,"",H43/G32).

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Rasoul Khoshravan" wrote in message
...
=IF(G43=0,"",sum(hH43/G32)).
This will avoid division by zero so #DIV/0 will not appear.
Also if you want to drag the formula, I think you should use fixed
reference ($G$32) instead of relative reference (G43).

"Gene" wrote in message
...
Sorry for the multiple posts. Twice a window opened when I clicked post
and
said there was an error and it did not post. again sorry.
--
Gene


"Gene" wrote:

What IF formula question. My cell has a formula in it =sum(H43/G43).
I
want this cell blank "" If the result is not a percentage (the cell has
been
formatted to be a %). When I drag the formula to many other cells some
of
them are #DIV/O! and I want those cells to be blank.

I can't figure out how to do this. Thanks for your time and help!

--
Gene





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
Find value in array Brook6 Excel Worksheet Functions 26 January 30th 07 09:40 PM
Formula question goodolehuskers Excel Worksheet Functions 1 July 19th 06 11:10 PM
Repeating Formula Question THSaldivar Excel Discussion (Misc queries) 1 July 3rd 06 03:36 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM


All times are GMT +1. The time now is 04:48 PM.

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

About Us

"It's about Microsoft Excel"