Find / Replace Two Different Chars

Mar 26, 2009

Assume someone typed the hereunder date ad TEXT.

The Formula bar shows: ="01/01/2009"
The cell presents: 01/01/2009

I need to remove the equation sign as well the two inverted-commas.

I am familiar with the "Text to Column" feature, the use of SUBSTITUTE Function, a short macro and also the Find&Replace is also a good idea but, as far as I understand,
it must be run Twice(!)

I am looking for a way to use Find&Replace in "One! shot" - meaning, to put the TWO different(!) characters [ the '=' and the " ] in the 'find what' window,
leaving the 'replace with' window empty.

I know that something similar to that can be done in a "Word" document - but can it be accomplished in Excel?

View 6 Replies


ADVERTISEMENT

Excel 2003 :: Find And Replace Missing The Ability To Replace Values?

Feb 5, 2009

This problem has come up fairly frequently lately, and I'm not sure how to fix it, or if this is by design...but in Excel 2003 I can't seem to do a "Find and Replace" based on the value of a cell. I can do a find, based on cell value, but the moment I change to the replace tab, the "values" and "comments" are missing from the "look in" dropdown.

I've only noticed this when I'm trying to replace on a filtered list, so I'm not sure if that is part of the issue.

Perhaps an alternative way of arriving at the same goal. Basically I have a worksheet with a number of filtered columns. They are filtered just right, using custom filtering, and so I do not want to undo the filters. In some columns I have formulas that are returning #VALUE! errors. I'd like to replace all of these cells with NA.

View 6 Replies View Related

Find And Replace To Not Replace Characters Found As Wildcards?

Jul 2, 2013

I recently became owner of a spreadsheet with some issues, and I am trying to make it useful. Each row has a URL of a blog post, and I want to extract the date from it (which is present in each URL) while getting rid of the rest of the URL. I was able to get rid of everything up to the year (which comes first), but then the URL continues, for example, 2013/05/16/the-rest-of-the-url/ and I would like to just have 2013/05/16 remain.

I am trying to use find and replace with the find box reading 2013/??/??/*/ and replacing it with 2013/??/?? which effectively erases everything else in the url, but leaves ?? instead of the numbers. Is there any way to have it so that it keeps whatever was in the original box?

View 4 Replies View Related

Doing Find / Replace Not Working If Replace Text Is Too Large

Feb 5, 2014

[Code] .....

Trying to repeat a 550 or so character statement with a find/replace however I am getting type mismatch errors. When I use a smaller message in the "replace" it works.

I need it to post a message exactly as long as what I have in there. How do I get it to work?

View 6 Replies View Related

Catching Errors When Using The Find / Replace Function / Replace All

Apr 20, 2006

Need assistance with the code for catching errors when using the find / replace function in excel? In particular, I am trying to write code to break to an error message when the value or string searched for isn't found in the find / replace. At the minute I have just copied the standard code using a macro and all this does is return a message box saying X entries replaced.

View 3 Replies View Related

Find, Replace With And Then Replace Adjacent Cell

Mar 18, 2009

I am trying to create a macro where it finds a a certain word in a column for example C. What i want it to do is find anything that says FWD_EUR and then replace that cell (e.g C2) with CASH_EUR_FWD and after it has done that it replaces the adjacent cell (e.g. D2) with EUR_FWD. I then want this to do the same with FWD_USD to CASH_USD_FWD and adjacent cell to USD_FWD.

View 2 Replies View Related

Find Replace :: Find All Occurences Of And Or AND And Replace With And

Oct 26, 2009

Range B3:B1000 is text strings. Column C2:C50 is a list of words that I would like to "Find" in Column B and replace with it's lowercase values unless they start off the string.

Example

Find all occurences of And or AND and replace with and
Find all occurences of With or WITH and replace with with.
Find all occurences of Or or OR and replace with or

View 9 Replies View Related

Get Set Of Chars From A String To A Variable

Dec 24, 2009

I believe I should use the INSTR function, but I simply dont understand its use very well. I have a string in a cell, "MEAS/SPHERE,F(QUA_1),5", the characters I need start at the "(" and end at the closing ")", ref: (QUA_1). The start and end will always be the same, the length of characters and the spelling of characters be anything. Thus, QUA_1 can be CAL_1, CAL_2, SOMEOTHERTEXT_1 or 187bgo_199, etc, always enclosed in "( )". I wish to place the characters and the closing "( )" into a variable as a string.

View 5 Replies View Related

How To Get Set Of Chars From A String To A Variable ..

Jan 8, 2010

CALIB/SENS,S(S5a90b-90),FA(CAL_15)

This one has two sets of quotes, with the information from the noted post I can retrieve the string "S5a09b-90", now that I have a double set of brackets "( )" how do I get the value for the second set of brackets, "CAL_15"?

In the quoted string, CALIB/SENS,S, is constant. The first set of brackets are constant (string length is not), the second set of brackets are constant (string length is not).

View 7 Replies View Related

Remove Index Chars From Left

May 21, 2009

I made in a macros this formula :LEFT(RC[-1],(LEN(RC[-1])-2))
is removing from left side an index , like in this example '
9117 - 570-65CE49D-B4-7 to obtain 9117 - 570-65CE49D-B4

so here is my code,

is with an userform, but it gaves me an error, that my procedure is invalid

View 5 Replies View Related

Spaces To The End Of A String To Make It Up To 36 Chars

Jan 11, 2007

I need to some spaces to the end of a string to make it up to 36 chars.

The original string can vary in size based on the courier name.
i.e. : business direct invoice 40617 = 29 chars
i.e. : TNT post invoice 4061755 = 24 chars


Can someone point me in the right direction to be able to concat' some spaces on the end to make it up to 36 chars.

Would this be easier done using VB?

View 11 Replies View Related

Remove Some Chars From End Of String Variable

Jun 22, 2006

I want to remove varying amounts of periods that appear at the end of my strings. For instance, ABCEDFGH......., DEFGH.., FG.... etc. Do I have to test each char to see if it's a period, and then use that count of chars to LEFT out the string that I want? Or is there an easier, quicker way to do this?

View 3 Replies View Related

Strip Chars From Cells & Sort

Feb 19, 2008

I have just done a vba project of striping chars (QOOO1=) from each cell
and then sorting the records on column6/question6

however i have been able to do this and display results in second worksheet(Results2)

I feel there is a better way to do it and display the results on same worksheet

Could anyone take a look at the file and help.

IMPORTANT:Place curse on "Results2" worksheet and run the macro:Pres

Do not run the macro on main sheet all data will be lost and will have to download again.

File:[url]

View 6 Replies View Related

Longest Series Of Consecutive 2 Chars In String?

Aug 23, 2014

I'm looking for a formula which returns the longest consecutive series of occurrences of 2 chars in a text string.

In the case I'm trying to count the longest consecutive number of nine-spares (9/) in a bowling game.

For example:

|7/|X|9/|9/|9-|9/|9/|9/|9/|X8/|longest series of 9/ would be 4.
|9/|9-|9/|9/|7/|9-|(8)/|X|7/|9-|longest series of 9/ would be 2.
|9/|(8)1|X|X|72|63|7/|8/|8/|9/9|longest series of 9/ would be 1.

View 9 Replies View Related

Removing Chars Not (a-z,1-9,space,comma,period)

Dec 17, 2009

I have a file of names that has some undisplayable characters. I am trying to match against a different file. It works if I overtype the "blank" fields with a space. How can remove these trailing problem characters whatever they are? I tried CLEAN and TRIM and the mystery characters are still there.

View 2 Replies View Related

Code To Extract 4 Right Chars And Paste In Another Column

Oct 27, 2009

I am having problems with a macro I am writing and I need some guidance on where I am going wrong (I am still a noob at VBA).

I have pasted the code below (not the most efficient use of code I know).

I have a list of departments and codes from the Intranet at Work. Now this contains a Department Code, Department Description and within the Description is a number in brackets showing how high up the organisation hierarchy they are....

View 9 Replies View Related

How To Return Specific Chars In A Dynamic String

May 30, 2007

I'm using excel 2003 and I have have a dynamic string of data separated by 19 commas ",". I think 19 (the # of commas) is one of the few fix numbers...

What I'd like to do is from Right2Left return the 5 characters immediately to the right of (before) the 11th "," comma (i.e. 22.59 for the 1st string on Excel Cell A2) OR from the Left2Right return the 5 characters immediately after the 9th comma "," comma, which is also 22.59

Example of some of the strings I've been trying to work with...the list is much longer...but for example sake I've limited to 4...

View 9 Replies View Related

Find And Replace ....

Jun 9, 2009

I was wondering if it is possible to do this unique find and replace that is explained below.

I have many columns with data from our database. I have one column that has my html layout in it. I want to find within the html text data and replace it with data from another column for that row.

Example: We have [[manufacturer]] in the html area that we want to replace with data from our column called Manufacturer. So, it will replace the text in the html named [[Manufacturer]] with that rows Manufacturer data we have.

Is that possible to do?

View 14 Replies View Related

Find / Replace Using VBA

Oct 31, 2011

I have around 10 names which I want to replace with their code names. For Example, "Alan Richard" needs to be replaced with AR001. Problem is I don't know cell range and this name might appear more than once in the data.

View 4 Replies View Related

Find & Replace In VBA

Nov 15, 2006

I am trying to find and replace #N/A from a formula (link to another sheet) with nothing in the cell, using VBA.

Using this code it will do the first "find"
Cells.Find(What:="#N/A", After:=ActiveCell, LookIn:=xlValues, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
True, SearchFormat:=False).Activate
ActiveCell.ClearContents
Trying this
Cells.Replace What:="#N/A", Replacement:=" ", LookIn:=xlValues, LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=True, SearchFormat:=True, _
ReplaceFormat:=False
LookIn:= is highlighted and I get a "named argument not found"
Don't understand that because LookIn:=xlValues works in the first code.

I did try and place After:=ActiveCell,before this, but that does not work. I Get the same error.

I have more then one cell with the #N/A which I would like to get rid of. I want this to work only on this one sheet. The other sheet that the formula is pulling from does have #N/A, and that is okay, I need it there.

View 9 Replies View Related

Find And Replace ..?

Mar 2, 2007

I have a list of sales associates that are assigned numbers. For example, John Doe is 1022. The data I have to work with only shows his number 1022 but for my reports management wants the name John Doe. I have about 60 sales associates and have a VB code that 'finds and replaces'. The code is huge. It has slowly grown out of hand, with more sales associates added daily. I also have 22 sheets in one workbook with specific columns to search for the numbers to replace with the names.

This is what I would like to do. Have a sheet named associates, as more associates are added I would just have to add their name and number. Have two columns with headers column A - Associates column B Associate #. Name ranges for the two columns and write a code that says look in the sheet associate, at named range 'numbertoname' and if the current sheet 'total sales' I am in has the number 1022 in column C replace it with the name John Doe. It seems like it should be easy but.......I have tried and tried today.

View 9 Replies View Related

Find And Replace ‘*’

Sep 15, 2006

I am facing a strange problem with Find and Replace function of Excel. I converted a PDF document into a Word document. I copied the tables in the Word document to an Excel document. As the data had many ‘*’ characters, which I did not want, I used Find and Replace function to get rid of them. However, to my surprise, two things were happening.

1.When I tried to replace ‘*’ in a cell with ‘ Construction revenue ********************** ’, it was deleting all the contents of the cell.
2.When I tried to find all the cells with ‘*’ , it was selecting cells even without ‘*’

I tried various things like changing the format, pasting only values..etc, but nothing worked. Finally I had to use the Replace function of VBA to do the task. For further analysis I am attaching my Excel file with that data.

View 3 Replies View Related

Find Replace Not Working?

May 15, 2014

In the attached file I want to do a Find/Replace for 599 --> 599.0 and 428 --> 428.0. When I do a F/R for each it tells me it has made 3 and 5 replacements respectively but the data is not changed?

View 7 Replies View Related

Find And Replace With Criteria?

Jan 6, 2014

how to find and replace to prefix and suffix string/text, see this below :

JACK MANHOLD ----------- JACK
SISCA JACK HOLAND ------- JACK
ANDREW JACK ------------- JACK

View 14 Replies View Related

Using Wildcards In Find & Replace

Aug 16, 2007

I'm doing a search simular to this

=VLOOKUP(D*,Sheet2!A*:B*,2,FALSE)

and I want it replaced with this

=VLOOKUP(D3,Sheet2!A1:B42,2,FALSE)

HOWEVER when I do the find & replace I don't want it to change whatever the current value is to D3 I want it to stay as whatever it was already....so how do I exempt the "D" value from the search?

View 13 Replies View Related

Find And Replace Not Working ...

Sep 11, 2008

I'm using Excel 2007 and trying to replace about 2000 commas with full stops. I want to use find and replace but keep getting a message saying that Excel cannot find the data I'm searching for.

Excel help suggests I haven't clicked on "find" before clicking "replace" but I did.
I've tried highlighting the column in which I want to make the replacements, but same message.

Also tried highlighting nothing, same message.

Tried copying and pasting the whole thing into a new file, but same message.

View 14 Replies View Related

Look, Find, And If True, Replace?

May 14, 2009

I have two groups of numbers. The first group is x amount of rows and each row has 6 numbers. The second group is x amount of rows and each row is 7 numbers.

Each number from the first group needs to check to see if it exists in the second group. If it does exist, the cell should change to a highlighted cell, or switch to an 'X' or something else that identifies it has been matched. Note: Numbers may be duplicated in both groups. Is there an easy way to do this, or will it involve programming? I'm attaching an example of the "group" setup.

View 5 Replies View Related

Find And Replace In Formulas

Jul 19, 2009

I have various formulas (such as: =(D3-$E$3)/$E$3 )
which continues for each row (IE next row 3 is replaced with 4 etc)

I have made som errors when I made the formulas and therefore I have the following questions:

1. Is it possible to find and replace all E's with another letter (F in my case). I haven't been able to resolve this, when it has to be done inside formulas?
The optimal would be if I could set 'Display formulas' under tools, and find and replace in the formulas displayed.

2. Is there a smart way of swapping D3 with E3 for all formulas? (So the result will be: =($E$3-D3)/$E$3 and etc for all formulas)

View 5 Replies View Related

Wildcards - Find & Replace

Jul 20, 2009

how to do a find and replace on the following

090226000/Jones/123 Main Street

All data has numerical 9 places first field
I need to eliminate the /Jones/123 Main Street
so that I just have 090226000

I thought * would work but it's not returning the
correct output

View 10 Replies View Related

Find And Replace Asterisk

Oct 25, 2013

How does one use the find and replace function in Excel to replace an asterisk? "*"

View 2 Replies View Related







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