see my attached sheet cotaining the following questions. in a day report sheet how should i count request matching the crateria of date and other conditions. in a monthly report a heavy conditional sum calculation which make slower sheets how can i make it faster.
I have several hundred rows of date/times which I need to modify just the date (for example 08/23/2007 11:00 to 08/15/2008 11:00). Each row may have a different time so it is just the date I'm targeting for change.
If I manually use the replace dialog, replacing 08/23/2007 with 08/15/2008 works just fine. However, if in code I attempt to use the Cells.Replace function, it does not locate any data to change.
I have found that if I search for the string 8/23/2007, the dates are located and changed. Only when I attempt to find the fully formatted date 08/23/2007 does the function fail.
I have a spreadsheet with multiple coulmns of data with rows which equate to each site location.
Basically I am after searching one column which says "Earth Rods Fitted" which is located in Column K which goes from K4:K767
In each the rows its either yes or no answer.
So the search would count number of "no" entries in column K.
But then it would search also on column Y (Y4:Y767) for a range of values of risk assessment.
So in column Y you could have each row with different assessment risk score from 0-300
So my search would need to count coloumn K for no earth rods fitted and then count within this range the number of cells in column Y which have risk score say between 200 to 400.
Column K Coulumn y Earth Rods Fitted Risk Score No 350 Yes 55 No 222 No 90
So in above case there is 3 enries with no earth rods in column K and in Column Y we are counting rows which have a value in range of 200-400 which above there is 2 entries. So basically I know there is 3 sites needed doing and my worst to based on risk is the two which are 350 and 222.
I have messed around with COUNTIF functions which I can search column K ok, but doing the range search on y in conjuction with K I am finding hard. Someone mentioned use Vlookup but not sure how to do it.
I need to create a table of dates which is structured as such:
A B 1/7/08 Yes 7/7/08 no 25/7/08 yes
Column A is date, Column B is a binary selection (yes, no)
I then have a separate sheet with rows corresponding to each date in July 08. I need a function which will look up the date for each row with the above date range and return the value of column B.
for example - if the date is between 1/7/08 & 6/7/08, it would return Yes. If the date is between 7/7 & 25/7/08 it would return No.
The above table is not fixed and can have many dates, with no pattern for the dates. I though of using a nexted IF statement but it would become a bit clunky.
I have data on one sheet which has many columns, but i need a formula that will show in a different sheet all cases where column C matches my search criteria but only those cases where column D has the value YES, and should return only the data from Columns A, B and E. I also need a formula that will show only the count of where my search criteria is met.
I'm trying to make a macro to search in a list of indeterminate results, and when found, to count how many found results and select the ones found, and then to put the results in the cells I2 and J2
I already have this code, but is a bit out of what I want.
Code: Private Sub CommandButton2_Click() 'dimensiona as quantidades de cada criterio Dim c1, c2 As Long
[Code].....
This one open a MsgBox with the results, and i want the results on the cells I2(what it was search) I3(how many it was found) J2(what it was search) J3(how many it was found)
And this one also dont "paint" the cells with the results, and this one only search if you put the rigth sentence... Ex: if i search for "miguel" and the cells have "Miguel" it won't count :S
I want to count the number of cells in column C with one forumla that answers the question, "How many of the cells in column C contain the words, APM, BPPM, CAPM, and NMS while exluding any results that have "OUTLOOK" in Column K?
I'm trying to make a combo box that lists only unique entries in 2 columns but also has a count in brackets beside the entry. For example:
Apples (8) Bananas (13) Grapes (2)
The code I have to populate the box is:
Sub RemoveDuplicates() Dim AllCells As Range, Cell As Range Dim NoDupes As New Collection Dim i As Integer, j As Integer Dim Swap1, Swap2, Item
Set AllCells = Range("e3:f370")
What can I add to count how many times an entry is listed in my range? Also, the filter works off text from the combo box, how can I remove the counts prior to filtering? Here's what I'm using now to filter:
Private Sub SrchBtn_Click() Worksheets("sheet1").Range("b1") = ComboBox1.Value Range("A2:J1000").AdvancedFilter Action:=xlFilterInPlace, CriteriaRange:= _ Range("L1:M3"), Unique:=False ActiveWindow.SmallScroll Down:=-5 Unload Me End Sub
I have a list of ID# (Col A) and dates (Col B). The ID # of reference is Col (F) and today's date (Col G). I need to count how many future dates there are in the list (Col B) that are unique and in the future from today's date.
I'm still fairly new to all these formulas and functions which is why I'm not attempting this in VBA.
I've attached an example work book and I would like the result in H2.
I have data in 3 columns: Name, Inclusion Date, Exclusion Date. In some instances, the inclusion date and exclusion date will be zeroed out - I do not wish to count those. What I would like to count is the rows that have an inclusion date, but not an exclusion date. Ideally, I would like to have a code so that when I run a macro a msgbox appears that indicates how many members there are.
I'm trying to use countif or similar to show how many times a given date is between 2 dates (inclusive). Each row of the spreadsheet contains amongst other info, a Start Date and an End Date. If i've got 2 rows like this:
I'd want to lookup 02/01/2009 and have it return 2 (02/01/09 falls between the dates on row 1 and the dates on row 2). To give some context, this is an export from a database containing staff holiday dates, and I'd like to be able to see how many people will be on holiday on any given date, given the start and end date of all holiday occurances throughout the year.
I have a spreadsheet which I use to track when a work request is recieved, when we confirm the request and when we action the request. I have been trying to write some code to count the amount of requests, receipts and actions we have processed in the last month.
My first column shows who the request is from The second shows date recieved The third shows date we send receipt The fourth shows the date actioned.
I have this sheet for a search of data with two conditions (K4 and L4) to give me the minimum value in E column. Its working great but i need something more. Sometimes the minimum value in E column (Cons.) is the value of the date in J4, and i need some condition, if possible, in the formula on I7 that gives me the same result that it gives me now but without considering the data of the date in J4.
I have a table comprised of 52 weeks (7 days each week) totaling 365 days. Here's what one week only
looks like
Week 2 Sun. Mon. Tue. Weds.
[Code]....
I keep the prior year in a separate sheet in this same workbook. I need a formula or function or something to search the prior years table and pull the last years sales and last years customer count from the prior years sheet based upon the date.
I have a spreadsheet with dates filled in all the columns, in the first row. How can I use VBA to bring up a Pop up Calendar so that when I click on a date, it will take me to the cell with that date?
inside cell a30 i have a date function which displays: Mon 07/22/2013 3:30:14 AM. i realize that excel actually uses 41477.146 Can i search for something kin the display, i.e. "Mon"?
I am trying to search for a certain date and get its row and column number. I am having trouble finding the dates due to its date formats. 4/1/14 4/01/2014 etc
I am using this code to search Set Foundcell = Range("1:1").Find(What:=(Sheets("Data").Range("AF1").Value)).row
When debugging the value of the Foundcell I am getting NOTHING as a result even if the the value at AF1 is 4/1/14 However if I find using the .Find(What:="4/1/2014").row i am getting the row number
I also tried application.match function. foundcell= Application.Match(Sheets("Data entry").Range("AF1").Value, Sheets("Data entry").Range("1:1"), 0) result is NOTHING
Not sure where to start with code to do the following.
I have a Large workbook 150 worksheets in which i need to remove rows based on date criteria.
I need to remove all rows which contain 2011 in cloumn D within the range of B10:T40 without filtering the work sheet first. on every worksheet in the workbook. also I would need the code to skip/ignore sheets that do not have a 2011 date incolumn D.
code for a button that will search for a particular date that below 6 months from the current date today? Just like a notification that there is a date below 6 months from now. I will put this code where already have a code for my workbook.
there are random dates in a column say D6:D17 in the format of (10/02/2014), there could only be one date in this column array or there could be several, like:
1/02/2014 12/04/2014 17/06/2014 5/12/2014
i also have an aray below this in cells D19:D30 With the "A" column showing the months Jan to Dec.
i wish to look the array of D6:D17 and populate the below cells corresponding with the months only, see example below. the reason for this is i wish to then turn the cell green with conditional formatting if there is a date in that month fro the original array.
I am currently working on a VBA function that searches a spreadsheet for a particular time and date. In the time and date column, there exists a cell for every hour of the year from January 1st 12am to December 31st 11:00pm. So for any given date, there are 24 entires with the same date, but each with a different time (that is the intervals are in one hour increments.)
What I have been attempting to put together is a simple worksheet. Find method to search for a date, I.E. 1/22/2006 3:00:00 AM. I have read countless posts and websites saying that you must format the date and time into a window date format such as 1/22/2006, but you lose that time constraint. Well if I search for that in my spreadsheet, i have 24 cells that meet that criteria. Anywhere from 12AM to 11PM. But I may want the one for 11PM... Also, since find searches from top to bottom, I always retrieve 12AM since its the first hour of the day. I apologize for my wordiness, but It is kind of a complicated matter.
Column J is the date opened. Column T is the date closed. Of course, column T will have no date if still open. Column K and O may or may not have text. Column AF6 has a date, mm/dd/yyyy, that is entered/changed depending on the search.
What I need is a formula in AF8 that will look at the date entered in AF6 and find a match in columns J and T. Then it will look to see if there is text in K and O. If so, populate AF8 with that text.
I am trying to make a summary from a table showing the newest value available for a set of items(1,2,3,4), this is according to an investigation date the summary table shoul display only the values for the investigation date, but if there are no values for the investigation date, them should take the previous recent date from the investigation date, and if there is not value at all, then shown N/A
I am attaching the excel sheet for a better ilustration of the problem I tryed a combination of formulas that I tooked from other threads but is not working properly.