Tagged with if_statements - Visokio Forums http://forums.visokio.com/discussions/tagged/if_statements/feed.rss Mon, 30 Oct 17 16:12:22 -0400 Tagged with if_statements - Visokio Forums en-CA Formulae: bracketing values using IF logic? http://forums.visokio.com/discussion/2754/formulae-bracketing-values-using-if-logics Wed, 05 Nov 2014 17:36:21 -0500 kantia8 2754@/discussions i.e.: if the value of [Field1] is >10 and <20, then the value is changed to something like "Page2" in the [Formula Field1]<br />
I know how to use the operators "=", ">" and "<", but I don't know how to do in between. I looked at the bucket function, but that seems to only work for dates and not other field types?]]>
Formulae: Two conditions in an IF statement using AND? http://forums.visokio.com/discussion/2293/formulae-two-conditions-in-an-if-statement-using-ands Mon, 19 Aug 2013 16:21:41 -0400 amitbdesai 2293@/discussions I want to put two condtions on these values like [TotalCommission]>0 and [TotalSales]>0 in IF statement.
How can I do this question becausI am placing "AND" between this two statement but this does not work.

My current formula looks like:

IF(([GrossTotalCommission]>0 AND [GrossTotalSales]>0),([GrossTotalCommission]/[GrossTotalSales]),(SUM([CJTotalCommission]+[PPJTotalCommission]+[IRTotalFee]+[AdditionalFeeVertive]+[AdditionalFeeDarren])/([CJOrders]+[IROrders]+[PPJOrders]))

EWhat can I add or improve to this statement to get result?

Any help appreciate. Thanks a lot in advance.
Amit]]>
Formulae: Conditional values? http://forums.visokio.com/discussion/2278/formulae-conditional-valuess- Fri, 09 Aug 2013 12:30:30 -0400 amitbdesai 2278@/discussions
Now the condition is like:
If Sales > 0 then I want to could leads based on sales value.
The resulting values will be inserted in [Leads] column.
Basically, how to put condition to get desired value or column?

I hope this information is enough for you and if you need more specific or something else just let me know so i can provide to ASAP. Thanks in advance for your help.]]>
Formulae: Use value as a parameter? http://forums.visokio.com/discussion/1976/formulae-use-value-as-a-parameters Wed, 09 Jan 2013 08:01:16 -0500 MartijnVisser 1976@/discussions
Amount | Condition | Result
145000 | <150000 | 0,30<br />145000 | >150000 | 0,20

I'm trying to achieve the following IF statement:

IF(
Amount < 150000, Amount * Result
Amount > 150000, (Amount-150000) * Result
0
)

Is it possible to declare/use the value in the condition field as a a condition in the IF statement?

Best, Martijn]]>
Formula IF() with Null Values in text field http://forums.visokio.com/discussion/1038/formula-if-with-null-values-in-text-field Thu, 06 Oct 2011 12:44:50 -0400 Focus_Media 1038@/discussions
Steps to reproduce:

Create on new iok with 3 text fields: (Original, ChangedByUser, Formula)

Change field Formula and define this formula:
=IF(ChangedByUser="", Original, ChangedByUser)

If I write some text in the Original column, it should be shown in the Formula Field.

This worked fine until I installed yesterday last version.

Now, the condition (ChangedByUser="") ==> Is always False!!!

I think there are a little bit problem with Null/Empty values in a text field.

Because I didn't find a 'function' like IsNull(Value), i had to change the formula to:

=IF(("" & ChangedByUser)="", Original, ChangedByUser)

And then, it works fine... but I need to change a lot of formulas like this!

I think should be a 'function' IsNull(value) or IsEmpty(value), to avoid this problem.

Regards
]]>
Value Banding http://forums.visokio.com/discussion/140/value-banding Fri, 03 Jul 2009 11:05:02 -0400 bfromson 140@/discussions
This can be solved inelegantly with a formula field and a lot of nested if functions. It would be useful to have some form of case statement/function that would make this more elegant.]]>