Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Kuda
 
Posts: n/a
Default How to streamline this Formula?


I was wondering if it is possible to make this query less longwinded?

=(IF(D170,(((A1-C17)/(A1/D17))+C17))+IF(E170,((A1-(((A1-C17)/(A1/D17))+C17))/(A1/E17))))+IF(F170,(A1-(((A1-C17)/(A1/D17)+((A1-(((A1-C17)/(A1/D17))+C17))/(A1/E17)))+C17))/(A1/F17))


A1= max value
C17=base value
D17,E17,F17= variable value's

I've been working on the Value for a Calc for a game I've been playing
lately.
I'm using it to work out damage resistances but I feel the formula
could be streamlined but for the life of me my brain has gone blank.
Example:
A1=100
C17 = 60
for arguments sake lets say D17, E17 and F17 are all = 30
the formula would get the max percentage and work out what the boosts
would be for each variable based on the difference between the max
value and the base value.
The answer given by the formula above for this would be 86.28

Does anyone know if there is a way to streamline the Formula? without
obviously using extra cells to store hidden values.

Rgds,
Kuda


--
Kuda
------------------------------------------------------------------------
Kuda's Profile: http://www.excelforum.com/member.php...o&userid=31242
View this thread: http://www.excelforum.com/showthread...hreadid=509274

  #2   Report Post  
Posted to microsoft.public.excel.misc
John Lyons
 
Posts: n/a
Default How to streamline this Formula?

1 What result are you expecting if <0 or =0? Your formula could return #NA!
Are trying to spread a value across periods?

"Kuda" wrote:


I was wondering if it is possible to make this query less longwinded?

=(IF(D170,(((A1-C17)/(A1/D17))+C17))+IF(E170,((A1-(((A1-C17)/(A1/D17))+C17))/(A1/E17))))+IF(F170,(A1-(((A1-C17)/(A1/D17)+((A1-(((A1-C17)/(A1/D17))+C17))/(A1/E17)))+C17))/(A1/F17))


A1= max value
C17=base value
D17,E17,F17= variable value's

I've been working on the Value for a Calc for a game I've been playing
lately.
I'm using it to work out damage resistances but I feel the formula
could be streamlined but for the life of me my brain has gone blank.
Example:
A1=100
C17 = 60
for arguments sake lets say D17, E17 and F17 are all = 30
the formula would get the max percentage and work out what the boosts
would be for each variable based on the difference between the max
value and the base value.
The answer given by the formula above for this would be 86.28

Does anyone know if there is a way to streamline the Formula? without
obviously using extra cells to store hidden values.

Rgds,
Kuda


--
Kuda
------------------------------------------------------------------------
Kuda's Profile: http://www.excelforum.com/member.php...o&userid=31242
View this thread: http://www.excelforum.com/showthread...hreadid=509274


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
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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

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"