#1   Report Post  
Posted to microsoft.public.excel.misc
enyaw
 
Posts: n/a
Default if or formula

I need help getting this formula to work. Can anyone help?
=OR(IF(((I16/F16)*J16=0),"-",((I16/F16)*J16)),IF(ISERROR((I16/F16)*J16),"-",((I16/F16)*J16)))
If the formula outputs a zero or an error value I need the value of the cell
to be outputted as "-".
  #2   Report Post  
Posted to microsoft.public.excel.misc
Stefi
 
Posts: n/a
Default if or formula

I think you mean this:
=IF(OR(ISERROR((I16/F16)*J16),(I16/F16)*J16=0),"-",(I16/F16)*J16)
But watch out! It still doesn't treat zero dividor (if F16=0)!

Regards,
Stefi


€˛enyaw€¯ ezt Ć*rta:

I need help getting this formula to work. Can anyone help?
=OR(IF(((I16/F16)*J16=0),"-",((I16/F16)*J16)),IF(ISERROR((I16/F16)*J16),"-",((I16/F16)*J16)))
If the formula outputs a zero or an error value I need the value of the cell
to be outputted as "-".

  #3   Report Post  
Posted to microsoft.public.excel.misc
macropod
 
Posts: n/a
Default if or formula

Hi enyaw,

Try:
=IF(OR(ISERROR(I16*J16/F16),I16*J16/F16=0),"-",I16*J16/F16)

--
macropod
[MVP - Microsoft Word]


"enyaw" wrote in message
...
I need help getting this formula to work. Can anyone help?

=OR(IF(((I16/F16)*J16=0),"-",((I16/F16)*J16)),IF(ISERROR((I16/F16)*J16),"-",
((I16/F16)*J16)))
If the formula outputs a zero or an error value I need the value of the

cell
to be outputted as "-".



  #4   Report Post  
Posted to microsoft.public.excel.misc
enyaw
 
Posts: n/a
Default if or formula

This formula does not let me insert a "-" in the cell if the formula =0. I
need the cells to be empty if the formula = 0 because i need to do an average
of the cells after it.

"macropod" wrote:

Hi enyaw,

Try:
=IF(OR(ISERROR(I16*J16/F16),I16*J16/F16=0),"-",I16*J16/F16)

--
macropod
[MVP - Microsoft Word]


"enyaw" wrote in message
...
I need help getting this formula to work. Can anyone help?

=OR(IF(((I16/F16)*J16=0),"-",((I16/F16)*J16)),IF(ISERROR((I16/F16)*J16),"-",
((I16/F16)*J16)))
If the formula outputs a zero or an error value I need the value of the

cell
to be outputted as "-".




  #5   Report Post  
Posted to microsoft.public.excel.misc
Stefi
 
Posts: n/a
Default if or formula

Maybe this is what you want:
=IF(ISERR((I16/F16)*J16),"",(I16/F16)*J16)
Regards,
Stefi


€˛enyaw€¯ ezt Ć*rta:

This formula does not let me insert a "-" in the cell if the formula =0. I
need the cells to be empty if the formula = 0 because i need to do an average
of the cells after it.

"macropod" wrote:

Hi enyaw,

Try:
=IF(OR(ISERROR(I16*J16/F16),I16*J16/F16=0),"-",I16*J16/F16)

--
macropod
[MVP - Microsoft Word]


"enyaw" wrote in message
...
I need help getting this formula to work. Can anyone help?

=OR(IF(((I16/F16)*J16=0),"-",((I16/F16)*J16)),IF(ISERROR((I16/F16)*J16),"-",
((I16/F16)*J16)))
If the formula outputs a zero or an error value I need the value of the

cell
to be outputted as "-".






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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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