Find difference in dates. But if one date field is empty use a 3rd option with Excel -


i'm dealing spreadsheet in excel has start date, end date , inquired date fields.

i need find time took start date end date. end data empty, use third field "inquired data fields"

the solution know of i'm rusty excel using

datedif(start_field, end_field, d) 

however pulls 2 fields, , doesn't take consideration of third option if end_field empty).

any ideas? can other people in future if solution found!

try: =if(isblank(b2),c2-a2,b2-a2)

where column start date, column b end date, , column c inquired date.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

node.js - Express and Redis - If session exists for this user, don't allow access -

excel - I can't get the attachement of the email PHP -