Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 259
Default Returning 100%

Hi all

Am try to get the following to give me 1 of 3 productivity outputs.

=If(C2=B2,100,IF(C2<B2,(C2/B2)),0)

So If:

"Actual" = "Planned" then = 100%
* "Actual" "Planned" then = Calculated %
** "Actual" < "Planned" then = Calculated %

*This should also calculate so that if it exceeds 100% it reflects eg 150%
ets...

** I was kind of hoping that lets say if 10 is planned and 0 is the days
outcome, I would like it to reflect a -100% although I'm not sure it is
possible to calculate a negative percentile.

Column A = Day
Column B = Planned
Column C = Actual
Column D = %Actual

Mon - 10 - 10 - 100%
Tue - 20 - 10 - 50%
Wed - 10 - 20 - 200%
Thu - 10 - 0 - 0 ( -100% prefered )

TIA
Mick.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 259
Default Returning 100%

Cancel that request.

For those interested, I worked out the following

=IF(C4=0,0,IF(C4B4,(C4*100),PRODUCT(C4,1/B4)*100))

Cheers
Mick.


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
returning a sum value kyoko Excel Discussion (Misc queries) 2 September 15th 09 08:47 AM
Returning the value Returning the value Excel Discussion (Misc queries) 2 June 13th 09 07:59 AM
UDF from Add-In returning #NAME ryan Excel Worksheet Functions 0 March 5th 08 08:35 PM
Returning an age Neil Excel Discussion (Misc queries) 13 September 7th 07 02:22 AM
Returning a 0 Value Steved Excel Worksheet Functions 3 July 29th 05 02:44 AM


All times are GMT +1. The time now is 10:12 AM.

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"