# Formula Syntax help

## Recommended Posts

Below is an if statement formula I am having trouble with. I get the error message "There are too few seperators in this function"

Can someone help me get the syntax correct?

Thank you.

##### Share on other sites

If (ShipMethod = "Ground",5.95+AddWeightCost,If (ShipMethod = "2Day",8.95+AddWeightCost2,If (ShipMethod="Overnight",14.95+AddWeightCost2 ,"Enter Ship Method")))

Should do it. What you are missing is telling it what to do if your ShipMethod doesn't equal any of the three options. You could actually change that last argument to be whatever you needed. Hope this helps.

##### Share on other sites

Hi,

There are several methods to use according to the size of your db.

1. A Case Statement is quicker than an If....

Switch to a Case statement

Case(ShipMethod = "Ground", 5,95+AddWeightCost, ShipMethod = "2Day", 8,95+AddWeightCost2, ShipMethod = "Overnight", 14,95+AddWeightCost2).

2. Working with text in calculation could be slower than number, and it seems than Choose is also quicker than Case.

Besides, if you were selecting the ShipMethod by a togglescript, this should be straightforward. You'll need an intermediate calc.

c_ShipMethod = Case(ShipMethod = "Ground", 1, ShipMethod = "2Day", 2, ShipMethod = "Overnight", 3, 0)

Then, the final formula would be :

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×

• ### Similar Content

• By Tumma K
Hello, All!

I am an aspiring developer for Filemaker. The company I work with is stuck in the past working off of Filemaker Pro 4.1

I was given the task of bringing us up to Filemaker Pro/Server 13. So far my conversion prototypes are successful but we recently had a layout issue that can only be fixed in versions 3-6 (as the file is an .fp3) I work off of a macbook while our network is all Windows 7. In order for me to repair the layouts without tampering our active database, I decided the best option is to repair a copy of our solutions off the network. Unfortunately, when I go to download the trial version of Filemaker Pro 6 off of the respected website, the file is corrupt! I've tried multiple times, with different extraction apps and in different directories.

My question is;

Does anyone know a place where I could obtain version 6 (or better yet, 4.0) for an OSX computer? I've looked everywhere!

Thank you for your time,
Tumma K.

• I'm hoping my question can have a happy ending. In the mid-90's, I purchased Filemaker 3. When Filemaker 5.5 Pro was released, I bought the update CD, which requires the user to either have FM 3 installed or to have the installation CD for FM 3. I've used it all these years, most recently with Windows XP Pro, and it has worked just fine. The databases I began with were long ago converted to FM Pro 5.5 databases.

I'm still using FM Pro 5.5 on a laptop with WinXP Pro, but in 2013, I purchased a PC with Windows 8. I haven't been able to install FM 3 on it, therefore can't install FM Pro 5.5. I am retired and rarely use Filemaker, but I have a few Filemaker databases I'd like to add to my Win 8 machine. I don't feel it's worth upgrading FM for the sake of using a couple of databases.

Has anyone else run into this situation and/or have a (possible) solution? Is there perhaps any other software that can read FM 5.5 databases? Thanks in advance for your help.

• By bmill
I am using a custom filemaker solution for medical office billing written with fp5 running on a mac with snow leopard. In addition, I have a patient management db (which I wrote) that is linked through pt. ID number to the billing program allowing transfer of some demographic information (name, DOB, etc).

Other than being limited by hardware restrictions, the billing program serves our needs for now and upgrading to fp12 will take some time (and money).  In the meantime, I am upgrading my pt. management program to fp13 and would like to move new patient demographic information from the billing program ( fp5 running on snow leopard through Parallels) and the new pt management program ( fp13 running on OS X 10.9) on the same mac.

Ideally, demographic information would be entered once into fp5 and then a scipt would make the data available for fp13.

Any ideas on how to make this work?

• Hi, can anyone tell me why my on-line database might have stopped allowing me to delete records?  All of my access privileges and passwords are correct.

thanks!

• Hi, I still use filemaker 5.5 and am very happy with it and don't want to upgrade.  Does anyone still host filemaker 5.5?  Thanks!
×
×
• Create New...

## Important Information

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