Comparison Of Two Spreadsheets

Mar 6, 2009

I have two spreadsheets, The spreadsheet #1 has the information of two years and the Spreadsheet #2 is a montly report. The Spreadsheet # 1 hasta on the column A a number of transaction, and at the column Q the invoice number. The Spreadsheet # 2, only has in the column A the Invoice number. I need to find in the Spreadsheet # 1 the Invoice numbers that match the Invoices that I have in the Spreadsheet # 2 by bringin the "Number of Transaction".

For example:
Spreadsheet 1:
Has on column A3 the Number of Transaction # 0123, and at the column Q3 the Invoice number 555. At the Spreadsheet number # 2 I have the INvoice # 555 located on A10. I need to know what is the transaction # by adding a formula in a new column (G) so I want to have the Transaction # 0123 in the new column added G.

If I do this manually it will take me hours since these report and the Master is so big, and right now I am doin it using Ctrl-F

View 15 Replies


ADVERTISEMENT

Comparison Of The Two Lines?

Feb 19, 2014

I have two rows of data, each row also have similar data. I need to find the number of matches that the two lines For example :

7,7,K,A,8,7
K,6,7,7,A,9

To reach the conclusion I need to build six such functions:
=1*(COUNTIF($A$65:$F$65,A66)>=COUNTIF($A66:A66,A66))
=1*(COUNTIF($A$65:$F$65,B66)>=COUNTIF($A66:B66,B66))
=1*(COUNTIF($A$65:$F$65,C66)>=COUNTIF($A66:C66,C66))
=1*(COUNTIF($A$65:$F$65,D66)>=COUNTIF($A66:D66,D66))
=1*(COUNTIF($A$65:$F$65,E66)>=COUNTIF($A66:E66,E66))
=1*(COUNTIF($A$65:$F$65,F66)>=COUNTIF($A66:F66,F66))

The result is 4

Is there a single formula that will give the result ?

Another question, is there a formula that I can compare to the principle of one line against the 20 lines ?

View 8 Replies View Related

If, Then Comparison With Result

Jun 12, 2009

Compare 2 columns of data and have a new 3th column tell me the result of the query based on some conditional information. So, here's an example.

Column A = Programmer Assigned (Yes/No)
Column B = Project State (concept, plan, develop, qualify, rollout, etc)

I'd like to compare the values in A to B and have the formula tell me if the programmer should be assigned in that phase or not. So, in english.

If A = No, then look to see if B = "develop" or "qualify", if it does, populate C with "Update required". If it doesn't, populate with "Correct".

I hope I explained it well enough for you all to help. I originally looked into using conditional formatting to just format the cell differently if I needed to perform an action.

View 3 Replies View Related

Comparison Macro

Oct 24, 2008

to compare the values of data on one sheet (sheet1) with that of another (sheet2) to see if there has been any changes between the sheets over the previous week. If a macro could go through my data on sheet1, compare cell-by-cell the data that's in sheet 2 and highlight in red font any cells that have different values that would be awesome.

The macro would need to leave the "fill color" of the cell as it was.

View 14 Replies View Related

Comparison Of Two Columns?

Oct 11, 2011

I have two columns of dates. I want to see if there are duplicate dates and highlight them in the first column. What is the easiest way to do this?

View 9 Replies View Related

Comparison Of Lines

Jan 22, 2007

There are four lines of numbers, in all line 8 numbers.

1 1 2 2 3 1 1 2
1 2 3 1 2 2 2 1
2 1 1 3 1 3 1 2
1 2 2 2 3 1 1 2

I would like to find a function that will examine, if there are similar lines according to my definition, and several.

my definition is 7

For example that I gave, the result in the wanted function needs to be, yes (Line 1 and line 4) and several-One time.

View 9 Replies View Related

Date Comparison

Mar 23, 2009

How in VBA can you evaluate a cell in the "general" format and in the "date" format? I'd perfer do this entirely in VBA without use of a helper column in Excel.

View 9 Replies View Related

Data Comparison

Mar 27, 2009

I have two columns of items that need to be compaired. What I need is the items in column B that do not match any of the items in column A need to be put in Column C. How can I do this? The Data in Column A can not be re arranged. Column B can be sorted.

View 9 Replies View Related

Comparison (Strings)

Jul 28, 2009

