Cell Displaying Date
Nov 12, 2009Each time my spreadsheet is modified and saved, I would like the date of this action to appear in a cell. I think this may involve VBA but I'm not sure.
Let's just say, the cell is L54. I am using Excel 2007.
Each time my spreadsheet is modified and saved, I would like the date of this action to appear in a cell. I think this may involve VBA but I'm not sure.
Let's just say, the cell is L54. I am using Excel 2007.
My head hurts from working on this all day. I have a large spreadsheet and in the top left corner I need to show the percent of vehicles that are not working out of our whole pool. I have a function that detects the color of the cell (Red is broke) and counts the total of red cells and then divides it by the total giving the percent and it is in G118 for Jan 1/2007, H118 for Jan 2/2007 etc. I made a function that will count Julian days from Jan 1, so for today I get 114. I know I need to display G + 114 columns but have no idea how to get that column name from this and always display the current one in the corner.
View 9 Replies View RelatedHow can display the last modified date and time of my excel file in a particular cell - Say in cell E1.
This is the same value that we get when we Right Click excel file->Properties->General and look at the label "Modified".
I have a Cell and the Formula for my Cell is the Following:
Code:
="Week Ending " & 'A01'!D248
The A01 Worksheet displays the value as 4/21/2012 . However, the first worksheet displays the value as
Code:
Week Ending 41020
rather than
Code:
Week Ending 4/21/2012
What can I do to display the cell the way that I want to? I've already tried formatting the cell directly as Date to no avail.
What I need to do is that I have electrical tools that get tested on a certain date in Column A. I need Column B to look at column A and determine and display in date format the next quarter when test is due.
Practical example: Extension cord got tested on 04/04/12. The next test needs to be conducted on 01/06/12. If the test is overdue and gets conducted on 02/06/12. The column A will change to 02/06/12 and column B should change to 01/09/12 as a result.
The formula I have got to work is
=DATE(YEAR(F2)+IF(MONTH(F2)>9,1,0),CHOOSE(MONTH(F2),4,4,4,7,7,7,10,10,10,1,1,1,),1)
but this makes the quarter dates as APRIL, JULY AND OCTOBER - they need to be MARCH, JUNE, SEPTEMBER
when I change the formula to
=DATE(YEAR(F2)+IF(MONTH(F2)>9,1,0),CHOOSE(MONTH(F2),3,3,3,6,6,6,9,9,9,1,1,1,),1)
The dates work BUT if the following test is undertaken on 01/03/12 the date in Column B does not change to 01/06/12. Why? How do I get it to work?
Is there anyway I would be able to display the current age of majority (19 here at home) in a cell or userform? This would have to be current each day the form or sheet was opened.
View 5 Replies View RelatedI have been trying to get this formula to work, and it appears it only works when it wants to and I cannot figure out why. What I'm trying to do: I have a spreadsheet with several columns of data, but I want the formula to read only two entire columns for a specific criteria for each column, then display the most recent date based off the criteria. I do not need to total up the criteria, just display the last date. This is what I have so far: =IF((AND(Sheet2!A:A=B2,Sheet2!B:B="Game: Counter Strike - Source")),MAX(Sheet2!C:C)).
I have this in a table, header as "last date" which is (C2), the B2 in my table would be where criteria would be typed in. So basically, my table should pull the last date from based off the criteria from raw data in sheet2, that is entered in to B2 on sheet1 and is "Game: Counter Strike - Source".
I currently have to display a large amount of data on a separate report. I have a master sheet which has columns and cells linked to another sheet, then a further sheet which has cells linked to the master sheet. The problem I am getting is when I link some of the date columns using a formula in the 3rd sheet, as this is looking at a cell that has another formula in on the other sheet it is displaying a date of 00/01/1900 if the value is zero, is there any easier way of getting the data to just display a blank as this is messing up the database it is being exported
View 9 Replies View RelatedI'm trying to get excel to display a quote, plus a cell's text/value... the problem I am having is that the format is a date, and it ends up showing something like 37896 instead of 11/25/2008 (those are examples, not actuals). Here's the
View 3 Replies View RelatedI have two separate worksheets:
I'm trying to find a formula that looks at Column A on both sheets and if they match enter in column D of the referral sheet the month they were seen but only if its a 1st contact (appt type on column D of contact sheet)
ABCDReferralIDReferral Date409383316 January 2012 Month / year of referral Month of first contact
485955005 March 2012January 2012539372005 September 2011March 2012385048229 February 2012
September 2011483172202 December 2011February 2012944156617 January 2012December 2011
393039322 February 2012January 2012
ABCDContact IDcontact Datemonth / year of contactAppointment Type
539372026 January 2012January 20121ST385048205 March 2012March 20121ST944156616 December 2011
December 2011F/UP222944119 December 2011December 2011F/UP344055529 December 2011
December 2011F/UP539372010 September 2011September 20111st
I maintain a class register in Excel to monitor student attendance. The first row shows the date of the class in the form dd-mm.
I need to identify all dates which fall on a Monday and thought that if I custom formatted a new row as "dddd" and enter the formula =DAY(cell ref) into the cells of this new row it would achieve this- I could easily spot the Mondays for the period under review.
What I'm finding, however, is that the formula seems to incorrectly state that 16th September 2008 is a Monday whereas it's actually a Tuesday- utterly bizarre!
I can get a fix simply by modifying the =DAY() formula by adding 1 to my formula [ie =DAY(A1)+1] but am wondering is this a "so called known issue" with Excel or has anyone else come across it? I have never previously come across this and consider myself to be an above average competency level user of the application.
I have cells on my spreadsheet which contain: =now() and they work as they should - displaying the date and time at the moment of entry. Unfortunately the cells update when other info is added at other locations on the sheet - is there a way to ensure they enter the current 'now' only at the point of initial entry - such that the data doesn't then alter?
View 3 Replies View RelatedI am working with a large spread sheet of people names and the courses that they have attended and what date they attended. The Sheet Identifies : ID No. Names, Courses, Date Attended, Due Date How can i remove all entries execpt for the last date for each qualification entered on each person?
ABCDEID. No.Name CourseDate AttendedDue Date22SmithFirst Aid2010/10/102011/10/1022SmithFirst Aid2011/10/102012/10/1021BobECDL2010/09/092011/09/0921BobECDL2011/10/102012/10/1022SmithECDL2010/08/082011/08/0822SmithECDL2011/09/092012/09/0920TerryFirst Aid2010/09/092011/09/0920TerryFirst Aid2011/10/102012/10/10
I have a spreadsheet containing 2 worksheets. First worksheet has my Students Details and the second spreadsheet has their Campus Locations.
What I need to create is a Formula that tells me "What CAMPUS was the student LOCATED at on the Course Completion Date?"
[URL]
what I'm trying to do is as follows:
John Completes his Course on the 25th July 2013, his Student ID is 450.
I need to go to the CAMPUS LOCATION spreadsheet and first search for Johns student ID (450) in column B. Because John is listed in B2,B3 and B4 excel needs to check date in Column E to see if his completion date was before the Date he started at Campus.
If it is then the Campus he was at will be the value of Column D on that line.
If it is not then it needs to search the next line until it satisfies the condition.
I have a database with a list of transactions with multiple fields, including:
Customer ID
Store ID
Item ID
Date
Price
I am wanting to add a calculated field that displays the first (or MIN) Date from the date column, looking at all of the orders where the customer ID, store ID, item ID and price are the same.
In the attached file I have shown what I currently have, as well as a solution using a helper column, and formulas I would use if I wasn't using powerpivot.
Using MS Query in Excel, I've created a simple query that pulls its records from an SQL dbase. Here's the statement:
SELECT uvVisit.FacilityListName, uvVisit.DoctorListName, uvVisit.Date, uvVisit.PatientVisitId, uvVisit.PatientLast, uvVisit.PatientFirst
FROM CPS.dbo.uvVisit uvVisit
WHERE (uvVisit.Date Between ? And ?)
ORDER BY uvVisit.FacilityListName
The query runs fine and prompts the user to enter beginning & ending date ranges for the visit date when executed. So far...so good...but, this requires me to manually insert a line in Excel above the 1st record and type in something like: "For Date Range: MM/DD/YYY - MM/DD/YY" to denote the date range that the qualified records fall into (something the user wants to see).
However, I'd like to find a way automatically preface and display in the report's output (perhaps as the 1st line of the report in Excel??) something similar to what I'm already typing, and have it pull the beginning and ending MM/DD/YY values from those supplied by the user in the parameter.
Refer to the attached worksheet. On entering a value into cell C7, I'd like the value of the adjacent column D7 to be displayed in F6. Then when a value is entered in manually into C8, it will then update and put the value of D8 into F6. The idea is an individual will enter a value each week, updating that value. I intend to hide column D.
View 2 Replies View RelatedI want to have a function that finds the largest number in a selection range. However, i want it to display what's in the cell beside it! Example:
Say the largest value is in B6 well I was wondering how you would go about displaying the value in C6.
I am using the following math formula in cell C12:
=IF(B12="","",IF(B12<2,-1,INT(B12/5)))
What I want to do is if cell B3 equals a text value of the word "All" then cell B12 would display nothing. If B3 equals any other value then the math formula above be used.
I have a spreadsheet and certain cells are coloured to represent certain
criterier, I would like to display all of one coloured cells to show status
of that colour, say I want all the red cells locations to be displayed so
that i can check the status.
TWO more days to turkey day. 3 more to BF --- yaaaaak! Anyway,
Iam trying to display only 3 workdays in each of three cells. Days displayed depend on today's date.
I am usinf the following but it displays SAT and SUN.
Q3 = today's date
=UPPER(TEXT(Q3+2,"DDDD")) displays THURSDAY
=UPPER(TEXT(Q3+3,"DDDD")) displays FRIDAY
=UPPER(TEXT(Q3+4,"DDDD")) displays SATURDAY -- would like it to display MONDAY
Q3 changes to reflect today's date
therefore this would display:
=UPPER(TEXT(Q3+2,"DDDD")) displays THURSDAY
=UPPER(TEXT(Q3+3,"DDDD")) displays FRIDAY
=UPPER(TEXT(Q3+4,"DDDD")) displays MONDAY
In other words I want to display only the week days in these 3 cells.
I tried:
=TEXT(WEEKDAY(INDIRECT("Q3")),"dddd")
but "Q3 + 2" will not work
the end result desired:
MONDAY
TUESDAY
WEDNESDAY
TUESDAY
WEDNESDAY
THURSDAY
[Code] ......
Am trying to create a simple spreadsheet with some multiplication functions on it. Using this example:
Cell A1 = 5 (multiplicand) x
Cell A2 = 10 (multiplier) =
Cell A3 = 50 (product)
All is well providing I have a number value in cells A1 and A2. When I don't, I would like them to remain blank, as well as A3, the product. The problem I face is when I remove the values in either A1 or A2, what's displayed in A3 turns to the word - #VALUE!. Which also shows up on the printed page.
My question is, like removing the checkmark for "zero values" under tools and options to prevent the "0"'s from being displayed, is there a way of preventing the word "#VALUE!" from being displayed when the values for the multiplicand and/or multiplier have been removed?
Is there a command or macro to display the name of a sheet in a cell?
I know how to do it in a header or footer, but not in a cell.
I need to copy the name that appears at the bottom of a spreadsheet in a cell at the top -- no need to reference the name of a different sheet, just the same one the cell is on.
I have a row of raw quality control data, but some are not in control and should not be used in the calculation of statistical data. There are not a lot of them, so I can manually select these (I use a red fill color for the cell to signify bad data), but I would like to be able to keep these data displayed but not have them included in the calculations.
View 3 Replies View RelatedI have column h with address number.
I have column k with street name.
In column iv i have an x an number or it is empty.
What I want to do is press a button and it starts at iv10 read that cell if empty then read iv11 etc.
When it reads x in the cell then read next witch will be a number.
Example:
iv10
iv11
iv12
iv20 x
iv21 21
So I would get columns a - ae and rows 10 - 21 displayed and wait till i press button again then when i press button it starts
Example
iv22
iv23
iv89 x
iv90 68
then it would display a-ae 22 - 90
I'm looking for a way to insert / display images in a worksheet depending on the value in a cell. The following link is able to do what I need, but it's very limited - i.e. all images must be present in the worksheet first and only the one require is visible:
McGimpsey & Associates : Excel : Display picture based on cell value
I'd prefer to store the images in a normal folder in windows (for a large library of images) and have Excel retrieve the image somehow.
I have 3 'speedometer' type images one for green, one for amber and one for red. I need to display ONE of these on a number of occasions depending on the value of a cell.
E.g.
If the value is 8.0 or above then I want to display the green one
If the value is 4.0 or above but below 8.0 I want to display the amber one
If the value is less than 4.0 I want to display the red one
see attached. The only reason why I include an attachment is because the computer I am using at work is crippled and I cannot download a program which would allow me to display in the message body. A10:C12 is to be a summary of the respective values in A30:C36. I want a formula which will find the first occurrence of a revision number in B30 to B36 and apply the date in the cell to the left to the respective revision number to the above summary date column [[A10 to A12]. B30 to B36 is always unsorted order. It has to allow for lines in A30:C36 which have no entries. Line 32 and Line 33 is an example of this.
In other words, based on the above example, A10 would show date 02/01/06, A11 would show 03/22/06, and A12 would show 04/14/06. Each revision number in B30 to B36 is consistent with regard to the particular revision being the same date. The reason for wanting first occurence is because any one revision in the summary may consist of a number of revision amounts below, each having the same revision number. inally, although I would like to retain the particular column order in the example, if necessary, I can reverse A1 and B2.
look at the attached. In the estimate tab look at the box highlighted in yellow. Then look at the cells in pink (row 70). F70 is selecting the lowest maintenance value from the yellow box but I want C70 to display the hours associated to that value. The correct hours will need to appear according to what value is displayed. (this sounds confusing but look at the formula in F70 and you will hopefully see what im trying to achieve).
View 2 Replies View RelatedI need to display all text after first comma in a cell in another cell. For example
Text in A1 = 1.1, 1.2, 1.3. I need to display in B1 all the text after the first comma which would be = 1.2, 1.3