I am having such a strange problem when importing data from CMS Supervisor into Excel,
Basically the time is coming out as, for example: 12:30
This is meant to be 1230 seconds, but the format it is coming out as doesn't correspond to this at all.
I've tried every combination of export settings in my vba and it makes no difference, it still ends up formatting the number in this bizzare way.
This is such a simple thing and is driving me crazy! Any help would be greatly appreciated!
Many Thanks,
Would it be ok for you to solve this using a formula? That way you can paste the formula in another column like this: =TEXT(A1,"hhmm")
I've taken the assumption that your time field is in A1
Because my language settings are dutch my formula is =TEXT(A1;"uumm"). Don't worry about that.
Related
This is my formula.
=XLOOKUP(A2,Ticket_Import!B:B,Ticket_Import!T:T/86400,"Empty")
When I run this without the division it shows the actual number in cell Ticket_Import!T:T, which is 172855.
Now if we use the basic math of 172855/86400 should come out to be 2.044... which would be 2 days and 44 minutes?
But when I format it to show time, it shows it as 0:00:55.
When I try to put the cell as time it shows up as 00:00:00, or Jan-00
Now, I am pretty good at running excel scripts but I must be overthinking this.
Can someone please help me figure this out?
My cells are formatted for hh:mm:ss btw.
I'm using a calendar layout in Excel, and the start of the week (monday) is given by the function WeekStart. However, English is not my native tongue and I want to change the names of the weeks and months. I have managed to achieve this by adding a language code snippet in the code before the other days of the week/months, but no combination seems to work with the function WeekStart.
I'm sorry for clumsy writing, I really don't know how to express this specific problem properly because I am not even entirely sure how this function works. I've added an image for illustration. This is the template that I'm using https://templates.office.com/en-US/Evergreen-calendar-tabs-white-TM00000047 .
Thanks in advance.
screenshot
So, you could, if your weekstart function is in cell A1, then in cell B2 have:
=vlookup(A1,A5:B11,2,0)
With the days in A5:A11 as Monday to Sunday and in B5:B11 the days you want to change to.
As the title says, I'm trying to calculate a percentage that represents productivity. I have a formula that almost works to change the colors (conditional formatting) but it seems to work in reverse. I can't figure out how to make it work and I'm hoping its something simple and I'm just dense after working on it for a day.
Below is my formula that I have so far.
=VALUE(LEFT(E18,LEN(E18)-3))*(J18/K18)/D18>95%
As I said, I hope that it's stupid simple to make it work and I'm just being stupid.
This is the cells in question in the event the clarification of seeing it will make more sense:
Links to pages I hoped would help:
1st: Not quiet right.
2nd: VBA so not it either.
3rd: Again just not something I can pull enough from.
With some outside help, I was able to get this working. Below is the code that works for my setup with conditional formatting.
=(D18/VALUE(LEFT(E18,LEN(E18)-3)))/(F18/G18)>0.95
=(D18/VALUE(LEFT(E18,LEN(E18)-3)))/(F18/G18)>=0.9
=(D18/VALUE(LEFT(E18,LEN(E18)-3)))/(F18/G18)<0.9
I am just looking for a workaround to solve this issue. It's just so me and my colleagues have a simpler way of inputting time.
It is currently being used on a sheet in house, but no one knows how it works.
I would appreciate if anyone has the solution to my issue.
Would like the input of e.g. 8.00 to be changed to 8:00
Thanks
If you type your number into A1, you can get your reformatted answer using
=TIME(A1-MOD(A1,1),MOD(A1*100,100),0)
I've got a spreadsheet (Office 2007 version of Excel) full of text entries that are negative time values, example "-0:07" as in an employee took 7 mins less to complete a job than expected. I need to perform mathematical calculations on these entries and am looking for a more elegant formula/method than I've come up with so far.
I know about 1904 date system and * or / by 24 to convert back and forth, the problem is getting a formula that will recognize the text entry as a negative time value.
I've tried value(), *1, which both work on the text fields if the number is positive, but the "-" seems to mess those up. Even paste-special/add fails to recognize these as numbers.
Here's what I came up with that gets the job done, but it's just so ugly to me:
=IF(LEFT(E5,1)="-",((VALUE(RIGHT(E5,LEN(E5)-1)))*-1.0),VALUE(E5))
Obviously my text entry is in cell E5 in this example.
This works, so I'm not desperate for a solution, but for educational purposes (and smaller code) I'd like to know if there's a better way to this. Does anyone have a suggestion for something shorter, easier?
Thanks.
P.S. - an interesting tidbit here, I use Excel at work, but not at home, so I uploaded a sample spreadsheet to Google Docs, and it actually handles the Value() command on those entries properly. Weird, huh?
Thanks again for any suggestions.
Excel doesn't handle time spans in cells. It only deals with time. When you do "00:07" it is then converted to 0.0048611 which is the same as Jan 1st 1900 12.07 am. So if you did 2 minutes minus 7 minutes it would give at best 11.55pm.
The way you do it is the only way.