Use NOW() Without Current Day
May 28, 2007how I can use the NOW() function without the date....just the time?
I need it so that if I format the cell and chage to general, it will show 0.xxxxx
rather than 39230.xxxxx
how I can use the NOW() function without the date....just the time?
I need it so that if I format the cell and chage to general, it will show 0.xxxxx
rather than 39230.xxxxx
I have series of data values like below. I have to find Maximum, Minimum values for each of these values.
9430
9822
10070
[Code].....
EXAMPLE: Complete Sheet called "Day1". When day1 is complete you click on button and it then copies itself and creates and renames new sheet to "Day2", then when "Day2" is complete you click on button and it then copies itself and creates and renames new sheet to "Day3", and so on and so forth to "Day30".
View 9 Replies View RelatedBasically, I'm doing a recorded macro for work where I take an export and manipulate the data to show differences between sales from last year and this year. Also comparing this months projected sales to avg of last 6 months and also against last years this month.
The problem I'm running into is in automating the this month sales for mid-month exports. I can do it individually but I can't find a formula that will do it. Data is in one cell per month, so ex. 130 sales this month so far. I need to have it convert that to projected sales for total month based on what day it currently is.
I want a macro to take the current time and if it is less than 09:00am, I want it to set a variable to be the current time on the previous day.
Basically, an operational day runs from 09:00am to 08:59am the following day.
08:45am on Saturday 13 July (for example) should be recorded as 08:45am on Friday 12 July.
I have the following data:
column a: column B:
1
7
9
25
I need a formula to make column B equal to the current month adding the day in column A. so that column B equal the following:
column a: column B:
1 09/1/2009
7 09/7/2009
9 09/9/2009
25 09/25/2009
All data is located within one book. I have two sheets with material codes in each sheet which include pricing (existing and current)
Sheet1 (has existing material codes plus existing pricing) Has about 1200 lines
Sheet2 (has current material codes plus current pricing), has about 36000 lines
I need to cross check if the material code (taken from sheet1) are still available in sheet2, and if they are, copy the current price back to sheet1. The current price needs to be pasted back into sheet1 (next to the existing price). If the material code doesn't exist (for whatever reason, in sheet2), the program needs to move onto the next line and leave the current price for that material code blank. The program should finish once all the lines in sheet1 are completed. I have attached a sample of what I'm trying to do,
I am creating a formula that can give me current YTD & the same for Last YTD based on the selected reporting month and product ID.
In the file attached you can see in summary sheet that when I ever I choose the reporting month I got the sales for current month, last month, same month of previous year based on the product type, I use sumifs formula to get those data from the sheet called data. Now I failed to come up with a formula to get me the current YTD & last YTD sales based on product ID, If I say that I choose reporting month March 2013, I want excel to calculate for me the sum of Jan,Feb,Mar 2013 sales and also to give me the same but for year 2012 for each product ID, the data will be taken from the sheet name "Data".
I added a link below which contain the file as I couldn't upload it : [URL] .....
I would like to sum the column at the bottem but I get a circuler ref. error. I think this is because of the formulas but is there a way to sum based on the actual values in the column?
View 13 Replies View RelatedI am looking for 3 outputs from the attached report. Output report also attached.
1.Under the column "Created_date"(Column I), I am trying to count the number of rows which has current month in column L and result in output report file under "Risks Added" column.
2.Find and count the number of rows which has been modified this month by using "Modified_Date"(Column N) column and result in output report file under "Risks Updated" column.
3.Compare the column "Status_Change_Date" which is updated this month and "status". If that row has the Status column as 'Resolved' and the 'modified date' column has current month, please give the count of those rows in the output report file under "Risks Mitigated" column.
Below is the basic vba code for copying the rows which has this month created date
[Code] .....
Attached Files:
Sample Report.xlsx
Output Report.xlsx
I am trying to determine the currently active row on another sheet; that is, the row that would be active if I switched to that sheet. Is there any way of doing that without using the ActiveWindow object? It seems clumsy to have to change the active window to the one I am interested in, get the information I need and then change it back again; but I haven't been able to find a property that I can just retrieve off the sheet object. Even so, I am using the following code and it isn't fetching the value from the target sheet anyway. It is returning the current row from the sheet that is calling the function.
View 3 Replies View RelatedI'm try to do a sum function on certain a column and the range will vary each time, the column will also vary.
I have the numbers of the rows but I also have the numbers of the columns, how do I get the letter of the column so I can use it in =SUM?
i did cur_col = ActiveCell.Column but I need it to return a number.
I was wondering how you get the current year (yy)?
View 9 Replies View Relatedhow to get the current time with NOW(). The thing is once that is entered I dont want it to change.
current format of worksheet as follows
Enter race number in column A as racer goes past - Column B is time stamped with current time. The problem being time keeps updating to current time whenever another entry is made.
I don't think there is a built-in function for retrieval of the last day of the month, is there?
Does anyone know how I can retrieve the last day of month using VBA?
So that I can use it like DATE.
Here is the formula in question: =((C5/28)*(C12)+(D5/28)*(D12)+(E5/28)*(E12)+(F5/28)*(F12)+(G5/28)*(G12)+(H5/28)*(H12)+(I5/28)*(I12)+(J5/28)*(J12)+(K5/28)*(K12)+(L5/28)*(L12)+(M5/28)*(M12))+N12+O12
What I want to do is make all of the "12" entries equal to the current row value. In other words "C12" should be "Cx" where x is equal to the current row.
I want to compare performance data YoY, updated monthly on a YTD basis.
Sheet1: columns of data as follows
Jan11 Feb11 ... Dec11 Jan12 Feb12 ... Dec12
1000 200 ... 500 800 900 700
...
Sheet2: If we have data through July 2012, I want to show a sum of Jan-Jul11 against Jan-Jul12 on a separate sheet.
Cell1 (updated each month) = July
ColumnA: Jan-(cell1) 2011
ColumnB: Jan-(cell1) 2012
Is there a formula I can use in columns A & B that will reference cell1 and update using the data from sheet1 automatically when cell1 is changed each month?
I am in need of duplicating a current workbook for others use such that when I update information in the original all those who have a copy of the duplicate will get the updates I have made. I have searched all over for linking workbooks together and I am familiar with linking cells and other small bits of information from other workbooks but in this case I want a duplicate workbook that is updateable from my source workbook.
View 5 Replies View RelatedSo, I need to keep adding together all the numbers from cell row 0 upto and including the row number of the cell with the result. The column with the results is to the right of the column with numbers to add. So, if the numbers are positive, to the right of each should be an ever increasing number as a result. In the column with the numbers to add is a function which as a result gives either numbers or blank cells. It sounds simple but it is frustrating me. Why can't I use the function SUMIF with a ROW function inside the condition field? It always gives me 0 as the result. I use excel 2003.
I probably do't understand the SUMIF function but why isn't =SUMIF(A:A;"1>0") equivalent to =SUM(A:A). This too gives the result of 0. Why don't I get an error instead.
I use the following formula: =1-B6/B7. This formula calculates the difference of 2 values. This percentage is returned. Using the formula with INDIRECT do I get data from another worksheet from another workbook. I use this formula: =INDIRECT("'[Workbook.xls]" & Sheet1!E72 & "'!C2"). This formula gives just the value of C2 of the other worksheet of Workbook.xls
I want a formula that calculates between C2 of the external worksheet of Workbook.xls and B2 that is the current value of the current Worksheet that is not external. I want to return the percentage this way like: =1-C2 other workbook/B6. I want to call the other external workbook the same way as I do with the formule above I have given with INDIRECT.
I tried to use Formulas -> Trace Dependents to find which cells is linked to the current cell.
Excel only shows it is linked to the other tab, but don't tell me which tab exactly. How to find the tab which is linked to current cell?
1) In column A, I have different effective dates.
2) Based on Current system date, I want B column to be populated as "Overdue Date, or Due today or, Due tomorrow or Future dated" in front of that date.
I am trying to get the address of Current Region through a Function call. The function only returns the address of the cell, not current region. Isn't it possible to use Current Region within a function? It works for a Subroutine. I have attached the examples in a file.
View 5 Replies View RelatedI have a file which I use for planning purposes, sometimes two or three years ahead of time. I have a "Reference_Year" cell, B1, which controls most of the dates in the spreadsheet.
I have a code which is intended to change the current year of Excel so if I have 2016 as the "Reference_Year" and I enter "05/05" somewhere in the range D5:D50, the date will appear as 05/05/2016. I feel like I am not too far but at the moment the date I get is 05/05/2000. Ideally I would like it to work with a Reference_Year entered in the format 01/01/2016 (which is used for the rest of the spreadsheet).
[Code] .....
After seaching on this and other forums I have not been able to get an answer to this question. Also I know there are a lot of posts out there that sound like this, but none are the same.
My spreadsheet has multiple userforms, which has multiple textboxes. The textboxes are for dates. I have it set so when you double click in the textbox that it calls a calendar function.
Here is the problem.... After you click ok on the calendar form I want the date to go into the textbox that the calendar form was called from. The only way for me to get this to work is to create a seperate calendar form for each textbox that I call the calendar form from.
I've tried Add Name code but it's not working the way I want. It always refers to the same range like for example
RefersTo:="=sheet1!$a$1:$c$20"
Define Name to current selection....
View 3 Replies View RelatedHow can I use this code but tell it to select all but the right-most column? I have this piece of code...
View 4 Replies View RelatedI wrote this macro that will work on two named sheets but i want to copy the column from the active sheet:
View 4 Replies View RelatedI want to have a column that will show the length of employment for a list of employees. I have a column for each employee already listed as their hire date. What I want to do is have the next column indicate how many days that employee has been on board.
I know about the =Today() and =NOW() and would assume I need to use this somewhere this way every time the spreadsheet is opened it would update the length of employment.