I am trying to compare two cells to see if its two values are the same. Some of the cells have a space in between numbers or a symbol like "-"

Ex.

one cell's value is
1213180IN

and the other cell's value is
1213180-IN

the program I have written marks these as different because of the "-" in the second cell....is there a way, maybe with a string function to overlook that "-"?

View 9 Replies View Related

Formula For Comparison Of Data

Jul 28, 2009

I have a spreadsheet and I'm comparing data from a room booking system and a spot check on the room to see whether it's actually used. I have a column which I want to show whether the information agrees.

column G - I have a group size recorded that should be in a room.
column H - I have "yes" or "no" as to whether there was anyone in the room when it was checked
column I - I have the size of the actual group in the room.

Is it possible to create a formula that will fill in column J with the answer yes or no depending on whether it agrees.

It doesn't matter whether the groups sizes match, it's just a case of yes, someone was booked into the room and there was someone in when it was checked

OR

No, there was a booking supposed to be in the room but there was no one in it when checked

OR

There was no booking but there was someone in the room when checked.

View 4 Replies View Related

MMDD Comparison In Two Cells

Jan 18, 2012

I need to compare the MMDD in two cells. Example: If the Accrual date is 09/07/10, then I need to know if it falls in the payroll period date of 01/12/12. I just need the MMDD compare to put in my IF statement.

View 1 Replies View Related

Delete Rows Via Comparison Using VBA

Aug 21, 2007

I have two tabs in a workbook. Each has a column containing a unique numerical identifier. What I want to do is create a macro that will loop through the column on tabA, verify it against the column on tabB and when a match occurs delete the row on tabA. The end result should be that only the new items on tabA will remain. Let me know if this is sufficiently clear or still a bit vague.

View 9 Replies View Related

Box Comparison With Error Message

Aug 24, 2009

I am writing some code to do a comparison between two cells X2 or AB2 with an X which checks to:
1. make sure one of the two are filled, or
2. both are not filled.
Below is an extract of the spreadsheet I am working on. I need to check to make sure one of the boxes is checked. If both are empty or both filled with an ("X"), I want a message box to tell me to correct the error and stop the macro from continuing. If only one is marked with an ("X"), I want the macro to continue but don't know how.
 
RSTUVWXYZAAAB
2IN PROGRESS:  COMPLETED:  

View 9 Replies View Related

Create Comparison Code In VBA

Jan 5, 2010

I have to do monthly comparisons of two excel worksheets, one being a vessel timesheet and the other being an excel download from manpower software that we use. The comparison that is being made are days of the month, whilst the unique identifier between the two sheets (To make it easier to understand I will call them sheet1 and sheet2) is an employee ID. Both sheets, alongside the name and employee ID, list all the days of the month that employees have worked. If they have worked, there is a "1" under that day, if they have not the cell is blank.

What I currently do manually is:

1: Search for the employee ID (and/or name) in sheet1 and compare the days with the employee ID in sheet2.
2: Highlight the differences
3: Move onto the next employee ID

All differences are highlighted in sheet2. Differences highlighted are in the days only, where if any days are missing/extra in either sheet, then the particular cell(s) are highlighted in yellow. If an employee is missing from sheet1 but is in sheet2, then all the days are highlighted (in sheet2). If an employee is missing from sheet2 but is in sheet1, then that particular employee is copied to the bottom of sheet2 (after last row).

As this is horribly complicated to explain, I can attach an example if this is sounding rather inexplicable? Is it possible to attach a xls to a thread?

View 9 Replies View Related

Date Comparison/validation

Jun 22, 2006

I am constructing a spreadsheet which is intended to highlight Just in time and late jobs. I have headings job number/Customer/Delivery Date/ Revised Manufacture Date. The first three are already populated by extracting data from our erp system and we enter the revised run date ourselves.

What I am looking for is a formula which shows if the revised run date entry is a day prior to the delivery date then populate the last cell with JIT and colour the cell yellow. Or if the revised run date entry matches or is beyond the delivery date, populate the last cell with LATE and colour the cell red.

View 4 Replies View Related

Data Comparison Formulas

Mar 22, 2007

With a set of data in colums by quarter and department names in by row I need to answer build a formula that answers simple questions like "what department had the fewest sick days per quarter?" and which department had the most sick days per quarter?"

View 4 Replies View Related

Variable As Comparison Operator

Aug 16, 2007

