Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Hi. I am trying to use an If command to change VAT (Tax) from 17.5% to 15%. I have at the moment:

If(Order Date > 01/12/2008,Line Totals*15/100,Line Totals*17.5/100)

I want to say: If the date is after 01/12/2008 then use 15% as the VAT addition; if not use 17.5%.

Could somebody help me please. Many thanks. Roger

If(

Order Date > Date ( 12 , 1 , 2008 ) , Line Totals * 15/100 ,

Line Totals * 17.5/100

)

Note that this calc is for 6 !

  • Author

Thanks very much, Daniele. I will try that. Best wishes. Roger.

This is not a good approach overall. Tax rate is data, not part of the schema; it should be looked up from a preference, not hard-coded into a calculation.

For what its worth - minor point - in UK VAT is rounded down to nearest whole penny too...

Hope this helps

Simon

  • Author

Hi. "from a preference". I'm not an expert. Do you mean to put the VAT values in a separate table and look them up and select at the time of writing the invoice? Would appreciate any advice as is for a Charity. Thanks. Roger.

Yes, more or less. For a single user, this could be in a global field, but for a hosted solution a separate Preferences table with a single record is preferable.

  • Author

Hi again. I'm afraid tha I cannot get your formula to work. Can I use 12/01/2008 as the date format? Or need to put ,. Is If( on the first line alone? Any help really appreciated. Thanks. Roger

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.