Dec 04, 2018 02:44 PM
How do I create a formula to add only the year in primary column? I am using Datetime_Format (Date, ‘YYYY’)
Dec 04, 2018 02:57 PM
It looks like you are using the correct formula. If you primary field is a Formula field, then it should look like this when properly formatted in the field options:
DATETIME_FORMAT(Date,'YYYY')
Dec 05, 2018 01:36 AM
You also have the YEAR()
function, simpler.
Dec 05, 2018 03:48 AM
Do I just enter it into the formula as YEAR ()?
Dana Hiatt, LPC
Licensed Professional Counselor
Mitigation Specialist
2025 Jefferson Oaks Dr
Rural Hall, NC 27045
M (336) 986-2257
F (704) 220-0694
danaahiatt@gmail.com
This electronic mail transmission may contain information that is confidential, privileged, proprietary, or otherwise legally exempt from disclosure. If you are not the intended recipient, you are hereby notified that you are not authorized to read, print, retain, copy or disseminate this message, any part of it, or any attachments. If you have received this message in error, please delete this message and any attachments from your system without reading the content and notify the sender immediately of the inadvertent transmission. There is no intent on the part of the sender to waive any privilege that may attach to this communication. Thank you for your cooperation.
Dec 05, 2018 04:20 AM
When I put in Year () or DATETIME_FORMAT(Date,'YYYY’). I get #ERROR! for the entire column. It will not let me add anything to the cells in the column. Do you have any idea what I am doing wrong?
Thank you for your help,
Dana
Dana Hiatt, LPC
Licensed Professional Counselor
Mitigation Specialist
2025 Jefferson Oaks Dr
Rural Hall, NC 27045
M (336) 986-2257
F (704) 220-0694
danaahiatt@gmail.com
This electronic mail transmission may contain information that is confidential, privileged, proprietary, or otherwise legally exempt from disclosure. If you are not the intended recipient, you are hereby notified that you are not authorized to read, print, retain, copy or disseminate this message, any part of it, or any attachments. If you have received this message in error, please delete this message and any attachments from your system without reading the content and notify the sender immediately of the inadvertent transmission. There is no intent on the part of the sender to waive any privilege that may attach to this communication. Thank you for your cooperation.
Dec 05, 2018 04:21 AM
Ok. I just did a test column and it works. I was entering it into the first column of the spreadsheet so maybe that was the issue.
Dana
Dana Hiatt, LPC
Licensed Professional Counselor
Mitigation Specialist
2025 Jefferson Oaks Dr
Rural Hall, NC 27045
M (336) 986-2257
F (704) 220-0694
danaahiatt@gmail.com
This electronic mail transmission may contain information that is confidential, privileged, proprietary, or otherwise legally exempt from disclosure. If you are not the intended recipient, you are hereby notified that you are not authorized to read, print, retain, copy or disseminate this message, any part of it, or any attachments. If you have received this message in error, please delete this message and any attachments from your system without reading the content and notify the sender immediately of the inadvertent transmission. There is no intent on the part of the sender to waive any privilege that may attach to this communication. Thank you for your cooperation.
Dec 05, 2018 04:24 AM
Can tell me the formula to use to calculate age? I have a column with my clients date of birth and want an additional column that will show his age at the different events in his life.
Thank you for all of your help,
Dana
Dec 05, 2018 05:32 AM
You have DATETIME_DIFF()
:
Dec 05, 2018 05:34 AM
Spreadsheet? You mean Table? You can use Formulas in the Primary Field (first column), but you need to set it as Formula field type first :thumbs_up:
Dec 05, 2018 09:12 AM
Thank you for your help. I have reviewed the information below but I still do not understand the formulas. If I use DATETIME_DIFF()
: Do I put the columns of each in brackets? so it would be DATETIME_DIFF({Birthday}{Event},’age’). Do I need to have DATETIME_FORMAT in front of that?
Thank you again for your help,
Dana