A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

#DIVI/0 issue



 
 
Thread Tools Display Modes
  #1  
Old March 18th, 2009, 04:49 PM posted to microsoft.public.excel.worksheet.functions
Kesbutler
external usenet poster
 
Posts: 17
Default #DIVI/0 issue

I have using the following formula in column Y.
=IF(X26="","",IF(X260,X26/P26,IF(X26=0,"-")))

If P26 is zero I need the percent in column Y to show at 100%, but I can't
seem to get that if statement to right. Any ideas?
  #2  
Old March 18th, 2009, 05:01 PM posted to microsoft.public.excel.worksheet.functions
Luke M
external usenet poster
 
Posts: 2,672
Default #DIVI/0 issue

=IF(X26="","",IF(P26=0,1,IF(X26=0,"-",X26/P26)))

I'm assuming you already have the cell formatted as percentage.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Kesbutler" wrote:

I have using the following formula in column Y.
=IF(X26="","",IF(X260,X26/P26,IF(X26=0,"-")))

If P26 is zero I need the percent in column Y to show at 100%, but I can't
seem to get that if statement to right. Any ideas?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:53 PM.


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