I've searched the forum prior to posting, but have not found exactly what I need and am not familiar enough with macro code to modify based on an existing post.
Here's what I'd like to do: I have a worksheet with columns "A" through "J" which contain production scheduling information. Column "H" contains an estimated completion date - I need a macro to sort the rows base on the completion dates (in ascending order) when I request the macro to run - I'm attaching the macro to a button control. One concern is, the column contains some excel default dates of 1/0/1900 that I don't want to include in the sort because they should stay at the bottom of the sheet, rather than at the top. Any rows with the 1/0/1900 don't yet contain information, only the default date based on the calculations.
I want to pick a range of dates and find the number of days without sales between those dates. So, a formula that will look to a start date in A1 and an end date in B2, and then count the number of days that did not have sales between. Index/Match/Countif/Dateif I can't seem to make anything work.
I have a problem again with one of Date Dif function " =DATEDIF(I5|J5|"m") " in attached file i have this function applied to calculate number of months in between two given dates but it seems this function is not working properly or i am missing some info in this to make it run properly. How to fix this function or give me a proper one which can solve my problem to calculate accurate months between these dates in attached file...
Need a formula (E1) to determine the number of days that have passed between two given dates (C1 & D1) ONLY when the Status of a given report (B1) is "Late"
B1 = Status (Pending; On Hold; Late; Completed) (i.e "LATE") C1 = Status Date (i.e. 28 Mar 14) D1 = Deadline (date) (i.e. 25 Mar 14) E1 = Total Days Late (= ?)
I think I have this wrong. I am using the below listed formula to count the number od dates in a column that are older than 30 days. It comes up "0" even if I enter an old date in the cells in the column.
I have a SAP application that outputs a field of data from a specific query. One column, the date, is produced in the format 18.02.2009. Is there any excel 'trickery' that can convert this into a standard british date format i.e. 18/02/2009 & then allow me to sort the entire data field by ascending date order?
I need to figure out how to tell Excel to count the number of invoices on a worksheet older than 30 days and display that number in my Summary worksheet. Here's a quick example:
Worksheet '1234' has 10 invoices, 6 of which are more than 30 days old (invoice dates are in column B). Worksheet 'Summary' needs to display the total number of invoices and the number older than 30 days.
I have been using a formula to count the number of days between 2 dates and if the date was older than 12 months it would work fine.
The data that i was using has been changed and they have decided to change the format of the dates and dropped the year reference no all i have to work with is dates like 27-07 this represents 27th July i can format this date to work fine unless the date falls before 1 jan this year all i get is lots of numbers and it stuffs up the whole calculation.
I have tried applying the same logic to another formula where I wanted to Also count the number of times “Not Stated” and “In Progress” are shown. However when I do I am receiving a ‘0’ number in return. The formula I wrote was:
I am looking for a formula to count the number of valid mobile phone numbers in a list and the number of valid email address in another list, 2 different formulas.
The mobile phone number formula would count the number of indervidual mobile phone numbers in a list that contain 077 and 078 and 079.
The email formula would count the number of indervidual email addresses in a list that contain ...........@..........dot com or .............@............dot co dot uk
Both lists may contain random junk text, like in the email list some one may have entered words like 'no email address' etc.
I've got a 2007 Excel spreadsheet that will count dates within a range using the COUNTIFS function. I am having to send this spreadsheet to users that only have Excel 2003. I need to know how to convert this so it works in 2003.
Since I'm doing this for a fiscal year I have to use a date range. Here are my two formulas I'm trying to convert:
=COUNTIFS(D9:D25,">3/1/08",D9:D25,"<6/30/08") and =COUNTIFS(D9:D25,">7/1/08",D9:D25,"<6/30/09")
I want to find the number of times the 23rd happens between a range of dates.
Let's say I invoice a customer on 5/23/12 (Column C) and I've sent an invoice every month on the 23rd. I want to count how many invoices I've sent during the past few months. I need a formula which tells me how many times the 23rd of the month happens between 5/1/12 (in column A) and 12/15/12 (in column B).
I thought it might be =COUNTIFS(A1:B1,DAY(C1)) but that formula is for counting cells in a range.
I found formulas for counting the specific day of the week (like Tuesday) and for counting the number of cells containing a number, but not this.
I try to add a named range and it says name not valid!! I'm putting in jan13. Why would this not be valid. There are no other named ranges in the workbook
Website has a URL where the last element is a number within a range (e.g. 1000 - 4000).
But the numbers are not sequential (e.g there are 100 pages, first URL ends "1001", last one ends "6000".
As shown below I set the code to cycle through every possible number:
VB:
For i = 1001 To 6000 With ActiveSheet.QueryTables.Add(Connection:= _ "URL;http://(whatever)" & i _ , Destination:="(Whichever cell the output starts in)"
Not the most constructive use of the national grid.
Is there a VBA that can check whether the URL "number" is genuine before doing anything else - and move straight to the next "i" if it doesn't exist?
I have this formula =COUNTIF(WallA,D35) which works great unless the named range is deleted. Is there a way to check to see if the named range is valid in formula?
I want to compare the total % change I have to several markets. I have to do this for several months.
Problem is that the total % change can be + or - and the market change can also be + or -
Examples of what I'm looking for: total % change is -20%, market change is -10% result it 10 total % change is -20%, market change is +10% result it 30 total % change is +20%, market change is -10% result it 10 total % change is +20%, market change is -10% result it 30
I have a Training Matrix with "Main", "Leavers" and "Reports" sheets. (can email it but can't upload it here; it's 534kb and I can't make it smaller)
In the "Reports" sheet I need to fill "Site Procedural Training" - "Number of people trained in period".
The periods are : 25/12/11 - 31/03/12 01/04/12 - 30/06/12 01/07/12 - 29/09/12 30/09/12 - 29/12/12
The source of data will be the "Main" and "Leavers". The data are dates in these sheets; each date = 1
The formula needs to look in to "Main" and "Leavers" and if it finds a date which fits in the required period in "Reports" then return it as 1. If it finds 300 dates then returns 300.