#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default #DIVI/0 issue

I have using the following formula in column Y.
=IF(X26="","",IF(X26<0,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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
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(X26<0,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?

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
big issue pierre Excel Discussion (Misc queries) 2 February 20th 09 09:03 AM
SUM Issue.. HELP Setting a Mileage Expense Report[_2_] Excel Discussion (Misc queries) 4 November 15th 07 06:49 PM
Sum Issue Help! [email protected] Excel Discussion (Misc queries) 3 January 24th 07 08:30 PM
Issue [email protected] Excel Discussion (Misc queries) 1 July 21st 06 05:13 AM
please help with this issue Overbey New Users to Excel 6 January 4th 05 05:02 PM


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