Computer Support Forum

If field contains date then formula help!

Question: If field contains date then formula help!

Hi,I'm trying to create an if formula and I'm a bit stuck.Column L contains dates separated by commas. I'm trying to create a formula to say:if L2 contains (fixed date from a single cell) then "Exclude" else "No"There are two issues. How do I make the if statement contains not just equals? How do I copy the cells down and keep the field with date in fixed?For example I added the date I needed to 'Delivery sheets d1':=IF(Data!L2='Delivery sheets'!D1,"exclude","No") but when I try and fill down the D1 continues in a series e.g. d1, d2, d3 etcI hope this makes sense. Thanks in advance!

More replies
Relevance 100%
Preferred Solution: If field contains date then formula help!

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link http://downloadreimage.com/download.php. (This link will automatically start a download of Reimage that you can save to your computer.)

Relevance 70.52%

I use due dates on my Outlook tasks. When I customize my Tasks list (in the Calendar view) to group by due date, I just get too many groupings (one for each due date!). I would like to know if I can create a custom field called 'Due Month' and/or 'Due Week', extracted from the 'Due Date', so I can view my tasks by what is due during a given week or month. If the answer is yes, any suggestions on the technique I would use would be greatly appreciated.
Thanks in advance,
Mac
 

More replies
Relevance 69.7%

I need a date field changed into a text field of YYYYMMDD so for example the date of birth field is 3/17/1953 and I need that converted to 19530317 in the Excel spreadsheet. Thanks.

Answer:I need a date field changed into a text field of YYYYMMDD

under the format options.

5 more replies
Relevance 67.24%

