My husband sent me this program in Excel where you type in your birthdate and not only does it give you your age to the millisecond, but it also gives you a list of traits the person has. For example, I was born on November 20, 1987 and this popped up:
Age in years 19.61
Age in months 235
Age in days 7157
Age in hours 171760
Age in minutes 10305599
Age in seconds 618335921
Age in Milli seconds 61833592095
Age in weeks 50097
You born on Friday
I have done a measurement with the labview programm and I have saved it in a txt file, but I need to open it with excel to finish my work. When I open it with excel the time column shows the time that each measurement was taken, like the time in a digital clock. I need to change that form to appear the time between 2 measurements (Δt) in milliseconds (which of course has to be the same Δt every time). I've been told that I can change that, but I don't know how...
If the time is not less than 0.001 seconds, then multiply it by 1000, and express it in milliseconds. Otherwise: If the time is not less than 0.000001 seconds, then multiply it by 1000000, and express it in microseconds. Otherwise: multiply it by 1000000000, and express it in nanoseconds and this all has to go in a chart like this one. I was wondering what the code would be to get this
Sub MAcro3() Function secnum(seconds)
If seconds > 0 Then secnum = seconds Else Milliseconds = seconds / 1000 If Milliseconds > 0.001 Then Value (Substitute(0.001, 0.001 * 1000)) secnum = Milliseconds Else Microseconds = seconds / 1000000 If Microseconds > 0.000001 Then .............
My challenge is discovering the difference in time between two rows of data that is imported with milliseconds in the time slot. In my example below I would like to see how I can subtract the time listed in line 4 from line 3 (11:18:59.566 - 11:18:59.550). When I try now I get either 1.85185E-07 or 00:00.0 or 0.000000 depending how the cell is formatted.
I am using a VBA macro (Using mouse clicks as inputs for neuroscience experiment?).
What the macro does is it inputs a timestamp every time a keyboard combination is used (alt+right arrow in this case).
The part of the macro which inputs the timestamp is like this:
Sub AltRight_Sub() On Error Resume Next Cancel = True Cells(Rows.Count, 2).End(xlUp).Offset(1) = Format(Now, "HH:MM:SS") End Sub
I would like the timestamp to be displayed as HH:MM:SS.00, i.e. show the milliseconds. I tried playing around with the timestamp format (changing it to = Format(Now, "HH:MM:SS.00" or = Format(Now, "HH:MM:SS.0;@")) or = Format(Now, "MM:SS.000") and I tried using = Evaluate("=NOW()") instead of = Format(Now, "HH:MM:SS".
I need it to read/merge into: "30/10/2013 10:56:39:000" and then be able to be able to be converted intp seconds as a UTC Unix epoch example formula =(A1-25569)*86400.
What I am trying to do is have a macro that do a comparison between 2 cells every 100 milliseconds. One of the cell is constant updating from RTD (Real Time Data). And if its false, to nothing. However if true, I would want it to run some codes and exit the macro/procedure. I also need some way of stopping the macro at any time.
I have two columns in a payment schedule (which adjusts according to certain user inputs) that I need to use in my NPV calculation.
The first column is the Total Payment and the second is Inducements.
Therefore each value in the NPV calc. needs to be the sum of a given period's payment and inducement (but i don't want/have a separate column which calculates the sums). The number of periods adjusts with the users input of Term. There also may be periods where there is a payment but no inducement.
i got a problem to calculate IRR and NPV for my company cash flow. i so confuse how to calculate cos the initial investment (expense) is pay in installment by yearly basis. i hope anyone can help me to solve this problem.
I m not sure whether what i'm doing is correct or not. thanx
building a spreadsheet. I have the total price in cell f6. In cell C6 I need price with no taxes. D6 should be the pst of 8% and E6 should be the gst of 5%.
I'm trying to automate the attached schedule so that the formulas in H stop increasing once the amount in column J equals zero. So far everything I've tried either gives me a circular reference error or ends up giving me the same result as if I depreciated the asset an additional month.
Suppose a request comes at 9:30pm and it is Priority 1 (P1) then it should be completed at 9:30pm + 1 hour = 10:30pm. I have given the below formula to execute this
The problem here is if the request is P4 then its 8 hr TAT and the formula will calculate the time as 5:30am. Since the shift time end at 3:30am itself the actual TAT should be the next day 8:30pm.
formula to calculate the TAT which includes the start time and end time and also excludes the weekends and holidays.
I am trying to formulate a formula that will calculate overtime hours worked. Now standard hours are 17:30pm - 20:45pm. Anything outside these hours are overtime. If the start time is 18:00pm then the person is still paid from 17:30pm @ standard rate regardless.
Now I am trying to work out a formula that will cover hrs outside of the standard hrs AND hrs unworked but paid for.
see attached! September tab {blue highlighted cells}
I need to create a formula to work backwards from a closing balance to establish an inventory value on First In, First Out principles. The attached spreadsheet probably explains it better.
I need a formula that will calculate the total of the items in column "W" when the row directly below it contains a "1" in column "V". It will need to calculate the totals from that row all the way up to the next row that contains a "1" in column V.
Example:
In X14 (where I will put the formula) it would total W9 through W14. However the formula still needs to be able to calculate the total if there are more or less cells to sum. So that the same formula could calculate that in X8 it will total W5 through W8.