Using VBA, I would like to compare the date found in Cell(datRow, colIndex) of the Recap workBOOK to the date found in Cell(varRow, 3) of the Deduction workBOOK.
I loop through several Recap workbooks, one for each month. The problem I am encountering is this: If the date(s) found in the Recap workbook are before the date(one date) found in the Deduction workbook, the procedure will add the value of data below it to a running variable total.
However, what I am Needing, is for the value only to be added to the total IF the DAY of the date found in the Recap workbook (not the entire date) falls before the DAY of the date found in the Deduction workbook.
I know this is lengthy, but I have researched this for hours and am finding little to help me. Is there a function used in VBA to compare only the day of a date? And can I use a conditional IF statement such that execution happens when Cells(varRow, 3).Value > Cells(datRow, colIndex).Value even though the cells reside in different workbooks (both are open during processing)?
I need to compare dates that include both the date and time of day, to find when the day changes.
I have a large list of dates (also includes the time of day in the same cell). There are specific values in the next column that correspond to that date. Some of the values that are too great and have to be changed. This I have figured out with some help from this forum. When a value is changed I need to add together all the values for the corresponding day, some could be above and some could be below.
I have a series of data that acts upon a traffic light system, i.e. Green, Amber and Red. These variables are posted along row 1 for example and there are 10 columns. Per column I have a tick and cross to answer a question. How can I find out how many ticks were on green days, amber days and red days? I have attached an example.
There are dates in column C and I need to count how many days are coming due within 90 days of each date based on the today() function but do not exceed the 90 days.
I'm basically looking for a forumla that will count each employees total scheduled work days for the month inserted and then depening upon the day it is will show how many days the employee has left to work for the month.
I have a spreadsheet in 2007. Days across the top for an entire year. So 365 columns. I need a macro to extract the 3 previous days , today's column, and the 3 next days and load to a different worksheet.
HTML worksheet A: 1/1/09, 1/2/09..... 10/17/09, 10/18/09, 10/19/09, 10/20/09, 10/21/09 .... 12/31/09 10 11 ... 14 15 17 12 22 ... 28 a g ... g c d d a ... a
the macro would create a worksheet B(if run on 10/19/09): 10/17/09, 10/18/09, 10/19/09, 10/20/09, 10/21/09 14 15 17 12 22 g c d d a
I need a formula to count how many days hours & mins between 2 dates but included in the formula need to ensure it only counts business days.
Column A 02/09/2011 13:00
Column AO 02/09/2011 13:02
I need in Column AP to show 0 00:02
The formula I have tried using is - =IF(AO3="","",AO3-A3) which doesnt work as instead of showing 0 00:02 it shows 1 00:02. I dont want it to count as 1 day just 2 mins.
Once that has been worked out I need to include WORKDAYS formula to only count working days. I have created the list on 'Controls' Tab Column A10:A47.
I want to calculate the end date of my German courses. This is how it works:
A course consists of 60 LU*. The course can occur i. e. three times a week: Monday, Wednesday and Friday. In each day the course lasts 2 LU, which means 6 LU each week. There is no course on Tuesday, Thursday, Saturday, Sunday and on holidays. Therefore this type of course that begins on 18-Nov-2013 will end on 03-Feb-2014.
Another course which occurs Tuesday, Thursday and Saturday, and respectively has 2 LU on Tuesday, 2 LU on Thursday and 3 LU on Saturday and starts on 03-Dec-2013 will end on 06-Feb-2014.
Therefore I want to create a worksheet where I set the start date, choose the days and respectively the LU amount on those days. The end date shall be calculated according to these criteria.
The workday function on excel cannot do this and I do not have any programming skills to work with VBA.
I wanted to determine the number of days between two dates. Specifically, if the initial date is in one month, and the second is in a different month and an output would result a number of days in each month until the final date. BUT I have a large amount of data to do this for in a list view, way to put a formula in excel and just drag down the entire list to get the required information. see below for an example.
The result I'm looking for is the separate the months and only show the relevant months between the two dates in one cell or the adjacent. Something similar to the table outlined below.
I get data pulls of logged in time, and shift start times.
Example in column C the person's actual login time is there, and column D has their start time. If there's a variance of 'x' how could I have column E display the variance? In this example 15 minutes?
Basically, if there's a difference between the 2, I need a formula that tells me what difference is.
I have one .xls file that contains an inventory list of all the products that I want.
Unfortunately this .xls file does not contain the prices for these items. I have another .xls file that contains SKU numbers and the prices related to those SKU numbers.
Is there a way to run every single SKU in the first file against the second file and, when a match is found, take the entry in the price column of the second file and place it in the first file so that my first .xls file contains all my products with prices?
I need to compare the value's on 2 cells. I have a sheet setup for my sales I would like to compare each day of the week. So in other words I would like to compare this Monday with last Monday and know what the percentage of my sales ether up or down is.
Example: Last Monday = sales $100.00 This Monday = Sales $200.00
100%
So If sales are up I would like the percentage amount font to be in green. But if sales are down I would like the percentage amount to be in red.
I have two spreadsheets I would like to compare against each other, last weeks inventory (Sheet 1) and this weeks (Sheet 2). All items are listed by unit number, is there a way to have all unit numbers on Sheet 1 colored red that are not on Sheet 2 and vice versa?
Is there a way to compare two cells and return true if they are the same, false if different? There is text and numerical data. As a side note, can anybody recommend a lightweight reference so I can sit for an evening or two and at least get an idea of what excel can do?
I have two Excel lists. One master list (list A) contains all our email addresses from our customers. The other list (list B) contains a list of people who do NOT want to recieve emails. How do I take the emails from list B (there are 1,200 of them) and compare them automatically to list A? Basically if any email address from list B appears in list A, I want it to delete in list A.
i have two worksheets. group and search. in group sheet it contain are groups of club & nation. in sheet2 when click the button find it will prompt player name. for example,when i put torres it will tell us that he belong to Liverpool club & Spain.
say i have 4 columns of 5 values each consisting of 0's and 1's.
...a b c d v 0 1 1 1 w 1 0 0 1 x 1 1 1 1 y 0 0 1 0 z 1 1 0 0
how would i write a function that would compare each value under column 'a' to each value under column 'b' and then return a value of 1 if they are equal, and return a value of 0 if they are not equal, then add up the return values.
(comparing column 'a' with 'b' you would get a result of 3.) then have the function continue on to compare column 'a' with column 'c'..'d; comparing column 'b'..'d', etc
so in long form: IF(av=bv,1,0) = 0 IF(aw=bw,1,0) = 0 IF(ax=bx,1,0) = 1 IF(ay=by,1,0) = 1 IF(az=bz,1,0) = 1
I have two lists of data and am trying to write a formula that will return a "1" if the second list firstly contains one or more entries that are not in the first list and secondly the fourth cell on the same row of one or more of the entries not in the first list contains an "F".
The first list is in a sheet called "Select" cells J2:J7 and the second list is in a sheet called "Model" cells A2:A50. The second list will occasionally contain blank cells.
I have tried to use a combination of COUNTIF and VLOOKUP but am struggling to make any progress.
1) if Column M has the value "School" then corresponding value in column N should have oly "Bus","Subject","Teacher". if values in Column B other than "Bus","Subject","Teacher" then the cell should populate RED Color.
2) if Column M has the value "College" then corresponding value in column N should have oly "Box","Madam","World". if values in Column B other than "Box","Madam","World" then the cell should populate RED Color.
i got 200 Branches reports & i have to compare the people recored and have to identify following things
1) in which Days bukket is fall in Previous report ( compare with current) 2) if the Account # doesnot match then it should be HIGHLighted!
what i have to do is to compare the Account # with Previous & add a New Column & write the previous days (in number) plus highlight or show some remards that doesnot exisits in last report,
have been trying to write a VB macro to compare two spreadsheets. Here is what I need help achieving....
Compare Sheet1 and Sheet2. Data exists in rows that have a unique identifier in one column.
If unique ID (with row of data) exists in Sheet1 and NOT Sheet2, add row from Sheet1 to Sheet3 and mark "REMOVE" in new column next to row.
If unique ID (with row of data) exists in Sheet2 and NOT in Sheet1, add row from Sheet2 to Sheet 3 and mark "ADD" in new column next to row.
If unique ID (with row of data) exists in both Sheet1 and Sheet2, take row from Sheet2 and place in Sheet3 and mark "UPDATE" in new column next to row.
I have two lists in the same sheet. List one spread over 3 columns contains all the possible postcodes available to my job, the second list once again over 3 columns contains all the postcodes my job is currently using.
How can I find out the Postcodes that I am not currently using from the available list. I am sure it is a simple Lookup command, but cant for the life of me figure it out.
I have got 2 excel workbooks with multiple worksheets (around 6 megs in size). Is there a way i can do a quick comparison which will point out the differences between the cells?
I have a worksheet that contains six columns (A-F). I am trying to compare the values found in column F (~50 values) with the values found in column E (~1500 values). Both columns contain unique values. The majority of values in Column F are contained within Column E. The goal is to run a function that returns all rows in column E that contain a value found in Column F. I've been trying VLookups and what not, but my overall goal is to match up all values found in Column F with the appropriate row that contains the same value in Column E.