Get Excel To Ignore Seconds When Dealing With Times?
Nov 15, 2011
How to get Excel to ignore "seconds" when dealing with times? That is, I NEED the seconds "portion" displayed, but need it to read "00" whenever any times are entered... So, when I type "02:34:44", I really need it to look like "02:34:00" (again, I need the "00" to still display).
I'm looking for a formula that will calculate the difference in times between specific times while working with a 24 hr clock. Please see details below:
E3 provides the start time of 4:00 H3 provides an end time of 15:30
If an employee works betwen the hours of 0:00 (midnight) to 5:59, this is considered DIFF hours and is therefore the number I am seaking. So for the data noted above, the total DIFF hours worked is 2 hours.
I trying to figure a formula to convert time on a phone call eg. 01:01:21 into total seconds (3661). Phonecalls will never be more than an hour long but the spreadsheet I will be supplied with (havn't got it yet!) will display them in the 00:00:00 format.
I am trying to convert a number of "hours" "minutes" and "seconds", to give me a result in seconds only, in order that I may then financially cost the amount of time spent on a task. (A time and motion costing exercise)
Example:
1119:48:06 Represents 1119hours:48minutes:36seconds spent on a task.
I can manually convert this to 4031286 seconds, but it just takes too much time !!!(sorry!)
The data is extracted from a database which is unable to split the hours,minutes,seconds into seperate fields, which prevents me from using three cells in excel.
I have a sheet where staff enter the time it takes to do a task. I'm using a custom format of [mm]:ss. However, I enter (for instance) 5 into the cell, the value becomes 7200:00. I finally figured out that this is because that is the number of minutes in 5 days. However, I don't want staff to have to enter 00:05:00 to indicate they worked for 5 minutes. I would rather them be able to enter something like 5:30 (or something along those lines) to indicate this took 5 minutes and 30 seconds.
Cells A1:D1 contain the following data and have been derived at via a calculation:
A1 = 100 B1 = 150 C1 = 125 D1 = #N/A
etc. etc.
Under certain circumstances, I force the #N/A value to appear rather than have a blank or zero value (the data is used in the production of a line chart).
I would also like to sum A1:D1 (although it could be A1:IV1 - If you know what I mean).
I have tried the following but it does not work.
{=SUM(IF(ISNA(A1:D1),NA(),A1:D1))}
Can anyone explain why ? and what I need to do to correct it ?
Interestingly, the following does work but the calculation returns a Zero value if all four cells contain #N/A (I would like it to return #N/A)
I am in serious need of a macro that will search a folder for image names and replace them witha determined image name col. If this is possible it would be a live saver.
For an example
Skus.................Image Name from File (Imported)........Renamed Image
725564..............725564.jpg.................................."Text that I insert" 894646..............atol-894646.jpg............................"Text that I insert" 713246..............713246-atoll.jpg..........................."Text that I insert"
So baically I need images to be searched by sku and replaced with determined image name from a different column.
I am setting up an excel sheet, which requires over 40 sheets + an Input Sheet. The sheets are names, sheet 1, sheet 2, sheet 3...
now, cell A2 in sheet 1 uses a formula, say: 5.42*Input!A2
Cell A2 in sheet 2, would have the formula: 5.42*Input!B2
so and so so forth.
Since I am dealing with over 40 sheets, Is there any way of simplifying this process rather than manually typing out the formula in each of the 40 sheets (especially since each sheet would have over 40 rows, with Sheet 1, linking to Column A in the input sheet, Sheet 2 linking to column B and so on and so forth).
I don't know how to manipulate the formula with quoting the "You can't have cups less than zero".
Teletubbies coffee - Nested If
Create a nested If function to describe the Teletubbies coffee drinking habits based on the following criteria:
0 cups = Tea drinker
1-5 cups = Normal
More than 5 cups = Caffeine fiend
Copy the function down and check that it works.
How to structure the If function
Try modifying the If function so that if Cups of coffee is a negative number you see an appropriate error message. Make sure the rest of the function still works!
I am trying to write an If statement that would search a column for cells that have red as a background color, and if they did, would mark the cell with an X.
So I am pulling some data fields from a pivot table....most of the cells will be a zero....but for the ones that populate text, I want to concatenate the words together with a comma in between into the AN cell at the far right and ignore the zero cells....
Using Excel 2003. I have a data range for a graph. The values in the cells are the results of a simple If function - If(m28>0,n28,0). The results are taken from a larger data input exercise. But, the graph line (a simple graph!) plots the FALSE value (0) when I would like there to really be no value & hence no plotted point if the result is FALSE.
I have a pivot table in sheet1 and references in sheet2 like
Code: ='Sheet1'!A1 and so on to copy the whole thing to make it the source data for a bubble chart.
Now, I want to convert the table in sheet2 into a list via Ctrl+L to be able to sort by names with a dropdown menu. Unfortunately, I have to copy all rows from 1 to 1000 to account for possible increases in the pivot table size. This results in blanks in the list and when I want to sort it, I have 990 blanks before the first data rows show up. Not very neat
Some Julian dates don't have any date to summarize
When charting How can I ignore the zero values and the associated Julian date, without literally removing each and every row manually that has no data?
I have in column D starting D9, I have numbers starting at 1, and may finish at 100. But there could be duplicates, 1,2,3,3,4,5,6,6,7,7,8,9,10,10,11,12,13,.........
I would like to only copy the range D9 to H (End of column D), ignoring all the duplicate numbers, to another sheet.
So on the second sheet, it would be 1,2,3,4,5,6...... with the data copied from E,F,G and H.
I am using excel 2010 and I am trying to find a formula whats going to give me added break with a set time but anything over a set time doesn't. I want it over 10:58:00 and under 11:32:00. I've got the numbers and tried with a formula but all whats happening is that all the data is adding 30mins break to the end time.
The sheet is using live times and data so the start times vary as do the due time.
I have a sorting question in Excel 2010. Attached is an example workbook with a simplified version of the situation.
I want to sort a table multiple times. I have a table with part numbers and alphanumeric locations (Row, Shelf, Bay, Slot). I have formulas that divide up the location into 4 separate columns to be able to sort.
The first sort I do is by location, which I can easily achieve. The issue I have is sorting AGAIN by part number, while keeping the original sort somewhat intact. If a part number shows up multiple times (i.e. in two DIFFERENT locations), the Nth instance might show somewhere down the list.
Is there a way to sort my table to where you keep it in location order WHILE accounting for duplicates, which I would want grouped together in location order? Please see attached file : SortExample.xlsx
When I run macros usually they're fast, but occasionally will run very slow. An example macro I have is pasted below. It's just a simple macro that pastes months. If I am pasting on top of a cell that contains a month it pastes the rest of the months that follow.
Most of the time this macro runs very fast, but occasionally it takes about 1-2 seconds to run, and it is a very simple macro! It is not macro specific, as all my macros will be slow. I''m using Windows 7 with Excel 2010. I'm only using 23% of my CPU and 4.5GB of my 16GB of RAM, so I don't think it's a hardware thing.
Is there some kind of condition that occurs that will make excel run macros slower?
I have a sheet set up with date in Column A, time in column C and numbers in column D, starting in row 2 down. I made a pivot table with the dates grouped by day, 7, to show a week and I can group the time by hours, 6am, 7am, 8am. but what I want to do is group the time for times between 2 times, like from 6:00 AM to 10:00 AM, 10:01 AM to 2:00 PM and 2:01 PM to 8:00 PM, what I am wanting to do is group by week, group by the times above and average the numbers for that time. Is there anyway to do this in a pivot table? Or some other way? this is for use in Excel 2003
I have a spreadsheet which monitors the hours employees work - one of the rules is that an employee must have 12 hours rest between shifts...
I am using the below Data Validation formula in column I to highlight when an employee has less than 12 hours rest and an alert to appear
=OR(AND(I4-B4=0.5),AND(I4-B4>=0,I4-B4>=0.5))
Now this works perfectly with the exception of when an employee finishes at say, 18:00hrs on a Friday, and starts at 22:00hrs on a Saturday - Excel Calculates the Rest hours as 04:00, when it should be 28:00
I've had a suggestion to use the following:
=I4+I2-B4-A2>=0.5
(I2 being the saturday date, A2 being the Friday date) - this does work but only for Cell I4, If I copy the Data Validation down the column all cell references change - is there a way to keep the I2 and A2 in the formula without having to retype in every row?