Go Back   EN World D&D / RPG News

View Single Post
Old 27th August 2008, 03:41 AM   #103 (permalink)
Yarthok
Registered User
 
Join Date: Apr 2008
Posts: 15
Yarthok Goblin Sharpshooter (Lvl 2)
Quote:
Originally Posted by infocynic View Post
The right way to do it then, Yarthok, is to use custom formatting on these cells.... and I realize this isn't your problem per se, but in Excel, we can set custom formatting on the cells, so I can give this string
Code:
+#0;-#
and it will give me +X if X is 0 or more and -X if X is negative. (It's also possible to get a third format in for exactly 0, but I didn't see the need here).
Thanks Infocynic! The same format method works in OOCalc. The result is as you described with the display showing a plus sign, but the value can be used directly in numeric calculations in other cells.

As a cascading side effect, my test change to SkillInsight caused cell $'Charsheet I'.CN15 to incorrectly show blank. However, the fix was to simplify CN15 to use SkillInsight directly.

I changed the following:

Code:
$'Charsheet I'.AR73 (SkillInsight)
FROM ==> =IF(F73+B73+J73+N73+R73+V73+Z73+AD73>0;"+"&F73+B73+J73+N73+R73+V73+Z73+AD73;F73+B73+J73+N73+R73+V73+Z73+AD73)
TO ==>   =IF(F73+B73+J73+N73+R73+V73+Z73+AD73>0;F73+B73+J73+N73+R73+V73+Z73+AD73;F73+B73+J73+N73+R73+V73+Z73+AD73)
CELL FORMAT CODE CHANGED TO ==> +#0;-#
VALUE DISPLAYED ==> +5
 
$'Charsheet I'.CU15 (PassiInsight)
FROM ==>          =10+VALUE(SkillInsight)
RESTORED TO ==>   =10+SkillInsight
VALUE DISPLAYED ==> 15
 
$'Charsheet I'.CN15 
FROM ==> =MID(SkillInsight;2;2)
TO ==>   =SkillInsight
VALUE DISPLAYED ==> 5
I will start to come up with a list of cells that might benefit from using your suggested formatting and report back... probably this weekend.
Yarthok is offline   Reply With Quote
 

And yet another word from our sponsors
Visit Our Sponsors
Visit Our Sponsors... Again
Powered by vBadvanced CMPS v3.0.1

All times are GMT +1. The time now is 11:15 PM.


Site Contents © 2008 ENWorld
PHP Ajax Multimedia Web Framework © 2008 Digital Media Graphix
Powered by vBulletin® Version 3.8.0 Beta 1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

"Vault Data" powered by VaultWiki v2.5.1.
Copyright © 2008 - 2009, Cracked Egg Studios.