en
Welcome Guest! To enable all features please Login or Register.
Options
Go to last post Go to first unread
Morten  
#1 Posted : Friday, July 12, 2013 1:52:26 PM(UTC)
Morten
Rank: Advanced Member

Groups: extranet\Forum
Joined: 7/9/2013(UTC)
Posts: 39

Hi.

In several analyzes I've made a manual calculation of index number (ColoumnA/ColoumnB*100).
Hvorever when there i no value in ColoumnB it returns "Beregningsfejl" (calculation error). Can I remove this somehow and just leave it blank?

Thank you.
David L. Bojsen  
#2 Posted : Sunday, July 14, 2013 9:36:07 PM(UTC)
David L. Bojsen
Rank: Advanced Member

Groups: extranet\Forum
Joined: 3/21/2013(UTC)
Posts: 19

mbo@envidan.dk wrote:
Hi.

In several analyzes I've made a manual calculation of index number (ColoumnA/ColoumnB*100).
Hvorever when there i no value in ColoumnB it returns "Beregningsfejl" (calculation error). Can I remove this somehow and just leave it blank?

Thank you.


Hi Morten

You can accomplish this by using if-then-else:
if ColoumnB = 0 then 0 else ColoumnA/ColoumnB*100

Hope this solves your problem.
Venlig hilsen / Best regards

David L. Bojsen
Kapacity A/S

UserPostedImage

Any statement made by me in this forum represents my own opinion and state of mind, and is not necessarily related to or representative of my employer Kapacity A/S.
Morten  
#3 Posted : Monday, July 29, 2013 9:20:23 AM(UTC)
Morten
Rank: Advanced Member

Groups: extranet\Forum
Joined: 7/9/2013(UTC)
Posts: 39

Yes, thank you very much.
Users browsing this topic
Anonymous
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error