View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
michael walker michael walker is offline
external usenet poster
 
Posts: 2
Default Displaying a % as a number

Thanks, but I have found when I enter amount in column o i still get the
#div?0! message.

eg

--
Thanks
Michael


"Jarek Kujawa" wrote:

=IF(AND(O1=0,P1=0),0,IF(O10,O1/P1,""))

and format accordingly

On 21 Maj, 09:07, michael walker
wrote:
Hi, First post. I have 2009 sales data in column O and 2008 sales data column
P and the the following formula in column Q = O1/P1 as have formatted it as a
% to show an increase or decease

When the sales data in column o is 0 and p is 0 the result is #DIV/0!
When the sales data in column o is 0 and p is 0 the result is a %

I want the workbook to display a % when column o is 0

If both 0 & P are 0 i want a 0 to be displayed

I appreciate you help

Thanks
Michael