How To Get Large Number From Raw Excluding Date Format
Apr 10, 2013I have data in F6:AG6 raw filled with numbers as well as dates, i am looking for formula which can calculate a larger value of number format (excluding date format).
View 1 RepliesI have data in F6:AG6 raw filled with numbers as well as dates, i am looking for formula which can calculate a larger value of number format (excluding date format).
View 1 RepliesI want to calculate the end date of my German courses. This is how it works:
A course consists of 60 LU*. The course can occur i. e. three times a week: Monday, Wednesday and Friday. In each day the course lasts 2 LU, which means 6 LU each week. There is no course on Tuesday, Thursday, Saturday, Sunday and on holidays. Therefore this type of course that begins on 18-Nov-2013 will end on 03-Feb-2014.
Another course which occurs Tuesday, Thursday and Saturday, and respectively has 2 LU on Tuesday, 2 LU on Thursday and 3 LU on Saturday and starts on 03-Dec-2013 will end on 06-Feb-2014.
Therefore I want to create a worksheet where I set the start date, choose the days and respectively the LU amount on those days. The end date shall be calculated according to these criteria.
The workday function on excel cannot do this and I do not have any programming skills to work with VBA.
Legend:
*LU = lesson units; 1 LU is 45 minutes
Holidays:
28-Nov-13
29-Nov-13
08-Dec-13
09-Dec-13
25-Dec-13
31-Dec-13
01-Jan-14
[Code] ...........
One of the reports I run provides me information on lengths of time. Such a field displays as |0:09:16| indicating 9 minutes and 16 seconds. However, when the report generates the excel spreadsheet it saves these cells in date/time format ([h]:mm:ss). If I were to convert this field to the number format (so I can manipulate and graph it) it displays as such |0.00643460648148148| Ideally I would be able to have the data in the field stored as |556| (556 seconds, or 9 minutes 16 seconds). I have thousands of fields that I need to manipulate where the data is stored in this format and I can not figure out how to fix it.
View 5 Replies View RelatedI have an Excel 2010 spreadsheet where the default number format keeps switching to the date format. I keep switching it back and it'll stay as a number format for a time, but then it'll switch back. This is also the case for any new worksheets in that one spreadsheet.
This only happens with this one file - everything else behaves according to my regional settings or to how the file had been previously formatted.
I have two questions regarding date format and hope you can provide input.
1) say 01/01/2010 displays as Jan-10 and i need a new column to state it as JAN. What function should i use to achieve it?
2) i need to state the difference between first day and last day of the month. What function should i use to achieve it?
In Excel is there are way to format a cell automatically dependent on the value in another cell? Specifically, if the user selects "410" from a list in cell O9 and enters numeric characters into cell K6 the format of cell K6 is a whole number. However, if the user selects any other number from the list in cell O9 and enters numeric characters into cell K6 the format of cell K6 is now in dollars. I tried using custom in Excel, which I really would like have it in, with no sucess. I am now thinking the only way to accomplish this task is by VBA code. I am ok with formulas; VBA is a different story.
View 9 Replies View Relatedconditional formatting. I am using the code below to conditional format every Odd row with a background/border.
=MOD(ROW(),2)=1
I would like to know how to modify this, so that it only applies the format if the cell in column A on that specific row contain data and doesn't format blank cells.
I have following in cell A1
122211
This represents 22-Dec -2011. Formula to convert the number in to a date format.
I have a variable "strDate" that has date in it as numbers ie. 04 2006... I need to change it into mmm-yyyy format eg. Apr 2006
View 3 Replies View Relatedi have a column with times of day and need a helper column to show the starting hour. for example, column a1 - 9:53am would like b1 to show 9am or 9. i tried customizing the date format to 'h' only, but when I pivot the table it still shows several 9's
View 2 Replies View Relatedhow to convert number to data time format:
eg. I have number 20121231230000 and I need its conversion to 31/12/2012 23:00.
I have tried to use fucntion date with left, mid, right but still I do not know how to extract time.
just wondering if its possible to format a cell to display date and week number and if so how to go about it
eg
04/01/09 week 1
Quick question:
If I have a serial date, e.g., 37883, in Excel, how can I convert to 092007, using that exact format?
<snip by admin. Read the rules!>
I've done lots of looking on the forum, and the helpfiles, but just cant seem to format my text box properly! Its a form where the user inputs to the text box. I want to control thatway where they enter numbers e.g 05052008 and it gets converted to 05/05/2008 or 05-05-2008. I've tried a range of things, but am really stumped!
View 2 Replies View RelatedI have a spreadsheet with a column full of dates
I used the formatting wizard to make all dates the format of dd/mm/yyyy but, now, when I put a date in the column it throws up a number '41313' instead of a date, even if I manually input the date in the same format as above.
Also, I have tried to turn cells back into general number fields, but this doesn't appear to be changing it back to a date format..
There are HUNDREDS of dates I might have lost if I can't get them to start showing as dates again!
I'm trying to write a function that takes a date in format YYYYMM and adds/subtracts a number of months.
for example: newDate(YYYYMM,numMonths)
newDate(201109,5) would give 201202
newDate(201102,-4) would give 201010
I was thinking i could use the left/right function to retrieve the month and year ........
1. I use this formula to count a number of items in a column per month: =SUMPRODUCT(--(MONTH(B6:B500)=8))
I also have another column C where I put some descriptors against the values in column B. I need a formula to calculate a number of items in Column B, except for those items, which are equal to XYZ in column C.
2. I also calculate a number of items, which were completed in a given month. Completion is marked with "Y" in a separate column (D). I use this formula: =SUMPRODUCT((YEAR(B6:B999)=2013)*(MONTH(B6:B999)=12)*(K6:K999<>"Y")). I can't make it count a number of completed items in January. C
I have a list of invoices numbers in column B, some are duplicated
I want to count the the number of invoices excluding duplicates.
I need to calculate the number of days between 2 dates including holidays and weekends. That means I cant use NETWORKDAYS as it excludes weekend.
View 9 Replies View RelatedI am trying to set up a sick leave list which will work out the cumulative total for the last 12 months (from last day of last sick entry). The problem I have, as the is is added to, I need a function/formula to work out 12 months from last date and then add up the no. of sick days from then to the last date. Hope this is clear. The next problem is I need it to work out total days and then without weekends. Below is the chart I have to work out.
Column 1 Start date of sickness
column 2 End date
Column 3 the number of days sick in period (column 2 less column 1 in days)
column 4 the number of days sick in period above excluding week ends (column
2 less column 1, less weekends in days)
column 5 total sick days in last 12 months from date in column 2 going back
a year including weekends
column 6 total sick days in last 12 months from date in column 2 going back
a year excluding weekends
What function or formulas can I use to calculate column 3,4,5 & 6. I am a not very experienecd in Excel
I was given a spreadsheet and the date is displayed 20130821 as today for example. I need to format the dates to read Aug-21.
View 4 Replies View RelatedI'm trying to have a two week rolling dates, starting on the Monday and continuing until the following Friday, this is fine if static but when the start date is then Tuesday, Wednesday etc the week then includes either the Saturday or Sunday.
From using =TODAY(), how do I populate the next ten working days without including the weekends?
the formula below prints monday to friday when i drag it down. Probably a very easy question but how would i change it so when i drag it down it includes saturdays so the only date missed out is Sunday.
It picks the date from cell a4. the code is from here: http://www.cpearson.com/excel/DateTimeWS.htm
=IF(WEEKDAY(A4)=7,A4+2,IF(WEEKDAY(A4)=6,A4+3,A4+1))
I have huge data
I Want data to be transpose in a below format:-
Emp Code Emp Name Intime Outtime Total worked minutes Extra worked minutes Attendance Shift
And also add the row as per the number of days worked.
VBA code to transpose large number of data.
DoneyOte on this but i have added to the range and im now getting an error that i can't seem to fix
View 12 Replies View RelatedIm importing figures into column G of my worksheet, and I need a code so it automatically adds a "0" to the start of each row in column G plus format it.
For example, im pasting in 970702090341 but its showing as 9.70702E+11.
Once I format the cell to 'number' and 0 decimal places it looks fine, but want to save the hassle of doing it each time. Plus I need a zero at the start.
Is there a code possible for this?
I have a worksheet where I capture the date and time of each new entry in column A.
In the next column, it's counting up the number of hours since that entry was made. However, it's including Saturdays and Sundays in this count and I was wondering if there's a formula to calculate the number of hours excluding Saturdays and Sundays? I know that network days would count the number of working days from one date to the next, but really need hours. Is this possible?
I have a report that starts with a desired date and generates dates backwards on when certain releases should come out. I would like the code to see the date, move it back a week, check to make sure it's not a weekend or holiday, then post it in the cell below. If it does happen to land on a weekend, it should then be the Friday before the weekend. If it is a holiday, it should be the date before the holiday, as long as it is not a Sunday (or another holiday).
Attached is the workbook that I'm using. I'm starting with the desired date 'B7' and using the Holidays in a seperate worksheet. I know that in the current example, nothing will land on the weekend, unless the holiday pushes it back to one.
I am using the same structure to update another column, under the same sub:
If Target.Column = 5 Then '
Select Case Range("d69").Value
Case "CB1W"
ActiveCell.Value = DateAdd("ww", 1, Now())
Case "CB2W"
ActiveCell.Value = DateAdd("ww", 2, Now())
Case "CB3W"
ActiveCell.Value = DateAdd("d", 21, Now())
Case "CB4W"
ActiveCell.Value = DateAdd("d", 28, Now())
Case "CB5W"
ActiveCell.Value = DateAdd("d", 35, Now())
Case "NI"
ActiveCell.Value = ""
Case Else
ActiveCell.Value = ""
End Select
I would like to apply the code to the whole column but if I change Select Case Range("d69").Value to Select Case Range("d2:1000").Value I get a Type Mismatch Error (13) - (on Case "CB1W" ) - column d cells are data validation drop down boxes that get their value form a named ranged :Lead_Status. The column is also formatted as Text. (I applied the code to d69 because I have data already in the other cells which I don't want altered till I have the code working)
I would also greatly appreciate your advice on how to incorporate the WEEKDAY function to exclude weekends for the DateAdd function.
I want to create a formula that works out the number of days between two dates but excludes weekends?
View 3 Replies View Related