I have a calendar where the months are listed at the top of the columns and the day of the week is listed in the row. The months and dates are all formatted as a date (Jan is 1/1/2014).
I have a spreadsheet for monthly supplies. In row 1 is Jan – Dec and in the row 2 below are empty cells where there will be a total for that month’s purchases. I want a conditional format formula to automatically bold and highlight the current month’s total and month name.
Also, when I enter February totals next month and that number is input into February’s total, I want that month and total to bold and highlight BUT I also want the previous month’s bold and highlight to vanish at the same time. Is this possible?
Basically, 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 have been using the following function for quite a long. Now i want to make this an add-in, how can i do it.
--------------------------------------------------------------------------------- Private Sub Worksheet_SelectionChange(ByVal Target As Range) Cells.Interior.ColorIndex = xlColorIndexNone ActiveCell.EntireRow.Interior.ColorIndex = 15 End Sub ---------------------------------------------------------------------------------
if this doesn't work, any other way of getting a add-in that can highlight current cell.
I am now wanting to do if the the cell has an active conditional format also highlight that cell. Currently if the cell has an active conditional format nothing happens
Private Sub Worksheet_SelectionChange(ByVal Target As Range) Static rngPrev As Range, PrevColor As Integer Dim TempColor As Integer TempColor = Target.Cells(1, 1).Interior.ColorIndex If Not rngPrev Is Nothing Then rngPrev.Interior.ColorIndex = PrevColor PrevColor = TempColor With Target.Interior .ColorIndex = 35 .Pattern = xlSolid End With Set rngPrev = Target End Sub
I have a worksheet that includes a cell that gives the current week of the month, in the form of "Week #". I've been using the formula below for several months and have had no issues until this month, and it's driving me crazy.
Given that cell D2 is the beginning of the week (usually Monday, but at the first of the month it may be a different day):
="Week " & ROUNDUP((DAY($D$2)+WEEKDAY(DATE(YEAR($D$2),MONTH($D$2),0)))/7,0) I'm not sure where the logic is going wrong here; it's worked so well up until now. For the week beginning November 2, 2009, the formula above returns "Week 2" rather than "Week 1".
I have log data in two columns: Column A: Date/time (at 30 minute intervals) Column B: Numeric data
On the last row of each month, I’m trying to perform a SumProduct on the two columns and display that result in column C.
The end of the range is determined by the month in the current row.
I’m having difficulty finding the beginning of the range, though. I need to account for both the normal dynamic calendar days & the fact that I may get data starting mid-day and mid-month.
I have this formula, but I’m not sure how to make the first array dynamic or if this is even correct approach.
I am trying to allow the Command Button when clicked to go through multiple conditions before making a decision. So, when someone clicks on Command Button 3 the code should look to see if CheckBox1 is true, then it should check today's date, and if it is between a range of days, or even months, then it would add the number in TextBox1 with the amount already in cell H18. This event will happen every time someone clicks on the Command Button.
The end result is to have several sheets (4 total) for each quarter in the fiscal year, and if the dates are within those parameters, the clicking of the command button will update the correct sheet.
I've got a chart showing values for a set of dates. Can I highlight dynamically the data point on the chart with a specified date? I've fiddled around with formatting but suspect I may have to resort to some code..
I have a macro that displays a calendar with code to highlight the current date, but this part of the code does not work and the current date is not highlighted.
I 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
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 working on spreadsheet that calculates yearly totals. It is set up similar to this:
Jan Feb Mar Apr May ETC. TOTAL Charge 123 123 123 Goal 223 223 223 223 Cash 111 111 111 % Coll. 50% 50% 50%
The "goal" column is Self calculated for the current month (I.E. it's April, that goal is calculated) The "Charge, Cash, and % Collections" columns won't be fill in for April until its over. have it add Aprils "Goal" but not add "Mays" and so on... Doing this for the entire year.
I am a memeber of this forum for more than a year, and currently assign into a new assignment which dealing an excel file everyday. We have one excel file for moniroting of action items generated by the management after the study. As since there were around 2,500+ rows has been generated since in the beginning of 1990's till todate. So I was thinking of instead of getting the result through filter manually, I want to create a formula that will count of how many has been closed this month out of the total numbers of action items.
Is it possible to use the COUNTIF formula to count the number of items in Col C, where Col B contains a date?
I have a worksheet that displays all the current months weekdays from a starting date in cell b2 using the weekday formula it works accross a row checking next day is a weekday and adding 1 but since some months have more weekdays than others the few cells that are sometimes not needed are then filled with a weekday from the next month how can I stop this? and only have the current months weekdays
I am trying to write a macro but I got a little stuck. Basically on row 6 I have the months listed out (so like Jan Feb Mar etc), and i would like my macro to dynamically search the the cell of current month and select it.
I know the cell formula for current month (ie. "Mar") is =TEXT(TODAY(),"MMM"), but is there a way to incorporate it into a search command in macro, or do I have to insert the formula into another cell and ask the search function to search for the text value in such "dummy cell"?
Another thing to note is, I do have more of "Mar"s scattered around the sheet, but if I limit my search area to row 6 there is only one, and that's the one I need to select.
i'm using the following three formulas to perform conditional formatting on cell B when cell A contains a date. Each condition depicts a cell colour depending on the following:
Within The Current Month =datevalue(day(today())&"/"&month($q$3)&"/"&year($q$3))=(today())
Prior To The Current Month =datevalue(day(today())&"/"&month($q$3)&"/"&year($q$3))(today())
It took me so time to put this together, but I've one other condition which I need to add to the above which I'm having difficulty in solving.
In addition to setting the cell colour of cell B, i would also like to set a text value.
So if the date is:
Within The Current Month, I would like the cell to say "Act'ls", Prior To The Current Month, I would like the cell to say "Act'ls", and Greater Than The Current Month, I would like the cell to say "A'able"
I have a list of data done by date that is updated weekly. The data in the list changes but only the current month will have changes but the data goes back for a couple of years. Is there a way to clear only the current month from the list and then bring in the data for the current month to the list. The monthly data is stored in worksheets labeled by the month (January 13, February 13) So what I need with for the active worksheet (Master list) to keep all the entries from previous months, remove anything from the current month, then check the the current month worksheet and import the new data. The data on the month worksheets is in columns A and B, and gets moved to Columns A and B on the Master list.
i have a table with a row of dates along the top. beneath each date is a value. the dates and values in these cells changes based on info in other sheets.
i need a way of finding the first date in the current month and returning the corresponding value.
I'm calculating sick days on an Attendance Report. - Sick days accumulate at a rate of 1.25 per month. - Employees will carry-forward unused sick days from 2008. - The maximum sick days is 30.
In trying to create a formula that will multiple the current month (eg Dec=12) by 1.25, subtract any sick days taken YTD (S16), and add the carry-forward days from 2008 (W16), I noticed one problem with the following formula:
I'm trying to figure out what is wrong with this formula. =(SUMIF(Q14:Q4995, "<="&EOMONTH(TODAY(),0),W14:W4995))-(SUMIF(Q14:Q4995, "<="&EOMONTH(TODAY(),-1)+1,W14:W4995)). I've got a cell that adds Total hours worked which pulls from the same column of entered data as the formula above and that cell works. My hours for the month however just shows up as zero. If I try and edit the formula or even just highlight it to copy it and then tab out of the cell this shows up...
1/0/00
If I undo the highlight and tab it will go back to showing zero. I've checked my dates that I entered and they are correct. I'm at a loss as to how to fix this formula.