Can you use a variable as an operator? For example:

Dim op
op = ">"
If Var1 op Var2 Then MsgBox "It Works!"

I have parameters stored in a database and each parameter includes an operator. When I compare a given value to the parameter, I was hoping to do that dynamically by extracting the operator from the parameter and using that in the comparison.
Otherwise, the only way I can see to do it is create a Function with a Select Case list for all the operators to check the parameter, do the comparison, then return the value to the Function.

View 2 Replies View Related

Date Comparison From Siebel

Feb 14, 2008

I have an issue in comparing 2 dates. It gives a data type mismatch error

Private Sub TextBox12_Click()
Dim siebApp As SiebelWebApplication
Dim siebBusObj As SiebelBusObject
Dim revBC As SiebelBusComp
Dim isRecord As Boolean
Dim sRep As String
Dim sCompany As String
Dim sLocation As String
Dim sStep As String
Dim sProb As String
Dim sDate As String
Dim CurDate As Date
Dim RetDate As Date
Dim datmins As Integer
CurDate = Now()
Const DateCol = 9
RetDate = ThisWorkbook. Sheets("Users"). Cells(DateCol)
r = ThisWorkbook.Sheets("Users").Cells(65536, 1).End(xlUp).Row 'Get next blank row
ThisWorkbook.Sheets("Users").Cells(r, DateCol) = CurDate....................

I have highlighted in bold where i do the date comparison. Here are the date formats [Last Updated] = 2002-11-08 13:19:03.000

[RetDate] = 2/13/2008 15:59:18

View 3 Replies View Related

Exact Comparison In AdvancedFilter

Mar 3, 2008

I am trying to use the advanced filter with a not equal to operator, where the requirement is that the output not match an exact text string. I have tried <> and <>"???" (where ??? is the text string) and neither filter is working.

View 2 Replies View Related

String Comparison With Conditional Formatting?

Jan 16, 2013

I have a column of cells with compound if statements like this:

VB:
=If(And(N10,K10<>""),"X","")

I'm trying to conditionally format this column of cells so that if the cell changes from this formula it'll turn orange. I've tried different variations of the following:

VB:
=N10<>"=IF(AND(N" & ROW() & ",K" & ROW() & "<>""""),""X"","""")"
=mid(N10,1,len(N10))<>"=IF(AND(N" & ROW() & ",K" & ROW() & "<>""""),""X"","""")"
=left(n10,len(n10))<>"=IF(AND(N" & ROW() & ",K" & ROW() & "<>""""),""X"","""")"

Basically, I'm trying to do a string comparison of the formula contained within a cell (N10) to a string that is assembled on-the-fly. If they don't match, then the cell should fill orange. I think I'm most of the way there, but can't quite get it to work. While this is simple to do with VBA, I'm rebuilding a lot of the functionality of this sheet using the functions available through the Excel UI -- users always forget to enable macros and always save copies as xlsx.

View 2 Replies View Related

How To Plot Comparison Of Only 3 Points Against 9 In Graph

Mar 27, 2014

I'm stuck at a point in a graph that I am creating. Attached is as far as I have gone and now i'm having a gap on how to take the 2006, 2007 which is already in graph and add in how these years compare to guidelines visually in the same graph?

for instance ratings 1-9 are grouped in guidelines 1-4, 5-7 etc. How do i add in the 3 guides against each point? I have thought about adding a secondary axis but not how best to demonstrate the range of 1-4 to appear behind or above those points?

View 1 Replies View Related

Comparison Of Cells With Text Input

May 15, 2014

I am working on Excel file with names and I would like to have a possibility to check if all characters from one cell are mentioned in another one.

The background of the problem is that the names are provided in different types (e.g. O.M.Izgala, M.O.Izgala, or only Izgala) so I believe I should first remove any spaces, dots etc. to have clear continuous text.

Finding a formula (if any exist), which can check if all digits from one cell are in the second relevant cell regardless the order of the digits. I would like to show you short example:

name needs to be checked cell to compare expected results
OMIZGALA MIZGALA no (as O is not in the relevant cell)
OMIZGALA MIZGALAO yes (as all digits are mentioned in the relevant cell but in different order)
OMIZGALA MOIZGALA yes (as all digits are mentioned in the relevant cell but in different order)

if it can work in Excel.

View 7 Replies View Related

