Forum Discussion
QuickBaseCoachD
10 years agoQrew Captain
no problem
The formula for a formula date field would be
IF(not IsNull([Date B]),[Date B],[Date A])
The formula for a formula date field would be
IF(not IsNull([Date B]),[Date B],[Date A])
- AmberPollard9 years agoQrew Assistant CaptainHmm, I used this formula exactly and I'm getting the error: Formula error -- Bad or missing arguments in function call
- If(not IsNull([Date]),[Date],[Date Modified])
Thanks! - QuickBaseCoachD9 years agoQrew Captain
- If(not IsNull([Date]),[Date],ToDate([Date Modified]))
- AmberPollard9 years agoQrew Assistant CaptainD'oh! Thank you!
- AnnSwelgin9 years agoQrew TraineeHow would I setup the formula if I want Date B unless Date B is blank then I want Date A. In my case it is a field called District.
If(not IsNull([Related Customer (Referrals Only) - Lead - District]),[Related Customer (Referrals Only) - Lead - District],[District])
I used this and it works great when t[Related Customer (Referrals Only) - Lead - District] is blank but I also want [Related Customer (Referrals Only) - Lead - District] to show up in my formula field when [Related Customer (Referrals Only) - Lead - District] is not blank.
Thank you for any help. - QuickBaseCoachD9 years agoQrew CaptainI'm confused by your question. What field type us the field you are testing.
If it is a text field then testing for IsNull will not work
You need to test for [ My Field]. = ""
Ie test if equal to empty quotes. - AnnSwelgin9 years agoQrew TraineeDistrict is a formula field on the Lead. and Related Customer (Referrals Only) - Lead - District is a lookup field to the district field of the Customer that referred the Lead.
- QuickBaseCoachD9 years agoQrew CaptainOK.. IsNull does is not meant to work and does not work to test text fields for being blank. So try my suggestion.
- AnnSwelgin9 years agoQrew Traineethe is null part is working.
the second part I need is that I want the data in the Related Customer (Referrals Only) - Lead - District to be the "default". Essentially I want:
[Related Customer (Referrals Only) - Lead - District]
OR
If(not IsNull([Related Customer (Referrals Only) - Lead - District]),[Related Customer (Referrals Only) - Lead - District],[District]) - QuickBaseCoachD9 years agoQrew Captainis this what you want?
If(
[Related Customer (Referrals Only) - Lead - District] <>"", [Related Customer (Referrals Only) - Lead - District],
[District]) - AnnSwelgin9 years agoQrew TraineeYOU ARE THE BEST! yes that is exactly it.