Previous Thread
Next Thread
Print Thread
#57259 04/18/18 04:21 PM
Joined: Feb 2008
Posts: 1,247
Adagio Maestro
Adagio Maestro
Joined: Feb 2008
Posts: 1,247
Can someone help me please with this gridview formula?

I was successful in this formula:

IF({Tax Group}= " ON",{GST/HST},0)

However, now I want to add if the tax group is ON OR QC.

IF({Tax Group}= " ON",
OR({Tax Group}= " QC",
{GST/HST},0)

But when I do this my evaluation fails. I've tried various ways to add the OR statement but I'm doing something wrong.


Susan Tennier
TDL Canada
Trenton, Ontario
Joined: Mar 1999
Posts: 10,504
Adagio Master
Adagio Master
Joined: Mar 1999
Posts: 10,504
Code:
IF(
   OR(
        {Tax Group}= " ON",
        {Tax Group}= " QC"
   ),
{GST/HST}
,
0)


Andrew Bates
Joined: Feb 2008
Posts: 1,247
Adagio Maestro
Adagio Maestro
Joined: Feb 2008
Posts: 1,247
Thanks!


Susan Tennier
TDL Canada
Trenton, Ontario

Moderated by  Softrak Support 

Link Copied to Clipboard
Who's Online Now
0 members (), 70 guests, and 2 robots.
Key: Admin, Global Mod, Mod
Forum Statistics
Forums5
Topics14,679
Posts71,625
Members1,874
Most Online1,408
Dec 9th, 2025
November
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Powered by UBB.threads™ PHP Forum Software 8.0.0