![]() |
concatenate function/convert military to AM/PM
I wrote the formula below to display time that was originally in two separate
cells into one cell separated by a " - ". It works accept the result is displayed in military time and not in AM/PM. Any help would be appreciated. =CONCATENATE(TEXT(B7,"h:mm")," - ",TEXT(C7,"h:mm")) -- Brian |
Try this:
=CONCATENATE(TEXT(B7,"h:mm AM/PM")," - ",TEXT(C7,"h:mm AM/PM")) "brianwakin" wrote: I wrote the formula below to display time that was originally in two separate cells into one cell separated by a " - ". It works accept the result is displayed in military time and not in AM/PM. Any help would be appreciated. =CONCATENATE(TEXT(B7,"h:mm")," - ",TEXT(C7,"h:mm")) -- Brian |
All times are GMT +1. The time now is 01:58 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com