#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
belliotb
 
Posts: n/a
Default divide by zero

i have 2 cells: f4 and f8 on status spreadsheet. they may not be populated,
(have a value in the cell), all the time. need a formula that will calculate
when only both of them are populated. and not return a #div/0!, divide by
zero error. when neither or only one of those cells are populated
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary
 
Posts: n/a
Default divide by zero

=If(and(F40,F80),(F4/F8),"")

try this...I think it would do what you want.

"belliotb" wrote in message
...
i have 2 cells: f4 and f8 on status spreadsheet. they may not be populated,
(have a value in the cell), all the time. need a formula that will
calculate
when only both of them are populated. and not return a #div/0!, divide by
zero error. when neither or only one of those cells are populated



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default divide by zero

belliotb wrote:
i have 2 cells: f4 and f8 on status spreadsheet. they may
not be populated, (have a value in the cell), all the time.
need a formula that will calculate when only both of them
are populated. and not return a #div/0!, divide by zero error,
when neither or only one of those cells are populated


=if(or(f4="", f8="", f8=0), "", f4/f8)

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
belliotb
 
Posts: n/a
Default divide by zero

To everyone - Thank you very much. Was running out of time to have my status
sheet ready for todays afternoon meeting. Was being pulled in to many
directions to get my thought processes coordinated. Thanks again! ! !

" wrote:

belliotb wrote:
i have 2 cells: f4 and f8 on status spreadsheet. they may
not be populated, (have a value in the cell), all the time.
need a formula that will calculate when only both of them
are populated. and not return a #div/0!, divide by zero error,
when neither or only one of those cells are populated


=if(or(f4="", f8="", f8=0), "", f4/f8)


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 do you divide two cells in a pivot table to equal a %? Annette Excel Worksheet Functions 0 April 25th 06 08:44 PM
how do I Divide "/" a row of cells by another row of cells? oxicottin Excel Worksheet Functions 5 February 21st 06 06:22 PM
how do i subtract and divide crystal Excel Worksheet Functions 1 October 24th 05 10:01 PM
subtract and divide crystal Excel Worksheet Functions 1 October 24th 05 08:22 PM
Divide one row over other row I dont wont to divide one number Rick Excel Discussion (Misc queries) 0 March 4th 05 07:13 PM


All times are GMT +1. The time now is 09:18 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"