Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

# Formula for Daily Minimum

Solved
183 2
cancel
Showing results for
Did you mean:  5 - Automation Enthusiast

Can anyone help me with a formula? Here’s what I want to do:
Take a total number of words: for example, 60,000
Subtract my current number of words: for example, 20,000
And then take that number (40,000) and divide it among the number of days left before my deadline.

TIA! 1 Solution

Accepted Solutions  18 - Pluto

The number of days left before your deadline is a formula field that displays a string of text, not a number. You need a formula based on the original due date (date field) and calculate the number of days remaining as a number, not a text string.

``````DATETIME_DIFF({Due Date}, TODAY(), 'days')
``````

Then subtract and divide as you described.

``````( {Final Word Count} - {Current Word Count} ) / {Days Remaining}
``````
2 Replies 2  18 - Pluto

The number of days left before your deadline is a formula field that displays a string of text, not a number. You need a formula based on the original due date (date field) and calculate the number of days remaining as a number, not a text string.

``````DATETIME_DIFF({Due Date}, TODAY(), 'days')
``````

Then subtract and divide as you described.

``````( {Final Word Count} - {Current Word Count} ) / {Days Remaining}
``````  5 - Automation Enthusiast

Thanks so much for your help! 