First the background: We are gradually deploying Office 2007, but not everyone in the agency has it. I have both 2003 and 2007 installed on my system, but I do my work in 2003, and none of our databases have actually been converted to 2007 format (at least, none that I work with). There are occasionally people who use 2007 when viewing databases, but I don't know if any of the people who are working in this particular database are using 2007. The problem is reproducible in 2003 and so I've been trying to fix it here. The query behind the problem report used to work. It has been a problem for several months (it is run monthly, and every month for the past five they've had problems with it) and I've finally gotten to the root of the actual issue.

The purpose of the report is to generate invoice for outstanding loans. The DateNextPayment is a calculated field based on the payment plan for the loan. It is calculated using a function in the query named qryGetSitesDDInvoices1. This is the function that is called (I did not write this function, I'm supporting this db long after the original writer has left):
Code:
Function DateNextPayment(PaymentSchedule As String, DateFirstPayment As Date, Balance As Currency)

On Error GoTo Handle_err

Dim Date1 As Date
Dim Date2 As Date
Dim Date3 As Date
Dim NextQtrDate As Date

'The code adds one month to datenextpayment at start of each month. Or yearly or weekly

... Read more

Answer:Solved: Date Parameter Failing in Query from calculated date field using DateValue Ac

16 more replies
Relevance 66.42%

I accidentally formatted the date cell & it only accept numbers

Answer:how to correct a date field when you enter a date a number a

I don't know what you mean by "it only accepts numbers".Why can't you just format it as a date again?Click Here Before Posting Data or VBA Code ---> How To Post Data or Code.

2 more replies
Relevance 66.42%

Hello,

I have a large report of application forms which have been submitted including the date when they were submitted however the dates are formatted incorrectly.

1. Although the cell formatting is dd/mm/yyyy the data is being shown in mm/dd/yyyy which means the dates are incorrect (e.g. 2nd January would read as 1st February.)
2. As a result of this dates which are passed the 12th of a month are not accepted as dates (it reads the day figure as months and there is no 13th month etc)

I have tried to use the text to columns function but that makes no difference and I have tried to extract just the dates but I've had no luck.

Can anyone help, I've attached a small sample of the data.

Thanks

Daniel
 

Answer:Exported date field not recognized as date in Excel

Where does the data come from?
What do you get if you have no cell format?
 

3 more replies
Relevance 65.19%

Help! This should be easy but I can't get it to work.

I have a report that must group by Trip# and sort by ascending activity date all of the various activities that took place on multiple days of the trip.
Further, the trip with the earliest date must come first regardless of the Trip#.
I've accomplished getting the earliest starting date trip first and grouping its detail with a unique string made up of the earliest date of each trip formatted to YYYYMMDD+Trip#. This prints a trip total and works fine.

But the daily activity for the trip is out of date sequence.
Adding a Date field to the 'Sorting and Grouping' insists on breaking on and printing a sub-total for each of the trips activity dates.
Without the sorting & grouping by date the trip records are out of sequence even though the data source query is sorted ascending by activity date.

(see attachments that show the above)

The only solution I can think of is to create a sub-report sorted by activity date.

Does anyone have any better ideas?

Jim Shannon
JES Computer Systems
Access Developer.
 

Answer:How sort by 2nd field (date) without grouping when date changes?

7 more replies
Relevance 61.91%

I have this very simple MSaccess 2000 database that I am building and I am stuck. I need three fields completed which will have formulas in them and I am not sure how to do this. I do not want it done with code because I know absolutely nothing about that. If anybody could help me I could email my database to them. I sure would appreciate any help at all. I’m sure for someone that knows MSaccess good it wouldn't take them long
 

Answer:formula in field in database

No formulas in tables.
Go to the forms tab.
Hit New form (use Wizard).
Choose your table, OK.
Make the form.
From the Control toolbox, draw 3 textboxes on your form.
In the first one, suppose you want to add 6% sales tax to a value in a field called "Total". Put this formula in the textbox: =Total*1.06

Let me know if you need help specifically with the formulas.
 

3 more replies
Relevance 61.91%

I have 12 tabs, 1 for each month.I have a vlookup that uses today's date and pulls some info.However, when the month changes, I have to change the tab name. I'd like to be able to have the formula pull the month from the date, and then go to that month's tab. Formula below: [the FEB is the tab, and i don't know how to make that pull from today's date, so when the month changes, it pulls from the next tab]=VLOOKUP($B$2,'H:[demo.xlsm]FEB'!$A$1:$N$8,4,FALSE)

Answer:have tab name in formula pull from field

Create a cell with =date() to retrieve today's dateIn another cell put =month(referring to the above cell) to get today's month.Create an array of cells with numeric month in one column and the text value corresponding to your tabs in the next column.Now make another vlookup to check for the month value in the array and refer to the new vlookup cell in your original vlookup.

17 more replies
Relevance 61.09%

I have a simple sumifs formula which work well if I put a "=<5" value in criteria field. I want to refer to a field value to replace the"5" with different numeric values.Sample : =SUMIFS(D136:D159,C136:C159,"=<5") This formula works.I want to replace the "=<5" with "=<C135" but don't know what the format should be when refering to field.Thanks in advance

Answer:Sumifs formula refer to field value

Your SUMIFS formula doesn't work. I assume you meant to use:=SUMIFS(D136:D159,C136:C159,"<=5") as in "less than or equal to" not "equal to or less than".As for your question, try this:=SUMIFS(D136:D159,C136:C159,"<=" & C135) P.S. C135 is not a "field", it's a "cell" or a "range". Using the wrong terminology can be confusing, especially when the terms you use actually refer to something else that exists.Click Here Before Posting Data or VBA Code ---> How To Post Data or Code.

4 more replies
Relevance 59.86%

can anyone help me with a formula line In Crystal Reports when designing a report i need a formula that will colored the field if maximum number is exceeded.for example: if a specific field has reach a maximum number of 15, this field has to colored in red.

Answer:formula colored field if maximum number is exceeded

Although someone might come along who knows "Crystal Reports" it is a bit specialised. You might be better advised to go to their forum:http://www.crystalreportsbook.com/f...Always pop back and let us know the outcome - thanks

2 more replies
Relevance 59.04%

Macro formula to insert lines depending on quantity field Hello,If the quantity in Column G is >1 then I need to insert the same line one less times than the original quantity. In the example below in cell 2G the quantity = 3 so I have inserted 2 lines immediately below it and copied the text from cells 2A to 2F ..so that I now have a total of 3 lines for this item (making labels for these items).So the next cell requiring attention is 6G for Qty 5 (being >1) it will require 4 lines immediately under it with the same text as cells 6a to 6F.Note that cell 9G (Qty = 2) already has a blank line under it, as it is a division between groups of items so it still requires 1 additional line with this macro added. Exactly the same requirement for cell 12G and so on...Can any one help please with a macro to do this?

Answer:Macro formula to insert lines depending on quantity field

First, to eliminate any confusion we should make sure that we are using the correct terminology. 2 quick items:1 - The proper way to refer to Excel cells is to use the Column first, then the Row. e.g. G6, A6:F6, etc.2 - The term "macro formula" doesn't really mean anything. A macro is a series of VBA instructions, also known as "VBA code". A formula is built around an Excel function and entered into a spreadsheet cell. Formulas can be used within a macro, and a macro can put a formula in a cell, but the term "macro formula" is not typically used.OK, all that said, give this code a try. I suggest that you try this in a backup copy of your workbook since macros can not easily be undone.The code below is written based on the assumption that the data is in Sheet 1. That is easily changed.
Sub InsertRow_By_G_Value()
Dim lastRw, rw As Long
Application.ScreenUpdating = False
'Perform actions on Sheet 1
With Sheets(1)
'Determine last Row with data in Column G
lastRw = .Cells(Rows.Count, "G").End(xlUp).Row
'Loop through rows in reverse order
For rw = lastRw To 2 Step -1
'If Column G > 1, insert Rows and copy data
If .Cells(rw, "G") > 1 Then
For newRw = 1 To .Cells(rw, "G") - 1
'Insert Rows/Copy A-F
.Cells(rw + 1, "G").EntireRow.Insert shift:=xlDown
.Range(Cells(rw, "A"), Cells(rw, "F")).Copy Cells(rw + 1, "A")
Next
End If
Next
End With
Application.ScreenUpdating = False
End Sub
Click Here Before Post... Read more

2 more replies
Relevance 59.04%

Hi,
I am having data structure as below. I need some macro or some means to populate formula in Column D based on column C (as and when it changes) . All other column data are populated. This is beyond me. Any help or direction is greatly appreciated. Thanks in advance

Col | A | B | C | D | E
------------------------------------------------------------------------
Row | 1 | Test1 | | | 10
| 2 | Test2 | =A1 | =MAX(E2) }| 15
| 3 | Test3 | =A2 | =MAX(E3) | 20
| 4 | Test3 | =A1&","&A3| =MAX (E1,E3)| 30
 

Answer:Excel macro or formula - change field based on other cell

7 more replies
Relevance 59.04%

I work with MS Access 2003.

I am creating a query to show all contracts set up in a certain year that have been cancelled in that specific year. This "Cancelled" field is not a yes/no field, but includes the date on which it has been cancelled (always starting 31/12/YYYY).

First, to show me the contracts set up in a certain year (say 2008) , i created a parameter under the "Contract Year" field, asking which year you want to see (in this case 2008).

I wish to add a criteria that then shows cancelled contracts at the end of that specific year, so 31/12/2008. So whether it is "2008" or another year is dependent on the value in the "Contract Year" field.

I tried the following as criteria for the Column "Cancelled":

#31/12/[Contract Year]#

to try and have it take the year mentioned in that field.
But it doesn't work. Access sees is as a second parameter, instead of a field name.
I tried adding LIKE to it and the &-sign, still no luck.

Is it possible to use a field name in a date criteria and if so, how could i do it?

Thank you very much in advance for your help.
 

More replies
Relevance 59.04%
Question: Update date field

Thanks in advance for your help!

I used to know this and I did a search and couldn't find the answer.

How do you update a field to a date either 6 months away or 12 months away for the current date in that field?

Thanks again!
 

Answer:Update date field

6 more replies
Relevance 59.04%

Is it possible with Access 2010 to have a date field that would change to current date whenever another particular field is modified. For example, we have comment field and we would like to have another date field that would change to the current date when the comment field has a change.
 

Answer:field modified date

Yes you can do it with simple VBA code, you could also add it to the comment itself, so it appears at the beginning of the comment.
 

1 more replies
Relevance 59.04%

Not sure how to go about this. I am not a programmer by any means but need to make a program.

I have a text file that is in what is called BAI format (bank standard format to send info). Basically this is a CSV file with a header. Right now I use a mail merge file to update the date field. I am looking to automate this so I would only need one "dummy" file and have a program that will update the date field automatically. The file is opened with notepad. I have done some VB but not a lot. I am looking for the best way to go about doing this. I tried to get some of the programmers to do it but no one wants to worry about supporting it, so I am taking a crack at it.

All help is very much appreciated. One idea I had is maybe a macro in excel but not sure if it would mess up the formating. I will try to get a copy of the file I use and post it.
 

Answer:Updating date field

6 more replies
Relevance 58.22%

hi, i searched in vain for an answer to this question:
when i edit an image file and resave, the date modified date does not change. since i started using computers 100s of years ago, this was automatic. how can i enable this (obvious) field? what point is there in even having a date modified field if it stays the same as the date created field? thanks!

Answer:date modification field does not change

Are you sure you have the Date Modified selected as a column to display?

Right click on the header column (has Name, Date, Type, etc.) and select the Date Modified tag.

9 more replies
Relevance 58.22%

Hello everyone,

I'm working on an order management database and I'm stuck on one item.

I have a form that users can fill in with purchase order data. One section of the form relates to contract review completion.

I would like to have a checkbox that the user can check when contract review is complete, but I'd also like for a completion date field to be auto-filled when the checkbox is checked.

I've tried a couple of things, both unsuccessful.

Any ideas?

Thanks.
 

Answer:MS Access - autofill date field

6 more replies
Relevance 58.22%

Is there a way to insert a date merge field where the date is spelled out (June 10, 2008) and will not change if the document is reopened, resaved, modified, etc?   Thanks for any help!

Answer:MS Word merge field for date

I'm not quite sure I understand the question, but depending on the Word document...you can use the "Insert" link from Word's toolbar to insert the date into a document...formatted to your liking.Once the document is saved...the date will always appear as you have set it.

2 more replies
Relevance 58.22%

Hello, I need help with the following:
I have a field (called Date_Time) which displays for example 1/31/2005 12:00:00 AM. I would like to run a query that converts that value to '200501' in a created field.
I tried the following below but I keep having problems.

select Account_Number, Date_Time,
concat(year(Date_Time), month(Date_Time)) as Date_Time_Modified
from table
where Account_Number = xxxx

Any insight into this would be greatly appreciated. Thank you.


 

Answer:Concatenating Date and Time Field in SQL

Just wanted to add some more examples:

Account_Number: Integer Type
Date_Time: Date Type
Date_Time: Modified: Character Type

Account_Number Date_Time Date_Time_Modified
3246 1/31/2005 12:00:00 AM 200501
4920 11/30/2008 12:00:00 AM 200811
5932 6/30/2011 12:00:00 AM 201106
... ... ....
 

1 more replies
Relevance 58.22%

Hi guys,

Something weird is happening. Some of my movie files (file type doesn't matter) became corrupted; when I play them in VLC they cause errors, they were just fine before and nothing has changed. I noticed in Explorer that these files have no Date Modified field, it's simply blank; I've never seen anything like that.

I did a chkdsk on the drive and see no errors. What could it be ?

Thanks.

Answer:Blank Date Modified Field ?

VLC should rebuild the Index, but that is a temporary fix. Depending on what format they are, there is "DIVFIX" and "Meteor MKV repair" you can try to run the faulty content through which of those is appropriate, you'll have to google it, cant remember the links.

3 more replies
Relevance 58.22%

Can someone help please?

I'm setting up a query in Excel from an SQL database. How do I (or what do I) do to ensure only todays data is shown - I suppose I'm looking for an"=TODAY" type thing but don't know enough to be able to do it.

Thanks in anticipation.

Moll )
 

Answer:Excel query on Date field

it can depend on how the date system is set up but the following page has pretty much every SQL date function going

http://www.connx.com/products/connx/Connx%208.5%20UserGuide/sql_date.htm
 

1 more replies
Relevance 57.4%

I receive periodic Word (.rtf) documents from a property rental agency whenever my property is rented. The document contains the dates rented, the renter's name, etc. There is a "date field" in each document which automatically shows today's date, rather than the date the doc was created and sent to me. If I want to forward the doc to the renter a week later how do I stop the date from updating when I send it and stop it from updating when the renter opens the file?
 

Answer:Solved: Stop Updating the Date Field

6 more replies
Relevance 57.4%

I have tried sending a message to a friend who, up until now has had no problem receiving. The message I am sending has no attachments. But this message has come back several times with the message:

This message has been rejected because it has
an overlength date field which can be used
to subvert Microsoft mail programs
The following URL has further information
http://www.securityfocus.com/frames/?content=/templates/article.html?id=61

but when I go to that hyperlink it is a page saying that the item 'might' have been removed.

Incidentally I have an uo to date virus checker running and have been able to send and receive emails to others since the first bounce of this email

Questions:
1. Is this a genuine response or some sort of problem at receivers end?
2. If genuine can someone explain what I might need to do, if anything can be done, at my end to get the message through. I have already tried maing the subject line smaller but that made no difference.
 

More replies
Relevance 57.4%

Greetings

It's been a long time since I last posted here, but hopefully all you wonderful people will be able to help...

Here is my problem:

A customer of mine has a SQL database where one of the fields is a date/time field that looks like this:

13/02/2003 14:32:58
14/02/2003 08:59:10
15/02/2003 17:09:37

Now, I need to delete all the records for a particular day (One of their HD's failed, and they had to restore the data and lost a day, but the entries are still in the database, and can not be re-entered until the old entries are deleted).

How do I structure a query to delete all the records for a particular day? Preferably, I would like a SELECT statement first, just to check that the records found correspond to the delete criteria, and then the DELETE statement.

Thanks

Reuel Miller

The Ex-NT moderator on this board

Every morning is the dawn of a new error
 

Answer:SQL Query help required with date/time field

Greetings

Not to worry chaps, I figured out the answer all by my lonesome

the statements I used were:

select * from {database name} where {date field} > '14 February 2003' and {date field} < '15 February 2003'

delete from {database name} where {date field} > '14 February 2003' and {date field} < '15 February 2003'
cheers

Reuel Miller
 

1 more replies
Relevance 57.4%

Hello,Have a Excel file with multiple sheets , each sheet is identified by the persons ID numberSee attached file.Here i need to copy data from FILE1 in each sheet to FILE2As you see in file1 that data for each person is scar tared , that is date are up and down ...that data need to be moved to file2 where already date from 21 oct to 20 nov is marked.THANKS

More replies
Relevance 57.4%

I want to combine a text field and a date field into one field to use as a reference number. IE 'Mil - 05/11'.

I have got a field with the standard short date format 29/05/2011 (that I have to keep) and I have created a second field with the same date but formatted to a "mm/yy". When I concatenate the Operater Ref field "Mil" to the Date Ref field "05/11" I still get the full date format IE Mil - 29/05/2011.
 

Answer:MS Access Concatenate a date and text field

Jerry-

If you are creating the second field in your table, go to design view and change the Data Type to Text then try your concatenation. I built a mini-table and queried it and this worked for me... hope this works for you!
 

19 more replies
Relevance 57.4%

How do you insert a date field in Word 2007?

Answer:How do you insert a date field in Word 2007?

In Office 2010 at least, it should be under the "Home" or "Insert " tab. Then there should be a sub-category like "Date" or "Time".By the way. In the future, you'll get better office results here:http://www.computing.net/forum/offi...Ask and Answer. The way of learning.Dell Dimension 8300Intel Pentium 4 HT @ 3.20 GHz4 GB RAMNvidia Geforce FX5200

2 more replies
Relevance 57.4%

the answer to this might of been found with a search but hey i'm lazy today and wanted to see who the excel masters are

using excel 2007, cell a1 contains an array formula (CSE) like so - {=MAX(LEN(A2:A470000))}
cells a2 through a470000 contain dates such as
12/12/2011
etc, you get the idea, i need the formula or something else entirely to return 10 not 5

thanks in advance
 

Answer:Solved: excel length of date field

i'll answer if myself thanks to another web site, Mike these guys are slackin' 'round here it looks like

=MAX(LEN(TEXT(A2:A470000,"m/d/yyyy")))

exit celll with ctrl, shift, enter
 

1 more replies
Relevance 57.4%

I am trying to add a sequential number to a date field in an Access form.
The format of the field is PS 18 Jan 11 xx, the PS is fixed, the current date and the xx is my sequential number I want to add.

Is there a way, to do this when the date is entered? And I would need the sequential number to reset to 01 with a new day.

I'm new to this, any help would be great!

Thanks!
 

Answer:Help in appending a sequential number to a date field

16 more replies
Relevance 57.4%

Have sent email to several friends, there is no attachment, just relatively straight forward item with some borders and a table in the email body copy. In one case the email was bounced back as 'delivery failed' with the message:This message has been rejected because it has an overlength date field which can be used to subvert Microsoft mail programs The following URL has further information click hereHave gone to hyperlink which says 'page removed'. Other emails I sent to this friend get through. My questions are:1. I assume this is a genuine block?2. Has anyone come across this and do you know what it means?3. Is there something I can do to get my message through? [I had put a lot of work into it]Many thanks Tiggertwo using Outlook Express and windows95

Answer:Email bounced 'overlength date field'

Sounds like some sort of anti spam program which is a little too zealous. Have you tried it again to the same user?

1 more replies
Relevance 57.4%

Hello,Have a Excel file with multiple sheets , each sheet is identified by the persons ID numberSee attached file.Here i need to copy data from FILE1 in each sheet to FILE2As you see in file1 that data for each person is scar tared , that is date are up and down ...that data need to be moved to file2 where already date from 21 oct to 20 nov is marked.THANKS

Answer:Moving rows with Date field from one worksheet to another

Quotei need to copy data from FILE1 in each sheet to FILE2I'm wondering about the wording of the quoted part of your post.  I suspect it would be better worded like this: i need to copy data from each sheet in FILE1 in to corresponding sheets in FILE2.   Is that correct?  Are FILE1 and FILE2 names of separate Excel files?

14 more replies
Relevance 56.99%

Hello,

In Access, I am trying to develop a process for generating a unique client number that follows a very specific formula: XXX - XXXX - X - XXXX. The first group should represent the quarter and year when the client is first introduced (non-standard year: Feb-Jan). The second group should be a unique, sequential ID number with leading zeros (missing numbers won't matter and leading zeros seems impossible, so I'm planning to use a DMax calculation on the form that generates a sequential number). The third number represents the client's initial program phase ID. The final number relates to the grant contract ID.

I have generated the number with the following in a Select query:

UniqueNumber: DatePart("q",DateAdd("m",-1,[MonthStart])) & Format([MonthStart],"yy") & "-" & [SeqNum] & "-" & [InitialPhaseID] & "-" & [ContractID]

The table already has a primary key, but since I am required to generate client numbers in this format, I want the UniqueNumber to be saved and searchable. This field never needs to change once the original record is saved. I've tried an Append query, but can't make it work. I assume it's related to the fact that I'm combining Date and Number fields, not to mention the DatePart function. I consistently get a key violation error. Any thoughts on how I can proceed?
 

More replies
Relevance 56.99%

Hi guys, I'm very new to access and I'm having some issues. I have made a field for an expiry date, and I have attempted to create a calculated yes/no field that gets ticked when the expiry date is up, so basically I have a box that I want ticked for when the expiry date is before the current date (I hope that makes sense). Thanks guys,

George
 

More replies
Relevance 56.99%

Hello

Access 2003
Windows XP

I am creating a new table and would like to format a field to short date. Here is my code. Is there a way to format to short date from here?

Thanks

Set fld = tbl.CreateField("Date", dbDate)
fld.Required = True
tbl.Fields.Append fld
 

Answer:Access 2003 - Format field to Short Date

try this:
fld.NumberFormat = "m/d/yyyy"
 

3 more replies
Relevance 56.99%

I have a linked Excel spreadsheet to show invoices received and I insert a date when they are paid. I cannot figure out the expression to use to show all records where no date has been inserted. Can anyone help please.Thankyou

More replies
Relevance 56.99%

I have a field that is date/time, formatted to display the long date (which starts with the day of the week). This has been extremely useful for some append, update and delete queries.

However, I would like to be able to do an update query based on the day of the week for each record. I know that the date/time field is stored as a number so I can't search for any string of letters. But, is there a way to take the long date format and copy what's there as a string so I can then extract the day of the week out of it? Otherwise, I guess I'm stuck with adding a separate field for day of the week, and manually inputting it. Seems like such a waste.
 

Answer:Solved: Access, Date/Time Field to String -- is it possible

7 more replies
Relevance 56.99%

I want to be able to place the date in reverse order in the subject line of new emails when I press a button on the toolbar. The format of the date should read '20061003' for the 3rd Oct 2006 - I know i should be able to use a macro or write VB scipt, bit i am not that clever - please help - many thanks

Answer:MS Outlook 2003 - Reverse Date in Subject Field

06.10.03 - subject.It's easier to read and there will not be a filing problem for the next 94 years or so.I'll leave the technical stuff to others

8 more replies
Relevance 56.99%

I have an excel sheet with dates displayed in European format dd/mm/yyyy :-)I import it into a letter ("you have been a member since") and it imports in American mm/dd/yyyy.I can't see how to properly format the merge field

Answer:Mail merge a date field screws the formatting!

It all has to do with how your Operating System Date is set up.If your in the US then the default is mm/dd/yyyyYou can change how Excel Displays the date to dd/mm/yyyy, but it Stores the date in the System Date format of mm/dd/yyyy.When you import the date to Word, the System Date format is used.See here for how to change the format:http://cybertext.wordpress.com/2009...alsohttp://www.ashbee.co.uk/index.php/f...MIKEhttp://www.skeptic.com/

4 more replies
Relevance 56.99%

The company I work for has asked me to work with the DB (as you may well guess in this economy I now have to learn how to work with Access DB. This DB was created by someone who had a book “Access 2000 for dummies” in 2002, I have since then converted the 2000 DB to 2007 accdb format. That being said, in a form that is used to track records-TS# is the primary key, they want a YES/NO or actual name- Completed *check box for yes and blank for no*. I created the check box as you may know that was easy enough. The problem comes in when I go to the next record the box remains in whatever state it was on the previous record and does not show up anywhere else. I am sure this is likely because there are steps that I am omitting or not aware of. Any help offered would be amazing as I continue to work on this train wreck.

-Mike
 

Answer:Solved: Access 2007 YES/NO field with time/date

Mike, the Check Box field has to be in the Table that the Form uses as it's Record Source. The Check box has to be "Bound" to that table's field, i.e. it's "Contorl Source" of the check box in design view must be the table field.
 

2 more replies
Relevance 56.99%

I have a Date field in a Form. I want the Date to be appear in red when it is more than 6 months older than today's date. Where and how do I make that happen?
Thanks
 

Answer:Access 2010 Date Field in Form Macro or ()Iff ??

10 more replies
Relevance 56.99%

from email address removed by Dreamboat

I have a database with a date field; 'Birthday'.

I want to take the month info from the date field and have access put it into another (adjacent) field. Ie;

Name:
Addr:
Birthday:
Month of B'day (New Field)

Also I want to be able to query the birthday field from previous data base tables which do not have the month field and make a table with the month information extrapolated to a new 'Month of B'day' field.

(Month([Birthday])) does not work.

I have printed a report with the 'Month of B'day" info extrapolated to the report but it is not useful because the report does not sort by the new information.

I know these must be possible but . . . . . AAAaaagh I'm going nuts.
 

Answer:Solved: Extrapolate Month from an Access date field

16 more replies
Relevance 56.99%

Hi all,

I am looking for help on VB script to send automated emails based on the date column in excel sheet..

Uploading the excel sheet as well. The email should trigger on dates in column F to corresponding email addressed in column E ..

The email body should say :
Hi,

Your employee "Column C" is approaching his probation period on "Col D". Kindly confirm if you want to confirm on the date of "Column D" or modify it.
 

Answer:Need help to send automated email based on the date field

Have a look at the attached I have written the code necessary however if you have any changes you would like made let me know.
 

1 more replies
Relevance 56.99%

Hey everyone,

I'm having problems with Access, where I have a date/time field, which stores a month and a year (successfully), but still automatically assigns the first date of the month in question.

I used the following input mask (00/0000;;_) for the date field, and so far I haven't had any troubles with putting in a month and year. So far so good. But when I complete the date and move on, Access changes it to a full date. e.g. 06/2010 --> 01/06/2010.

Now, I'm actually fine with this part, my only problem is that I don't want it to do this in forms (both datasheet and normal view) or reports.

I heard something about using a Format (http://office.microsoft.com/en-us/access/HP010990151033.aspx) to adjust the display, but I can't seem to get that to work. Is there any other way to tell Access how to display the date field, like what can be done in Excel?

This is rather urgent as I have a project due tomorrow and this problem (as well as others) have now been reached and I'd like to solve them as soon as possible.

Any help is appreciated, and I look forward to your responses.
 

Answer:Solved: Urgent: How do you format the DISPLAY of a date field?

8 more replies
Relevance 56.99%

This one has got me. Has anyone figured out a way to do this easily? I can create a new column and extract the right characters and make it work ... but just wondering if there is a quicker way out there!

Thanks in advance for your time/help ...
 

Answer:Excel: Extract hour ONLY from a date/time field

Ok, got it to work ... but not sure if there is a better way.

I created a 2nd colummn and used the =RIGHT(D107,5) to isolate the time (10:32) from the date/time field (JAN 12,2014 10:32)

I then created another column and used =TIME(HOUR(C107),0,0) to pull out the hour ONLY in 10:00 AM format.

Is there a quicker way out there?
 

2 more replies
Relevance 56.17%

I've searched the forum and can't find the help I need...perhaps I'm not using the right keywords.

Anyway, I want to automatically have a time stamp entered in a field named "CancelDate" if a yes/no field named "Cancel?" is checked. On the form I use an action button for that field.

I'm new with VBA, but after some research I entered this code in the AfterUpdate line in Properties:

Private Sub CancelDate_AfterUpdate()
If Me.txtCancel?.value = 1 Then Me.txtCancelDate = Now()
End If
End Sub

...and it doesn't work. It seems to hang up because of the question mark. I get a Compile Error: Expected:Then or GoTo.

Can anyone help me?
 

Answer:Solved: Access 2007 Record Date When Field Updated

10 more replies
Relevance 56.17%

I am furious at not knowing why my date/clock in Windows 7 keep changins its appearance. It is as if the files or settings for Windows change mysteriously back and forth and I don't like it one bit.

The issue pertains to this clock/date shown at the bottom right corner on the screen just beside the system tray.

Sometimes it tells me the clock and no date or anything else is shown.
Some hours later it changes mysteriously to show the clock and the date format I once set, so that I get to see the day of the week, the date in numeral and the month in letters, and finally showing the year.

Something appear to be horribly wrong in Windows and I have no hope fixing it.

Only hope here is if this issue is familiar to other people.

Answer:Weird behavior by Windows 7, clock/date field changing

Do these changes happen when you hover your curser over the date? A few screenshots would be helpful!

9 more replies
Relevance 56.17%

While searching for some information in some old files, I noticed that every time I open a Word document, using Word 2007, the "date modified" shown in Windows Explorer automatically updates and changes the file properties to reflect the current date and time. I make no changes to the file and at no time am I asked to “Save” the document, which would justify the update of the “Date Modified” field.

This happens in both Vista and XP.

Is there any way I can change this setting? I only want the date modified to change when I actually make a modification to the document.
 

Answer:How to stop updates to Date Modified field in Windows Explorer

7 more replies
Relevance 56.17%

How do I stop update of date field in Word? I set the date to original date and try to save as PDF but it updates on save.

Answer:can't stop date field in Word from auto update in old docs

What did you do to get the Date, Insert --> Date and Time?Or did you use a DATE FIELD:If you are using: { DATE } Then it will always display TODAY'S date.If you are using: { CREATEDATE } Then it will display the date the document was created or saved using Save As.MIKEhttp://www.skeptic.com/

2 more replies
Relevance 56.17%

I want to add a validation rule to a date/time field in Access 2010. This worked in 2003 and I'd like to know why it won't work now.

The rule is

Is Null Or <= Date()

I have entered this through the expression builder as well as typing it to avoid typos.

The error message is:

Unknown function 'Date' in validation expression or default value on 'Artists.Date edited'.

I am doing this at work: we are running Windows 8, Server 2012, Access 2010 via virtual desktop.

Any help would be gratefully received!

Thank you
Alison
 

Answer:Solved: Access 2010 date field validation problem

Alison, welcome to the Forum.
I think you will find that this is an Access problem of Access 2010.
You may be able to overcome it by using Now() instead of Date().
If not I can provide you with some simple VBA code that will do the same thing that may work.
I have also seen advice to open a new 2010 blank database and import everything in to it to solve this problem.
 

2 more replies
Relevance 56.17%

Good day guys

My puzzler today (and has been for ages) is this:

In my Access report, I pull in "StartDate" and "EndDate" fields from the calling form and wish to display them as part of a report subtitle.

I therefore have a field called "DateDetails" in my report header whose ControlSource is:
Code:
="Records Selected between " & Forms!Reports!StartDate & " and " & Forms!Reports!EndDate
The dates actually derive from a table and the date format for both fields in that table is "General Date".

The result is that the report shows the following as an example:
Records Selected between 17/05/07 12:00:07 and 10/08/07 12:00:07

BUT what I want is the following:

Records Selected between 17/05/07 and 10/08/07

or even nicer

Records Selected between 17-May-2007 and 10-August-2007

Can this be done in such a control?

Chris
 

Answer:Solved: Access 2003 - Date Format in a Calculated Field

7 more replies
Relevance 56.17%

Access 2007 Update Query For Updating A Date Field

Hi I have been asked to write a query for an Access 2007 db

I need to update a date field in a table based on another date field in the same table

1st date field is the person's start date (StartDate)
2nd date field is the person's project date (ProjectDate)
Without going into too much detail, the Project Start date always begins on the 1st of the month

If the person's StartDate is between the 1st - 14th the project start date is counted as on the first day of the StartDate month/year

If the person's StartDate is between the 15th - end of month the project start date is counted on the 1st day of the NEXT month

Example:
StartDate = 7/1/2011
ProjectDate = 7/1/2011

StartDate = 7/14/2011
ProjectDate = 7/1/2011

StartDate = 7/15/2011
ProjectDate = 8/1/2011

StartDate = 7/30/2011
ProjectDate = 8/1/2011

I would like to update the ProjectDate in an update query

Any suggestions? Thanks
 

Answer:Access 2007 Update Query For Updating A Date Field

Create a Column heading like this
numdays: format([StartDate], "dd")
or
numdays: datepart("dd", [StartDate])
this will give you the day of the month on it's own
add a second Column
NewProjdate: IIf([numdays]>14,Format([StartDate],"mm")+1 & "/01/" & Format([StartDate],"yyyy"),Format([StartDate],"mm") & "/01/" & Format([StartDate],"yyyy"))

This will give you the date to use in the update query.
 

3 more replies
Relevance 56.17%

Hi ,I want a if formula for the belowIf a date is less than 2 weeks from today then it should reflect as BUCKET CIf a date is more than 2 weeks from today and less than 1 month then it should reflect BUCKET DIf a date is more than 1 month and less than 3 months then it should reflect as BUCKET E

Answer:Hi , I want a if formula for the below If a date is less t

re: "Be aware that the =TODAY() function is termed volatile, every day your formulawill evaluate the formula with TODAY's date,..."To be a bit more precise, the issue with TODAY() being volatile is not the daily change but the fact that the TODAY() function will calculate every single time the sheet calculates, even if the precedent data does not change. Too many volatile functions can cause significant performance degradation in a workbook.http://www.decisionmodels.com/calcs... message edited by DerbyDad03

9 more replies
Relevance 56.17%
Question: Date Formula

If I have one date in one cell and anoother date in another cell what is the formula to give me the amount of days between the 2? Thanks.

Answer:Date Formula

click here Should do it for you.

2 more replies
Relevance 56.17%
Question: Date Formula

In the military we offer our members what is known as Seperation Expense (SE) - When a member is called away on duty or course and is seperated from their family, they receive an allowance (S/E) of $11.50 per day.

Here's where the formula would vary - To make it equal across the board sort of speak - Every month, no matter how many days is treated as a 30 day month. So the max amount a member can claim for monthly S/E is $345.00.

Here are a few good examples :

Case #1: Member starts his course and is entitled to S/E effective the 10th of January (which has 31 days) and does not take any leave, is he entitled to 21 or 22 days? 22 only at the start that we include all days.

Case #2: Member comes in to pick up his S/E for Feb (which has 28 days) and he has taken 5 days leave for which he was reunited with his family. Should he receive 25 days (30 days less 5 days leave) or 23 days (28 Days less 5 days leave) of S/E? 25

Case #3: Member comes in to pick up his S/E for December (which has 31 days) and was reunited with his family from the 21st of Dec till sometime in January. The member is entitled to S/E from 1- 20 Dec, is the formula to calculate his entitlement 30 days less 11 days leave for Dec for an entitlement of 19 days of S/E, or is the member simply entitled to 20 days of S/E for the period of 1 - 20 Dec? member gets 20 days
Case #4: Member comes in to pick up his S/E for Mar (which has 31 days) and tells you that he was on TD (nowhere near his family) and rece... Read more

Answer:Date Formula

10 more replies
Relevance 56.17%
Question: formula for date

I have a start date and end date cell (C5 and C6) I am using a +DATEDIF formula to calculate the number of days between two dates (E8) and the formula is working without any problems......

How can I have exel show me a blank cell if the start and end date cells are empty instead of getting a #NUM!

Any help would be greatly appreciated
Thank you
Tanya
 

Answer:formula for date

my first thought is
try ISERROR in an if
 

2 more replies
Relevance 56.17%

Hello all, is there a date/time formula or a macro i can setup. So that when a certain date hits, excel will automatically substract a amount from a certain cell?

For exmaple, if a customer buys a certain amount of supplies, on the same day of every month, lets say the 15th. In the spreadsheet when that date hits, can it automatically debit their account, rather than me doing it manually everytime?

Thanks
Drew
 

Answer:is there a date formula?

13 more replies
Relevance 56.17%
Question: Date Formula

if cell A1 CONTAINS THE DATE 12 JUL 02

HOW CAN I DO A CALCULATION IN CELL C1 THAT WILL TELL ME IF CELL A1 CONTAINS A MONTH BETWEEN JAN AND JUN ???

THANKS
 

Answer:Date Formula

Try the following formula in cell C1

=(IF(MONTH(A1)>=1,IF(MONTH(A1)<=6,"YES","NO")))

Rollin
 

1 more replies
Relevance 55.76%

When items are loaned out we want them returned in 30 working days (approximately 6 weeks I'm not going to bother trying to calculate holidays) but to only come back on a week day Monday through Friday.

Field Name ReturnDate_Fld this needs to be calculated as 30 working days from the current date

or should I not worry about the extra effort and use the approximate by adding 42 to the BorrowDate_Fld (plus 42 days = 6 weeks)

Should I worry about this in a form or only set it as field in the report/query?
 

Answer:Solved: Access 2010 Set a date field to today plus 30 working days

16 more replies
Relevance 55.76%

Hello,

I have been struggling with this for a couple of days.

Here's the scenario: I have 2 sets of data, one shows repeat calls for a list of customers, the other shows trouble reports for the same set of customers. I want to count how many times each of these customers called within 30 days of the original trouble report.

I have tried using a nested count Iif expression but I don't have a lot of experience with expressions and apparently am using it incorrectly. What I have tried is something like this:

=Count(IIf([Contact Date/Time],+30,1))

Any suggestions or ideas are welcome at this point. Thank you in advance!

Thanks,

sdl19
 

Answer:Access 2013 - Count only if date falls within 30 days of field from different table

I would create a 'groupby' query using the DateAdd function for criteria. If this is a report you should be able to link this query to the report query by acct number or something.
SQL looks like this example
SELECT Table1.Name2, Count(Table1.ID) AS NameCount
FROM Table1
WHERE (((Table1.Date1)>DateAdd('d',-30,Date())))
GROUP BY Table1.Name2;
 

1 more replies
Relevance 55.76%

I have a Word 2010 document and I want to have specific text appear if a date is more than 42 days away from today (whatever today happens to be). I've got a three-cell table that looks like:


________________________________________________________

| DATE: | 12/25/13 | { =IF(B1-TODAY()>42,TRUE,FALSE) } |
________________________________________________________



I keep getting a Syntax Error on my field in the 3rd cell. I think the problem is that Word doesn't understand "TODAY()" like Excel does, but I don't know if there is any other way to calculate the days between two dates? My eternal gratitude to anyone who can figure out how to do this properly.

Answer:Date calculation using Word 2010 table/field Syntax Error

You will need to create a spreadsheet then "Link" that spreadsheet containing the calc cells.

Things to Remember When Linking
If you move the linked Excel file, you break the link. To fix this, you need to relink the file.
Double-click on the Excel data in your document to edit it: this opens the linked spreadsheet.
You can also edit the spreadsheet directly: the changes appear in your Word document once you save the Excel spreadsheet.
Regards,
GEWB

3 more replies
Relevance 55.76%

Hi, I was kindly helped my AJ on this site to end up with

=SUMPRODUCT(((A7:A18)>=A6)*((A7:A18)<=B6)*(B7:B18))

for the folowing:
2 colums, 'A' with the year (currently as plain number) 'B' with a simple number. There are roughtly 5/8 entries for each year, from 1989 to 2008. I need to sum 'b' for a range of years, (say 1990 to 1995), I can do it for one year value but not more.

but the further problem I have is:
I have a list of 160 rows with the year being the key data field and selecting various ranges say 1995 to 2006.

I need to capture the data in a way that I need to keep historic info for years gone (2006,2007) but then alter the sheet (remove a row if no longer relevant) for current and future years.

I was thinking of having a final column with a "year removed field" and the main formula above being dependant on that for inclusion, make sense?
Many thanks
 

Answer:Excel 2003 - Selecting data within a date range with a further logic field?

8 more replies
Relevance 55.76%

I would like for my Access 2007 database to automatically record the date/time when the data in a SPECIFIC field is modified (not when any data in the record changes).

Here is a simplified explanation of my scenario. This database keeps track of cases in my office. A data entry form named "Cases" feeds a table named "Cases." The form includes text boxes that correspond to the fields in the table. Three of these are: "Case_Notes," "Case_Status," and "Date_Status_Change."

I would like for the "Date_Status_Change" field to automatically reflect the current date/time whenever the data in the "Case_Status" field changes. I do not want the date/time to change when information in the "Case_Notes" field is modified.

What code would accomplish this?

The following code will enter the date/time for a change anywhere in the record:

Private Sub Form_BeforeUpdate(Cancel As Integer)
Me![Date_Status_Change].Value = Now()
End Sub

But I want to limit it so that it dates changes ONLY in the ?Case_Status? field.
 

More replies
Relevance 55.76%

Hi,I am looking to see if there is a formula where I have a date in cell B1, and the formula results in the date in C1 being 7 days later than B1, and the date in cell D1 is 14 days later than that in B1. Also, in a reversal, so the date in A1 is 7 days prior to that in B1....Can anyone help me please? ThanksPaulEdit: Subject line edited by Office moderator to be more specific.

Answer:Help with Excel Date formula

Format your 4 columns as a Date.You are entering a date in B1 so in A1 use =B1-7In C1 use =B1+7In D1 use =B1+14HTHBryan

2 more replies
Relevance 55.76%
Question: Excel date formula

HiI have a spreadsheet which includes the start date for a number of employees.I want to work out when they will have completed 25 years service.Please could someone tell me what formula I need to use to add 25 years to each date.ThanksKJ

Answer:Excel date formula

With a date in A1=DATE(YEAR(A1)+25,MONTH(A1),DAY(A1))

2 more replies
Relevance 55.76%

I have to do this for class I have excel 2010, but the numbers are not coming out right. Help please?cell a-2 1/1/2009 cell b-2 9/1/2009 cell b-3 ={[(B2-A2)-280]/7}*-1That is what is in the book it is to find out Babys gestational age in weeks. This formula would not work at all, I removed all the {[ and it worked but the sum is not correct, any ideas????Thanks!edited by moderator: Title Edited To Be More Specific

Answer:Help Excel Date Formula

Read up on Calculation operators and precedence, I believe that is the point of the formula.The { [ characters are there as a visual aid.MIKEhttp://www.skeptic.com/

4 more replies
Relevance 55.76%

Hi... I need to find out the remainer of months in the year times an amount... Example:8/20/12 141.00I would like to know what the formula would be for this date till the end of the year times the 141.00. Can you help?Thanks,Mel

Answer:excel DATE formula help

I need to find out the remainer of months in the yearYou can use the =DATEDIF() command.If your data looks like:
A B C
1) 8/20/12 141.00
In cell C1 enter the formula:=DATEDIF(A1,"12/31/2012","m")*B1MIKEhttp://www.skeptic.com/

4 more replies
Relevance 55.76%
Question: Excel date formula

I have an excel spreadsheet with rows of service event start and end dates, grouped by id number:
1)12345
2008/01/05 2008/01/06
2008/01/12 2008/01 14

2)54321

2008/02/01 2008/02/10
2008/02/02 2008/02/02
2008/02/03 2008/02/03
2008/02/11 2008/02/14
I need to calculate the number of days between the end date and the next service start date - example 1 above is straightforward as it's A3-B1: 2008/01/12 - 2008/01/06

Example 2 gets trickier because the first service event spans 9 days, and other service events occur within that period - I need to find the difference between the last event date (2008/02/10) and the next one after that - (2008/02/11). In my 5 full worksheets of data, the number of rows between the valid entries is not constant - it could be the third row or the thirteenth. Does anybody have any ideas? many thanks!!!!
 

Answer:Excel date formula

6 more replies
Relevance 55.76%

Need help setting up a date formula in Excel '97.

Have first date of today, have second date of next available appointment. Need Excel to formuate the turn-around time (i.e. today 4/6/04, next appt date 5/5/04 = 29 days.

How do I do this??? It's driving me crazy. It's probably something quite simply that I'm not think of!

Thanks!

Holly
[email protected]
 

Answer:Excel 97 Date Formula Help!

This is what you are looking for. (I think)
 

2 more replies
Relevance 55.76%

I’m doing a mail merge and a date that I would like to merge to my letters is found in 2 different columns on my .csv data sheet. Column A has mm/dd and shows “1106” for November 6th and Column B has yy and shows “7” for 2007. The data is formatted as a number – when I format the “1106” to a date it shows “1/10”. Is there a formula to take the data from both cells and format it to show “11/06/2007”? I'm using Excel 2000 and XP.
 

Answer:Solved: Date Formula

16 more replies
Relevance 55.76%

Using OOCalc 3.1.1:

Was looking for a formula to show a future (monthly) date for an event to take place and found the following:

cell A1: =DATE(YEAR(A4);MONTH(A4)+1*(DAY(A4)>=1);1)
cell A4: =TODAY()

where, when the 1st of the month happens, A1's date would increment to the next month.

For example: On 03-31-10 (cell A4), 04-01-10 would be showing in (cell A1). When A4 goes to 04-01-10,
A1 goes to 05-01-10 ( MM/DD/YY format)

In trying to figure out how the formula worked, I tried the Function Help files but that didn't provide any useful
info. What I don't understand about the formula in A1 is the * in front of *(DAY(A4)>=1);1) . Normally, the
* is used as a multiplication operator; however, it doesn't make sense (to me) in this situation.

What I've been trying to do is modify the DATE formula to do basically the same thing but incrementing
either weekly or bi-weekly ( 04-01-10 to 04-08-10 weekly; 04-01-10 to 04-15-10 bi-weekly). Just don't know
enough .

Was also wanting a yearly incrementation and after making untold number of modifications, finally got it
to work. =DATE(YEAR(A4)+1;MONTH(A4);DAY(A4)>=1) . But the *(DAY(A4)>=1);1) got modified to
DAY(A4)>=1) with the *( getting deleted as well as the ;1 .

Can anyone enlighten me as to how/what purpose the * serves , as well as the ;1 in the original
formula ??

thanks
ray
 

Answer:Formula for future date

You can try this, it displays the first of the next month

=DATE(YEAR(A4),MONTH(A4)+1,(DAY(A4)>=1))

When you see the * in your formula it can also be used as an "AND" condition, a PLUS + would be an "OR" condition but it depends how the formula is constructed as to whether it will calculate or interpret

eg...

This does not work..

=IF(B1=1 * B4=3,"True","False")

put brackets around...

=IF((B1=1)*(B4=3),"True","False")
 

2 more replies
Relevance 55.76%

I am trying to create a formula that will add a range of cells if there is a date (any date) in the corresponding cells.In column C(rows 4 to 1334) there are counts entered. In column H, there are dates entered if the corresponding counts have been received. I want a formula at the bottom of the page that will add up the counts in column C, but only if there is a date in the corresponding cell in column H (cell is no longer empty).I'm pretty sure it's a sum if formula I need, but the formula below does not work. So, I'm pretty sure I'm missing something obvious.=sumif(H4:1334,>0,C4:C1334)I would be very appreciative of any help you could offer.Thank you.

Answer:excel formula for sum if date

Not quite right, try this:=SUMIF(H4:H1334,">0",C4:C1334)You left off the column indicator in the first range and in the criteria to match section, if your doing a comparisonit needs to be surrounded by quotes. IE: ">0"MIKEhttp://www.skeptic.com/

7 more replies
Relevance 55.76%

I am trying to create the following pivot table formula:=IF"duedate(E2)>13,todays date(H2) true, # of days overdue<13=0, false)What I am trying to calculate is if it was due on this date 12/10/10, and todays date is 2/12/11, how many days is the document overdue. I need to put this in a formula that excel can understand. Can anyone help?

Answer:Date formula in excel?

I'm assuming the due date is in E2.This will return the difference between Today's date and the date in E2:=DATEDIF(E2,TODAY(),"d")Nested within an IF function, it could be used like this:=IF(DATEDIF(E2,TODAY(),"d") >13, "The item is overdue", "The item is not overdue")Note: The Help file for DATEDIF is missing in Excel 2003. If you want to learn more about it, look here:http://www.cpearson.com/excel/dated...Click Here Before Posting Data or VBA Code ---> How To Post Data or Code.

2 more replies
Relevance 55.76%

I HAVE A SPREADSHEET THAT CALCULATES DATES FOR ME. WE RECEIVE INTAKES ON CONSECUTIVE DATES OF THE MONTH. I NEED SREADSHEET TO TELL ME WHAT IS 45 DAYS FROM THE INTAKE DATE AND 60 DAYS FROM THE INTAKE DATE I have a spreadsheet that calculates dates for me. We receive intakes on consecutive dates of the month. I need sreadsheet to tell me what is 45 days from the intake date and 60 days from the intake date.edited by moderator: Please refrain from posting in all caps. All caps makes it appear that you are shouting.

Answer:Date Calculation Formula

Are you asking for help or just telling us what you need?

3 more replies
Relevance 55.76%
Question: Excel Date Formula

I record the date of when I send a out a letter to customers, I send up to 25 of these letters a day. Once 28 days passes inc weekends I need to send out a reminder to the customers that receive the letters and then another 28 days later send out a second reminder . The ver of Excel I am using is 2002. Is there a formula I can type in to calculate the above?Thanks in anticipationTim

Answer:Excel Date Formula

I am not sure if I have completely understood the question but:- In column A you have the date of the original,in column b enter a1+28 and in column c enter b1+28. Make sure that all the cells format is sent is set to date.

4 more replies
Relevance 55.76%

A person retires at the age of 58 years. If his date of birth is on any day between 2nd and month end.
Ex: if DOB is 15-10-2000 date of retirement will be 31-10-2058

This formula works OK for above
=DATE(YEAR(A1)+58,MONTH(A1)+1,DAY(0))

But if the date of birth is on 1st day of the month his retirement will be last day of previous month.
Ex:
01 Oct 2010 his retirement date will be 30 Nov 2058
01 Jan 1996 his retirement date will be 31 Dec 2033

I want both of them together using if or any other mode of formula

Pl. help me with suitable formula
 

Answer:Solved: Help in date formula

10 more replies
Relevance 55.76%

Is it possible to use the date formula, =TODAY(), in the custom header and footer option. I cant get it to work but thought maybe there was a different way, TIA
 

Answer:Date formula in header?

8 more replies
Relevance 55.76%

Hi, I am trying to use the IF formula to display a value if the condition is a date. E.g. I have a date in cell A2, I want cell B2 to display Y if there is a date in A2 or N if there is no date in cell A2. I have tried =IF(E13=yyyymmdd,"Y","N")Any suggestions? Thanks,

Answer:IF formula when condition is a date

Try this:=IF(NOT(ISERROR(DATEVALUE(TEXT(A2,"mm/dd/yyyy")))),"Y","N")Click Here Before Posting Data or VBA Code ---> How To Post Data or Code.

3 more replies
Relevance 55.76%

I need a formula that will calculate the following

A member goes on a tasking for a complete 24hr period will receive a payment of $16.41. For everday after that he/she is gone and has worked atleast 6 hrs in that day he/she will receive and additional $16.41.

The payment ($16.41) does not start until the first 24 hour is completed and then every additional day after that (6 hrs or more worked) is another $16.41.

I have it set up in this way :
(E18) (F18) (G18) (H18)
IN DATE IN TIME OUT DATE OUT TIME
20 SEP 04 08:00 21 SEP 04 14:55

(I18) TOTAL HOURS - =+IF(H18>0,((G18+H18)-(E18+F18))*24," ")
(J18) TOTAL DAYS - =+IF(H18>0,FLOOR((G18+H18)-(E18+F18),1)," ")
(K18) TOTAL ENTITLEMENT - =+IF(J18>0,J18*'FOA Calc'!$C$8,0)

The problem is that for TOTAL HOURS I am getting an answer of 31 (which is correct) but for total days it should be 2 not 1

his first 24hr period is his first day and his 7 hrs remaining entitle him to another day.

can you PLEASE help me with the formula.....

Thank you

FORMULA
 

Answer:formula for date & time

7 more replies
Relevance 55.35%

Hello,
Firstly, let me apologise, I'm a complete Access noob & am trying to teach myself as I've got no one to help me in person.

Ok,
I'm trying to build a Time Sheet database that should record daily duties via an entry form:
"frm_Work_Hours"

This form updates an underlying table:
"Work_Hours"

The date field of the "Work_Hours" table is:
"Date_Worked"

However, workers get paid fortnightly and all their entitlements, allowances & overtime are calculated on these fortnightly periods. To be more specific, the workers are paid for a certain amount of overtime for each fortnight upfront & when they exceed that, then they are entitled to all excess time back in TIME OFF. So it's pretty important that each day's duties are assigned to the correct fortnight period so that their overtime & so-forth are calculated correctly.

Each fortnightly period is numbered according to year. For example, each year there are 26 fortnightly periods, so as an example today (3rd October 2013) falls in period 2013-19 (23rd September 2013 to 6th October 2013).

I've created a table called:
"tbl_Pay_Period"

Which has the following Fields:
"ID" (Auto-number)
"Period_Start" (date - the first day of each new fortnight period)
"Period_Number" (number - eg: 2013-19)

Back in the "Work_Hours" table, I inserted a new (Number) FIELD called:
"Pay_Period"

and set ... Read more

Answer:Solved: MS Access - How to get a field auto-update based on date entered in a form

9 more replies
Relevance 55.35%

we use outlook to view messages in the military. these messages are most likely refrenced by their date time group. in the message ( body of the email ) it will state the DTG.. example DTG: 291323Z Apr 10

i would like to make a field in my view so i can have the messages displaed by DTG. is this possible? if so how?

thanks
 

More replies
Relevance 54.94%

I plot my blood pressure 3x/day all year long. For example, the dates are shown as:
30-Dec-16
30-Dec-16
30-Dec-16
31-Dec-16
31-Dec-16
31-Dec-16
I'd like very much to block and copy a years worth of dates from my 2016 file showing 2016 and convert all the year dates to 2017. Is there a relatively simple formula in Excel (Win-7/ Office Pro Plus 2010) I can use?
Thanx.

Answer:Date changes in Excel - Formula required

This may not be the most elegant method, but it is easy... And since no one has come to your aid...
Copy the date column (2016 dates) and paste it into your new sheet as column B.
In cell C1 use the formula =B1 + 365 where cell B1 is your first date
Copy the formula in cell C1 down the column (C2, C3, C4, etc) to all the other C-cells
Hide Column B
Now only the new dates show in the new spreadsheet. Not elegant, but easy & fast. (Be sure to copy the format so your dates appear as you want ie 30-Dec-16)
Hope this helps..

1 more replies
Relevance 54.94%

I have a small spreadsheet which I use to track my vacation and sicks days. Currently I use conditional formatting to hide each weeks data until the end of the pay period. The one thing I haven't been able to figure, though, is how to prevent a =SUM formula from executing until a specific date is reached. I'd like to end my vacation days early, but when I do the formula kicks in and immediately adjust my totals, rather than waiting until the pay period is over.
EX: If I enter any values in columns C:M, the formula in column Q immediately deducts the amount from Q30. Thanks for any assistance you can provide.
 

Answer:Execute formula on specific date

Your sheet pretty does what you says for Q30.
Btw, what is your excel version?
 

2 more replies
Relevance 54.94%

I need help making a formula calculating 90 days before a certain date, i.e. if something is due on Aug 31st, 2012, how do i make a formula showing 1st submission due 90 days earlier, i.e. May 31st, 2012? Thanks

Answer:Excel Formula To Calculate Date

First, a posting tip:When you post a question in a help forum such as computing.net, please use a subject line that tells us something about your post.If everyone used a generic subject line such as Excel Formula, we wouldn't be able to tell one question from another.I have edited the subject line of this thread.As far as your question...With your date is A1, it's as simple as =A1-90DerbyDad03Office Forum ModeratorClick Here Before Posting Data or VBA Code ---> How To Post Data or Code.

2 more replies
Relevance 54.94%

Re: Excel formula1. B2 contains date 10/1/20152. B3 needs to contain B2 + 5 WORKDAYS 10/07/2015When I use the WORKDAY function, it calculates correctly However, I want B3 to stay blank if B2 is blank.right now it displays this when B2 is blank: 1/5/1900Can anyone help me with this, pretty please?message edited by lizzyb1120

Answer:need to formula to automate date +5 days

=IF(B2 = "", "", your current formula goes here)Caveat: I'm assuming that by "if B2 is blank" you mean an empty cell.Click Here Before Posting Data or VBA Code ---> How To Post Data or Code.message edited by DerbyDad03

2 more replies
Relevance 54.94%

A2 = 03/21/2016
B2 = 04/05/2016

There are 15 days in the pay cycle.

I need to add 5 days to the end date to get the payroll date. But if that date falls on Saturday or Sunday, I need to get Friday's date.

I'm doing the formula in C2, though it doesn't matter.

Examples:

A2 = 03/21/2016
B2 = 04/05/2016
C2 = 04/08/2016 (because the 10th is Sunday)

A2 = 04/21/2016
B2 = 05/05/2016
C2 = 05/10/2016 (because it's a Tuesday)

I've been trying to work out the WEEKDAY function, but can't get it to work. It's been a while.
 

More replies
Relevance 54.94%

I am trying to create a spreadsheet that will automatically calculate the 1st day of the month in the column A. Column B is the payment amount. Column C is the balance remaining. I am using the following formula:A1 + 30The problem is, say March which have 31 days. It gives a return in Column A of 3/1/2012, then 3/31/2012. I want 3/1/2012 then 4/1/2012. Also, February goes from 2/1/2012 to 3/3/2012. Please help me fix this. Thank you.

Answer:Compute monthly date formula

In the time it took you to post your question you could have manually entered each date. :-)Enter 1/1/2012 in A1Enter 2/1/2012 in A2Select A1:A2Grab the auto-fill handle and drag it down as far as you need.Click Here Before Posting Data or VBA Code ---> How To Post Data or Code.

5 more replies
Relevance 54.94%

I would like to no how to change a date automatically in a formula, We recieve Sales Reports and i want to pull all the information into my excell spreadsheet, what i do is save it in my documents and my formula i place into my cell is salesreport201209.xls='C:\Users\Liane\Documents\[salesreport201209.xls]Sales Sheet'!$I$8What i want to do is place this in every cell but i dont want to have to go through and update the date in every cell, this would take many days.. i was wondering if anyone new how to keep that exact formula and it automatically updating the date evey 7 days? just like if i was to place just the date into the cell and pull it down it would automatically form a date in each cell down the page!Any help would be great.Edit: Subject changed by Office forum moderator

Answer:Change Date String In Formula

I played with this a bit and it seemed to work...For this example, I'm going to assume that cells A1:A3 are free on the sheet that contains the formula. Adjust as required...I'm also going to assume that since your example date (December 20, 2009) is a Sunday, you want the date updated every Sunday.I'll break this into pieces to make it easier to explain. It could probably be combined into one long formula, but I'll leave that up to you.In A1 I put 1/3/2010 which is the first Sunday of 2010.In A2 I put:=IF(MOD(TODAY()-A1,7)=0,TODAY(),(DATEVALUE("01/01/2010")-(WEEKDAY(DATEVALUE("01/01/2010"),2))+(WEEKNUM(TODAY()-7,1)*7)))This should update A2 so that it always shows the most recent "Sunday Date". e.g. as of today (1/27/2010) my sheet shows 1/24/2010, which was last Sunday. As of 1/31/2010, A2 should show 1/31/2010 until 2/7/2010 which is the next Sunday.In A3 put this:=(TEXT(DAY(A2),"00")&TEXT(MONTH(A2),"00")&RIGHT(YEAR(A2),2))On my sheet this returns 240110 which I believe is the format you are using in your filename.Finally, your formula should look like this:=INDIRECT("'C:\Users\Liane\Documents\[salesreport" & A3 & ".xls]Sales Sheet'!$I$8"The INDIRECT function builds a formula from text strings, so it should pick up the current value in A3 and build the filename.Note the Double then Single quote before the C. The Double quote starts the text string which must include the Single string for the formula to work.One caveat: The TODAY() function will not update just because you... Read more

2 more replies
Relevance 54.94%

Ok, I need a formula in Excel that converts a date field (i.e., 7/29/04) to the name of the day that represents (i.e., Thursday). I don't care what form the day is, it can be text or date displayed with just the day.
 

Answer:Need a formula to convert a date to text

Actually you don't need a formula.

Just format the cell as Custom, with a format of dddd.

That will display only the full day (Thursday), without "destroying" the underlying date data.
ddd format displays the shortened version (Thu).
 

3 more replies
Relevance 54.94%

I am trying to create a formula in that:

Col A will be a date of birth typed in as normal(13/06/1967)

Col B will be a formula calculating age on todays date with todays date changing automatically on a daily basis

(All I need displayed is the age of that person today everyday)

Doesnt have to be two columns because I dont need to show the date of birth.

Hope someone can help me, Thank you.
 

Answer:Solved: Excell formula for date and age

7 more replies