concatenation - Concatenate time as text in Excel but ignore blank values -


i have several columns trying join in excel, including date , time. of rows have dates lot of time values blank.

at moment have following formula:

=concatenate(text(b2,"dd mmm yy "), text(c2,"[h]:mm")) 

this works fine when have date , time (eg 13 nov 16 10:50) if time column blank value result midnight (eg 13 nov 16 0:00).

how can ignore blank values result displays (13 nov 16)?

apply empty check on cell value.

update formula -

=concatenate(if(isblank(b2),"",text(b2,"dd mmm yy ")), if(isblank(c2),"",text(c2,"[h]:mm"))) 

Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -