I've created a database of rainfall records going back to 1867, and most entries are numeric. However, some are missing ("M" is value given) and some are "trace" ("TR" is value given).
I can set the data type as text, but lose the ability to sum columns and sorting is alphanumeric, not numeric, which gives wonky results in this case. If I set it as numeric, then I can sum columns but lose the real value of the entries Missing or Trace, which is NOT the same as zero.
How can I set this up so I can sum the rain totals but still show the true entries for Missing and Trace values in the result table cells? Is it possible? Is there a formula to use to make this happen? I've done it in Excel using SUMIFS formulas, but not having any luck in the database table universe.
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.
Question
WestTexasKen
Hello,
I've created a database of rainfall records going back to 1867, and most entries are numeric. However, some are missing ("M" is value given) and some are "trace" ("TR" is value given).
I can set the data type as text, but lose the ability to sum columns and sorting is alphanumeric, not numeric, which gives wonky results in this case. If I set it as numeric, then I can sum columns but lose the real value of the entries Missing or Trace, which is NOT the same as zero.
How can I set this up so I can sum the rain totals but still show the true entries for Missing and Trace values in the result table cells? Is it possible? Is there a formula to use to make this happen? I've done it in Excel using SUMIFS formulas, but not having any luck in the database table universe.
Thanks,
Ken Grimm - Online Director for gosanangelo.com
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
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.