Can I change the time formatting settings when exporting a filter to Excel?
Asked by Andrey Rudnev:

Hey! I'm truing to export my filter with sla's time to Excel. I know that in jira, we can export a filter to an Excel spreadsheet in two ways:

1) Using the "Open in Microsoft Excel" btn

![1.JPG](/t5/image/serverpage/image-id/184728i85FF7CE857029734/image-size/large?v=v2&px=999 "1.JPG")

2) Using the "Export" btn

![2.JPG](/t5/image/serverpage/image-id/184730i97A2ED38DD1C2F1E/image-size/large?v=v2&px=999 "2.JPG")

If I using the second way, i got a result what i need, more specifically, the kind of time format that I need: this ![3.JPG](/t5/image/serverpage/image-id/184731i44A996608072A43B/image-size/large?v=v2&px=999 "3.JPG") or like this ![4.JPG](/t5/image/serverpage/image-id/184732i5DDA52B676E7F947/image-size/large?v=v2&px=999 "4.JPG"). I had the time with hours and minutes without "h" or "m", only ":" symbol, but if use the first way, i got it ![5.JPG](/t5/image/serverpage/image-id/184733i95D6BEFE1CFB566E/image-size/large?v=v2&px=999 "5.JPG").

The situation is such that I need to use the export only through the first path, but I do not know if I can somehow get rid of the letters "h" and "m"? In other words, using the first export method, I need to get the time in the same format as when i using the second method. Has anyone come across something similar or is there a universal solution to my problem? I assume that most likely I will have to configure something directly in Excel itself, but the trouble is that I am practically not familiar with it.


Answers:
author: Steph Bannister
body: Hi! I have the same problem with option 1. Thanks for this tip on converting the h/m using find/replace. I'm not good at Macros but [@Andrey Rudnev](/t5/user/viewprofilepage/user-id/4528317) could you share some more detail about how you got the date formats to convert? I trid the simple date conversion but the initial export is recognised as text so it didn't work.

Surely though, there is a way to set the time format differently in Jira for the Excel export itself? I cant find anything for that in the SLAs themselves (seems to be no such setting for time format), and can only think to change the global time settings.

Does this relate to the global time settings in Jira? I.e. if they are set to "pretty" they come out as 4days 5 hours 6 minutes etc.

I don't want to experiment with our entire cloud site's global settings just to check this. Does anyone know if the time format needs to be changed on this level in order to fix the time format using option 1 Open in Microsoft Excel?

cheers

Steph


author: Serhii Kibitkin_SAASJet_
body: How about to do the simple replace in XLS file - Ctrl + H - replace h --\> ": ", replace m --\> ""

watch video how to replace h,m to : format of time - <https://drive.google.com/file/d/18-E1U_u1yTaqva5XL3o8pf9LFCZ7LCZp/view?usp=sharing>

![time-replace.png](https://community.atlassian.com/t5/image/serverpage/image-id/185045i83647B9B5107610A/image-size/large?v=v2&px=999 "time-replace.png")

comments: author: Andrey Rudnev
body: [@Serhii Kibitkin_SAASJet_](/t5/user/viewprofilepage/user-id/4265740) Thank for your suggestion. I created some function in Excel and it it solved my problem, and in other way, i tried to create macros, how a result it works perfect.


Tags: cloud

export

filter

jira-service-management

ms-excel

off-topic

sla