Return Header Value For Furthest To Right Comparison?

Dec 12, 2013

I have a table with the follow values (simplified version): A1:E1 have text headers B1:E1 have formulas to pull in text values. Some are blank. Some have repeat values. F1 has the value I want to look up. I need F2 to look at A2:E2 and compare to F1. It needs to pull in the corresponding A1:E1 value for the furthest to the right A2:E2 value.

Example:
Column A B C D E F
Row 1 Jan Feb Mar Apr May Imp1
Row 2 [blank] Imp1 Imp2 [blank] Imp1

F2 should return "May" as a value.

Screen shot attached.

screenshot.png

View 12 Replies View Related

Excel 2010 :: Comparison On Two Columns

Jun 20, 2013

I have two columns (A and B) with the same data. Column A is missing a value that is in column B.

Column A has 11330 rows whereas Column B has 11331 rows.

I am trying to do a comparison on the two columns to determine which value is missing from Column A.

I am using Excel 2010.

View 3 Replies View Related

Display 2 Or More Rows Of Data For Comparison

Dec 18, 2013

I have a database with 65536 rows and A-BZ columns

What I am wanting to do is, on another worksheet be able to select identifying data from one or more columns from the database but have it display the entire row.

For example

WCP28 SX

WCP28 TX

WCT36 SX

WCT36 TX

In this example I would like to, on another worksheet, be able to create a drop down where I could select WCP28 and it would show me both the TX and SX row. Or I would like to be able to select WCP28 SX and WCT36 SX and see the rows next to each other. If it were for me I would just use the auto filter and manually compare but this is for somebody even less inclined than I am.

View 5 Replies View Related

Larger Than & Comparison Not Working When Used With A String

Apr 15, 2009

I have a macro that should be exceptionally simple and works fine up until the point where I try to use an If statement with a conditional.

I have run the macro up to the If statement, at which point FinalRow is 40 and StartRow is 6, so the If statement below should run but it doesn't. I've had this problem before and just given up, the only thing I can think of is that the If statement only compares the first digit in the String.

I've only copied a small part of the code as I don't think the rest is relevant and just muddies the page but I can paste the rest if needs be...

View 3 Replies View Related

How Do I Lookup Data With Two Comparison Values

Dec 2, 2005

I would like to insert a function in spreadsheet A that looks up data in
spreadsheet B based on _two_ comparison values.

The two comparison values in spreadsheet A would always be in the same row
and the corresponding match in spreadsheet B would also have to be in the
same row.

For instance, if the comparison values in cells A2 and B2 of spreasheet A
match with the comparison values in cells A30:B30 of spreadsheet B, then
show the value that is in column C30 of spreasheet B.

View 9 Replies View Related

Setting Ranges For Comparison Operators

Jul 21, 2009

Is it possible to set a range using comparison operators? ie. if a number lies within x and y then such and such happens.

View 6 Replies View Related

COUNTIF Formula - Time Comparison

Sep 28, 2012

I am putting together an email reporting template in Excel that pulls in data from various sheets. The reason I'm doing this is because we need to brand the reports as our own, but our email service provider doesn't offer this capability. As a result, I have the report template saved on one worksheet, and I have copied and pasted other bits of the report that I need onto other sheets.

I need to create an area graph of the number of recipient opens against time (a response graph basically). So along the X axis I will have time periods (0-1 hours, 1-2 Hours up to 1-2 Days, 2-3 Days etc). Along the Y axis will be the number of recipients who opened the email within that particular timeframe. I can produce the graph easily enough when the data is in front of me, however, getting the data in the right format is proving tricky.

The list of open times is stored in column 'D' on a sheet called 'OPEN TIMES'. The reference time (time the email was sent) is stored in cell 'A60' of sheet "Full Report". As I see it, I should be able to use a COUNTIF formula to total the number of opens that meet a criteria (within a certain timeframe). So, this is the formula I tried:

=COUNTIF('Open Times'!D:D,('Open Times'!D:D

View 9 Replies View Related

Static Comparison Line On Graph

Sep 22, 2013

I have a bar graph (horizontal) for the values say Jan 1.25 Feb 2.63 Mar -1.5. This works fine; now I would like to insert static comparison lines for the values 2 and -2, i.e. a straight valued at 2 that goes Jan to Mar and another straight line at -2 from Jan to Mar..

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved