I manage messaging server farm that keeps mailboxes and their replicas on different servers for resilience. I need a way to check the replication status. I try to do it by comparing their sizes. I got all mailboxes and replicas incl their sizes imported into excel (2010) and I need a way to compare them.
Like this:
name
size
John Smith
10
Mary Westwood
20
[Code] ......
My idea was to find matching pair (two records of John Smith) and compare size. If the size differs more than specific value (5% or 2MB for example) the result is true/value/colour by conditional formatting etc.
I've been working on my original problem and have gotten a little closer to the results I'm looking for but not quite there. Basically, I'm now running into a problem of only finding the 1st occurence in a range of cells when I want to find every occurrence and show the result. Also, the range of cells to look for in my argument has 2 criteria, the start date and the end date. Can anyone tell me if there's a way to search through a range of cells and return every instance of that cell even if it's duplicated?
I've also attached my project to better understand what I'm trying to accomplish which is the use of a Gantt Chart as an employee scheduler as opposed to a task (or project) scheduler.
I have a long list of items. I would like to assign the same number to each of the replicates. I've been trying to expand on this: = COUNTIF($A$1:A1,A1). which increments the number for each replicate, but don't seem to be getting anywhere. The attached file might make it clearer what I'm after.
I have about 800 records and the the unique identifier are the names. Some owners are repeated several times and they have different values for the EDU column in my project. I need to remove any duplicated owners but I need to add up the values of each record that had value so I can get a combined value for one owner instead of a repeated owner with smaller values. How would I go by doing that? A formula or is there a tool in excel? I am lost on this one. I uploaded a sample file so you can see what I trying to do.
BTW i found if the values are the same for the EDU then I can not add them since it is also duplicated. I can only add up the unique values for the EDU.
So, I have some names and values. Rank function give me order for those values. Small function gives me ascending order. I want to get first n (let say 5) values back next to each other but can't use VLOOKUP function because sometimes I get duplicates (red numbers).
If there is more same numbersthat small function returns... It need to give me all of them, no matter 5 is limit. how to get back values of rank function that are duplicated. Book1.xls
I'm working on a spread sheet tracking conference presenter so I'd like to come up with a formula and find any duplicate names. I'd be grateful to learn how to do this without hand sorting.
If value in cell A1=y and a lastname that appears in G1, H1 or J1 appears more than once in the range of cells in three columns - G1:g10, I1:I10, J1:J10 insert in cell B1 the list of lastnames (up to 3) seperated by a colon in G1, H1 and J1 that are duplicated elsewhere.
I'm so happy to find this forum and eager to learn more about excel.
I am currently trying to display a number from a column of data, where the number is the smallest, then the second smallest (third, fourth and fifth where applicable). When using =small, I am able to display the second smallest number, but when the list contains duplicates, the second smallest figure often matches the smallest. I am having the same problem with =large. I have tried to combat this by using an IF statement, but am only able to place so many arguments into the formula before excel is unable to perform the formula. This is also proving quite lengthy :o(
I have two columns that use data validation. Column-F uses a dynamic named list in the validation and column-G validation is set to allow a decimal entry only. I need a third form of validation to compare the two values and an message when there is an error.
If F1="None" then the required entry in G1 must be 0 (zero). If F1 <> "None", then G1 entry can be any value greater than zero. What I would like is a message box to pop-up explaining the error when F1="None" and G1>0.
I'm using a helper column-K that concatenates the cell values (in F:G) into a single string that I can check. Not having much success, but what I've tried so far is:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim myrange, mycell As Range
On Error Resume Next Set myrange = Sheets("Copper Data").Range("K10", Range("K65536").End(xlUp)) For Each mycell In myrange If mycell.Value = "No Scrap0" Then MsgBox ("You entered a scrap reason of 'No Scrap' and quantity of 0") Next mycell
End Sub
It either fires all the time if the helper cell string is "No Scrap0" or it doesn't fire at all if the string is "NoScrap1" (where "1' can be any number).
Currently trying to build this, but my fledgling VBA knowledge has me hamstrung. I'm getting an error of "Next without For').
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim r, c As Range Dim note As String, Response As Long
note = "Data Entry Error: Scrap Quantity cannot be greater than zero with a reason code of No Scrap." & vbLf & vbLf & _ "Please check the accuracy of your entries."
Basically I have two sets of data. One will be new each week. I'd like to use the non-changing data as a base to compare new data to. The formula would need to match multiple values, including a 'time between', and then return whether a minimum rate has been met.
I have .csv file from which the data is importing to master schedule. i have a column in .csv file which is spitted into multiple columns. and my need is i have to compare this each individual cell value with the range of header values in master schedule and if match found i have to place that cell in the row.
I am adding 2 attachments one is .csv and other is master schedule.
I couldn't able to find where i have to attach my files.
In sheet1, I have the borrowers and outstanding per employee. In the Area Avg sheet, I have the average borrowers and outstanding in each area as this is the standard for comparison (I got this through the subtotal function).
Now what I have to do is in sheet1, format(change the color) each cell under borrowers which is greater than the average of the relevant area. Since, (in my actual data) the name of the area may be duplicate in different regions, the reference value (average borrowers of the area) from "Area Avg" sheet has to be traced through multiple criteria which are: Division, Region and Area. The same also has to be done for outstanding but the solution can be provided for borrowers only.
I'm entering some time data (in format hh:mm) into Columns. Pretty basic Workbook that I have been given and, to be honest, it's just donkey work putting the data in. The times going down the Columns need to be progressive (ie B8 is arrival time, B9 is admission time etc). This goes through to B27 and then repeats from C8-C27 and ultimately J8-J27.
I'm looking for something as a formula to pop into Column K (or VBA, I don't mind!) which will do a simple verification to ensure that the times I enter is not less than the any of the cells above in the aforementioned ranges. I can do simply the cell above, but due to rusting of brain, can't think how to do this for the range!
this problem is just an follow up question to this thread [Solved] VBA : user input to combobox xla. it supposed to be a follow up question but as per RULES is concerned i have to post a new one "4. Never post a question in the Thread of another member. You MUST ALWAYS start you own New Thread.". my question is how to retain the inputted values upon next opening of the workbook? you see that in this thread everytime the userform initialize the values added are also refresh , but what i want is after i manually input an entry of the combo box on next open the values are saved correctly..
I'm trying to compare two quantities on two different sheets. I've used VLOOKUP in the past on other sheets. This time round I cannot understand how to us it on this query when the data is contained and mixed in one cell.
Here goes explaining.. Sheet1, shows we have stock of Mini Speakers in blue, the 'Main SKU', 'Size' and 'Current Stock' 'Current Stock' is the cell we are trying to compare
Sheet1.PNG
Sheet2 shows the 'SKU', 'Name' and 'Option1'. Option1 contains the values I'm trying to compare... sku":"X-MiniB-S","value":"S","quantity":"1"
Sheet2.jpg
Basically, I need to check that 'Current Stock' matches the value in 'Options1' and return a value if they do not match.
Excel seems to be miscalculating some formulas and I was hoping someone might have seen this before:
I'm attempting to do math on two cells and return the result in a third cell
Jx = time typed manually AAx = time that is the result of a lookup function from data in a different worksheet ABx = the result
Here is the formula that I am putting in ABx: =IF(ISERROR(AA39-J39),"",IF(AA39>=J39,(HOUR(AA39-J39)*60+MINUTE(AA39-J39)),-(HOUR(J39-AA39)*60+MINUTE(J39-AA39))))
J39 contains the time 18:31 and AA39 contains the time 18:30.
When the formula evaluates, the error #NUM is returned. Here are the calculation steps:
Using VBA, I want to import data from a text file into a worksheet, but only import a row of text if the three-letter code matches one I have in a named range. The data looks similar to this:
A formula that would compare any value in column 1 to any value in column 2 to see if they are a match for each other. If a match is detected it would be indicated in column 3:
I have a spreadsheet and everyday it would change in length.
But I would like a macro that compares the value of each cell in column B against the value in corresponding cell in column D then moves to the next roll - so eg B2 against D2,B3 against D3......B50 against D50 until all rows are compared.
And when it finds a different makes the background colours go red !
I have a bit of a code but I think I need to loop to compare all populated cells !
If our work for the intersection of two columns A, B supposed to be output 1, 2 and 3 Required to find the remainder of the A and show it automatically in column C The remainder of the B reveled in column D
Note: columns A,B repeat accepting of figures
To explain the result of the remaining column A is 1, 1, 5
If the record exists in both sheets then compare the value in col. H for both records, if the value is different then copy the entire record to a third sheet.
There are 16,000 rows of data to do comparisons. I have been thinking about a Vlookup method as one choice, my thought is this going to be slow. I have read about vba having some comparison choices, vbbinary, vbtext, but I do not have any knowledge of this, so cannot intelligently choose what options to begin w/.
i have a range of values and want to compare the value of a single cell to all those in the range, returning TRUE if a the value matches any value in the range.
I have a worksheet where I want to compare values in two of the columns. In column B there are EAN codes consisting of 13 digits. In column E there are 5-digit numbers.
What I want to do is to compare the 5 digit number with the EAN code where these digits should be in position 7-12 in the EAN code. Those numbers in column E that doesn't have a match in column B should be marked (for example that the background color of that cell is set to "red").
Example: B E XXXXXX12345X 12345 (match - do nothing) XXXXXX12346X 12346 (match - do nothing) XXXXXX12348X 12347 (no match - set background color to red) XXXXXX12349X 12348 (match - do nothing) XXXXXX12350X 12349 (match - do nothing) XXXXXX12351X 12352 (no match - set background color to red)
There are more values in column E than B.
In all there are close to 4500 rows so I really could use a nifty macro to do this job.