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 -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -