Compare Text Between Cells
Oct 1, 2009
I've got a very big spreadsheet with over 40,000 lines.
The text is sorted alphabetically, and on its side I'd like to have a column displaying how different it is from the cell above.
Example:
A1 - Mediterranean Sea. -----
A2 - Mediterranean Ses. ----- 5.55%
A3 - Atlantic Ocean. ----- 100%
Basically, 'Atlantic Ocean' is 100% different from the cell above, but A2 has only one letter different (out of 18, including the space and the dot) compared with A1, so it's only 5.55% different.
This would help me find which cells that are supposed to have the same content, have errors and thus are slightly different.
View 13 Replies
ADVERTISEMENT
May 12, 2012
I have a dataset of shifts and want to compare each shift that needs to be filled to a list of requests for time off (vacation, etc).
For one cell the code is: =IF(ISERROR(SEARCH(B1, A1), 0,1)
Where A1 is the column of requests in comma delimited forme (ie: "AB,CD,EF").
Where B1 is the column containing the person assigned to shift 1 (ie: "AB")
In this case, would return a "1" as no error was returned, as AB was found in the list. Here "1" would represent a schedule conflict.
Without creating many cells for each shift- there are 20 shifts- can I create an array or string together this type of "SEARCH" function?
View 1 Replies
View Related
May 25, 2007
I have one sheet and i want to compare the first word in the column "D". If the first word of D2, is the same than the first word of D3, i want to copy to another sheet and after the copy, insert 2 blank rows... if it's different, i want to copy and insert 3 blank rows
Maybe it's better to attach the file. In the first sheet, you'll see a little part of the real sheet, and the second sheet is the example of what results i want to obtain with code...
View 6 Replies
View Related
Apr 6, 2014
Find the attached : example.xlsx‎
My requirement is compare two cells a1 & a2 if found true highlight a2,compare a2 & a3 if found same highlight a3 or compare a3 and a4 and repeat the same for the entire sheet.
View 1 Replies
View Related
Jul 10, 2014
I have three cells - A1, B1, C1 and each contains a value of yes or no.
If more than two of the cells say "yes", I want the fourth cell (D1) to display "yes."
If less than two columns say "yes", I want the fourth cell (D1) to display "no" .
View 3 Replies
View Related
Jun 25, 2013
I've a spreadsheet and I need to find cells in Column A that contains certain text and subsequently being able to compare the data in 2 other cells (column F and Column J) and post the results of comparison in Column L. Please see the tables below:
In this table, if Range("A1") contains abc, then data in Range("f1") would be compared against Range("J1"). If F1 = J1, then Range("L1") would say "ok" otherwise "needs to check" as in Rows 2.
Please note that the amount of data varies daily.
ColumnA
Column F
ColumnJ
Column L
abc
fff
fff
ok
abc
fff
ggg
needs to check
bbb
fff
fff
View 1 Replies
View Related
Jun 19, 2014
Is it possible to compare code that's in two cells and show the differences? It's possible with Notepad++ and an extension but I have hundreds of pages to examine weekly and it's not efficient to do it manually.
View 1 Replies
View Related
Feb 22, 2008
I have a if function that i am creating in excel 2000, and it has 8 variables. I am trying to put it in a macro as it is not working as a nested if function. Here is the current if function...
=IF(B2=C2,"OK",IF(B2=D2,"OK",IF(B2=E2,"OK",IF(B2=F2,"OK",IF(C2=0,"OK",IF(D2=0,"OK",IF(E2=0, "OK", IF(F2=0, "OK", "INCORRECT"))))))
the excel file is attached for further clarity
View 3 Replies
View Related
Jan 2, 2013
I have a workbook with tons of programming I need to achieve. Here is my work book so it can be viewed.
Right now on "Protocol" Sheet I want the cells with the "Protocol 1" field to look at Admin_Panel Sheet and find the row with the same text. Then take the text in cell A of the same row and copy it to the cell below the "Protocol 1" listed on the protocol sheet.
View 3 Replies
View Related
Feb 28, 2013
how to Chk the text string in particular cell, compare it with a super set column and get the full from of the text string from another corresponsing column and the output will be corresponsing full form of the chked text string?
View 6 Replies
View Related
Dec 5, 2009
I am trying to write a function that will compare the text of cell "A2" to the text of cell "B2" and display cell "A2"'s text characters that didnt match from cell "B2" in column C. Can anyone help me out with writing this formula?
EX: ....
View 9 Replies
View Related
Apr 30, 2014
I have 10 cells in a column. I have a drop down list in each that is the same in each. If all 10 cells have the same item selected from the drop down list, I want a separate cell to list Yes or No. I've tried a few variations with no luck.
View 4 Replies
View Related
Aug 6, 2013
I have two sets of data to compare. One is real world data, the other is forecasted data. I have real daily data for every day over about 3 months. The predictions though, there may be 4-6 predictions for ever one real daily value.
What I'd like to do is have a function that looks at Column A's date (real daily value) and Column C's date (predicted data) and if Column C equals Column A, then divide corresponding data in Column B by value in Column D.
View 2 Replies
View Related
Jun 7, 2006
I think there's a function that compares two text values and determines if
they are "similar." For instance ABC would be considered a match with ZABC.
Is anyone familiar with this function?
View 10 Replies
View Related
May 5, 2006
I am trying to find out what formula I would need to use in order to have two columns compared. If the two columns have the same information I want the information from column 3 to be place in another particular cell.
View 2 Replies
View Related
Feb 18, 2010
In the attached excel file I have two macros that create hyperlinks:
1. BalloonToNumber - Creates hyperlinks from "Oval" shapes on sheet "Op60_1" to sheet1 (column D).
2. NumberToBalloon - Creates hyperlink scheme from sheet1 (column D) to sheet "Op60_1" "Oval" shapes.
In Q #1 my macro seems to skip some shapes on sheet "OP60_1" and I simply can not figure out why.
In Q #2 my macro creates hyperlinks to shapes that do not exist and hyperlinks to numbers that are not a "100%" match, IE: 182 and 82 would share the same hyperlink?
If you open the workbook and use the hyperlinks on sheet1 they will take you to sheet "Op60_1" and shape hyperlinks from sheet "Op60_1" take you to sheet1. On sheet "Op60_1" there are some red arrows indicating the shapes that get skipped when running the "BalloonToNumber" macro.
Shape color changes as the hyperlinks are selected from sheet1.....
View 8 Replies
View Related
Aug 24, 2012
So I have a sheet with 600 or so rows of data on a sheet called "Agent_Summary". On another sheet in the same workbook I have a list 20 peoples names. I am trying to find a way to look at the 600 or so lines on the Agent_Summary in column A and see if the name in that cell matches any of the 20 names from the "Team" Sheet. If the name on Agent_Summary is not found on the "Team" sheet then it clears the contents of that cell and moves on. Then it comes back and Deletes the blank rows. I can make it look for any 1 of the 20 names and the code works fine. How do I turn it into something that will look for any of the 20 names?
Here is my code to look for 1 of the 20 names that works great.
Code:
Sub Clean_up_Agent_Summary()
Dim Cell As Range
Dim R As Long
Dim RE As Object
Dim Rng As Range
Set Rng = Worksheets("Agent_Summary").Range("A5:A600")
Set RE = CreateObject("VBScript.RegExp")
[Code]...
"Worksheets("Team").Range("A5")" is where my 1 name is and the rest are just below that. I am thinking some kind of an Array but I am stuck on getting that set up and working right.
View 6 Replies
View Related
Jul 5, 2007
i've put this previously on here with no results. There is a formula already in there though does not work because what I want to achieve is to have Column A & Column C to Match Column E & Column F, to Return the Value YES or NO. I’ve Highlighted in ROW 947 one that should Say NO yet Says YES.
View 3 Replies
View Related
Mar 25, 2014
As per title, I am trying to compare a column of text cells which contain "Yes" or are empty and a columns of numbers. If they are "Yes" and "1" on the same row, I want to output an "OK" message. Excel seems happy with the following code but it does not work and returns an empty cell if the two conditions are true.
[Code] .....
View 6 Replies
View Related
Apr 14, 2009
I recently posted a similar thread which was very well supported but I couldn’t get a solution because my requirements were not clear enough. I would like to try again with a slightly easier and clearer requirement.
I would like a spreadsheet that compares and searches columns for text and returns true if a duplicate is found.
It is similar to a lottery checker except the lines being checked could be a string instead of a single character.
I have attached a spreadsheet which helps explain what I’m trying to achieve.
Basically, a user can sequentially enter a single character to cells F1:F5. These values are then compared to columns A:C. If one of the columns contain the values in column F then return true to G1.
View 2 Replies
View Related
Jun 18, 2009
I have two columns, salesman and date. This workbook tracks quotes by salesman. I need to know how many quotes for each salesman by the month. So what I need to know is how quotes salesman 'a' had in January and February and so on. I have several worksheets in this workbook that are all formatted the same.
View 9 Replies
View Related
Apr 1, 2009
macro to compare 4 columns of text (first and last names) then add a checkmark in separate columns if they match and don't match?
For example I have this kind of data to compare and the results required:
Sheet 1
Last Name First Name
Smith Mike
Johnson Bruce
Hendrick Fred
Shaffer Kerry
Sheet 2
Last Name First Name Match No Match
Klee Pierre X
Verge Kerry X
Smith Mike X
Wright David X
Hendrick Fred X
I need the macro to mark an X in the Match column if the first and last names match only and if they do not match exactly a X in the No Match column.
View 3 Replies
View Related
May 24, 2012
how to compare maximum similar characters within same colowmn,
Part numberEXTRA 30 BIANCOEXTRA 30 BIANCO SPREXTRA 30 GRIGIOEXTRA 30 GRIGIO SPRFMSTYLE ALPIFMSTYLE ASIAFMSTYLE ASIA SPRFMSTYLE BEIGEFMSTYLE BIANCOFMSTYLE CARAMELFMSTYLE GIALLOFMSTYLE GR.PERLAFMSTYLE GR.PERLA SPR
View 2 Replies
View Related
May 15, 2008
This is a continuation of a thread that jindon and I had over at the "other" excel site.
OK, where did we leave off.. Oh yeah, It wont get past the:
If rng Is Nothing Then Exit Sub
because it thinks the range is empty.
Set rng = Range("b6:b1103").SpecialCells(2, 2)
View 9 Replies
View Related
Sep 28, 2006
I m trying to write some code use VBA in excel to look at cell C2 and if it equal A0 or whatever then it will put in cell D2 = "blah blah" and then go down to the next cell C3.
Select Case Range("C:C").Text
Case "A0"
Range("B1").Value = "not booked"
Case "A1"
Range("B1").Value = "Misplace documents"
Case "A2"
Range("B1").Value = "Closing cancelled"
Case Else
End
End Select
End Sub
I have a report that in one column codes (A1,A2,A3,B3 etc..) and these codes have a description and I want the VBA code to look at the description Code and then put in a different column the description. but Im having no luck.
View 2 Replies
View Related
Nov 11, 2008
I've a long list of value with indicator which I need to compare with an entry after which it need to return a text indicator. I'm using IF and MATCH function.
Following is the code I use:
=(IF(MATCH(C1,$D$5:$D$29,0)<=5,$E$9,IF(MATCH(C1,$D$5:$D$29,0)<=10,$E$14,IF(MATCH(C1,$D$5:$D$29,0)<=1 5,$E$19,IF(MATCH(C1,$D$5:$D$29,0)<=20,$E$24,IF(MATCH(C1,$D$5:$D$29,0)<=25,"Not Found"))))))
I've attached an excel file with an sample. Btw, Is there anyway I can omit the length of IF & MATCH function by using other function.
View 4 Replies
View Related
Jan 22, 2009
I have the following:
cell B2 value = "P1'08"
cell C2 Value = "P11'09"
cell H1 Value = "P4'09"
The value stands for the Periodnumber and a Year so P1'08 stands for period 1 in the year 2008.
In cell H2 I want the following:
If value in cell H1 is the same as B2 or C2 or is in between these periods then the value in H2 should be the value of cell D2. If not the H2 should be empty.
View 10 Replies
View Related
May 5, 2014
I have multiple sheets in excel file. Every sheet having same information for different areas. e.g. The bug was reported. One sheet might have answer in YES and other sheet might have No. I need to get answer YES if even one of sheet contains YES for the field.
View 9 Replies
View Related
Jul 20, 2007
Looking for formula with if then statement that involves a nested formula or concatenation. I need a formula that says: If cell A reads exactly ABCD then concatenate cell A with cell C. Very basic to most of you gurus but I'm fairly new with formulas.
View 3 Replies
View Related
Aug 7, 2013
I have two cells which contain text, and I'd like to use IF function to compare between them. Something like: =(IF(A1=B1),"TRUE",FALSE"). But it seems like the function cannot do it with text..
View 3 Replies
View Related