LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default How do I create 2 formulas that faily more eloquently?

Do it this way:

=if(or(a1=0,b1=0),"",yourformula)

Regards,
Fred.

"FrozenRope" wrote in message
...
I have a spreadsheet where I am trying to calculate the profit margin of
individual products. In some cases I have all of the figures I require. In
other cases I am missing values (e.g. price or cost) and generate data is
does not error well.

Can you suggest formulas or method to have missing data error more
eloquently for the last 2 use cases below??

Price | Cost | Margin | % Margin
---------------------------------------
$100 $60 $40 40%
$0 $60 $-60 #DIV/0!
$100 $0 $40 100%

Any help you can offer is greatly appreciated!


 
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
CREATE AND IF FORMULAS fyrefox Excel Worksheet Functions 3 April 22nd 07 04:50 PM
create if formulas Lost in Excel Land Excel Worksheet Functions 1 June 30th 06 10:46 PM
Using Concatenate to create formulas? Thor Excel Discussion (Misc queries) 3 October 2nd 05 01:31 PM
How can formulas be used to create another formula? Geag Excel Discussion (Misc queries) 4 July 29th 05 09:51 AM
create links for formulas weclean Excel Worksheet Functions 0 April 4th 05 10:09 PM


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