Replacing Characters Partially
Jul 23, 2009
Hi, i need to change the second and third character from a 3 character word..
I need to change it into 2 characters with double Alphabetical order (TAA, TAB, TAC...TAZ, then TBA, TBB, TBC... TBZ, and so on).. kinda hard to explain.. it's like this:
View 11 Replies
ADVERTISEMENT
Feb 27, 2009
i got a a sheet with over 10000 entries, problem is that it has been compiled by many people, each which has his or her own way of entering the data. Here is the problem i have a field in which they can enter a coordinate X,Y and a corresponding area. the sytaks is Area XXYY so it should look like this P20522. Where P2 is the Area and X=05 and Y=22.
most of the entries has the area in a different field and is written X5,Y22 but some is done correct some without the comma, further more i need to add the 0 in fron if it is a number below 10.
View 9 Replies
View Related
Jun 18, 2009
I have inherited a spreadsheet that will prompt the user for a text file to import and it will split each line into different cells based on column widths. The problem is that one field can contain non-printable characters that are causing the macro to split the data into 2 lines.
I think one of the special characters is a new paragraph but there could be others.
I need help with replacing these special characters with a space prior to spliting the line into an array.
View 6 Replies
View Related
Mar 10, 2009
I've got a long sheet that I imported that contains a column consisting of a URL - something like this for an example:
http://www.example.com/images/imageone.jpg
http://www.example.com/images/imagetwo.jpg
http://www.example.com/images/imagethree.jpg
Is there a formula that I can use to strip off the ...
View 6 Replies
View Related
Dec 29, 2012
I have a sheet with ascending week-ending dates in the row at the top.
Next row is the man-hours worked for each week.
Next row is the # of First Aids for each week.
Not every week has a first aid and I want to sum the number of hours worked since (not including) the week of the the last First Aid.
There is a summary sheet which pulls the data from any selected week via a HLOOKUP function. So, I'm thinking I'll add a hidden row with the new "Hours since last FA" under the # of FAs row and insert the magical formula into each cell in that row.
The dilemma is I can't come up with a formula/function to calculate the "hours since" data.
View 6 Replies
View Related
Nov 10, 2013
I am having a hard time understanding why the following code (i am avoiding the select procedure on purpose) doesn't work:
Code:
Function APMS_Border(Namesheet As Variant, Mode As Variant, RowStart As Variant, ColStart As Variant, RowEnd As Variant, ColEnd As Variant, LeftBorder As Variant, TopBorder As Variant, RightBorder As Variant, BottomBorder As Variant, InterColor As Variant)
Dim BorderMatrix() As Variant
[Code]....
it only draws the left border of my range, am i missing something?
View 3 Replies
View Related
Aug 1, 2014
I would like to find a text string in the column A and index the value after the string.
For example: somewhere in the column A is a text "value: 800 USD" , so I would like to find the text and index the characters after the ": " in the cell C5. Therefore in the cell C would be "800 USD"
I am including sample file here: smpl.xlsx
View 1 Replies
View Related
Jun 20, 2014
I can extract unique values from the list but thing is I need extracts only those values which match partially below is scenario
Column A has values ----
Column B has Countries..
so I need extract only those values which eg : Contry is "*Ind*"
Code:
=INDEX($A$2:$A$15,MATCH(0,COUNTIF($C$1:C1,$A$2:$A$15),0))
above formula I used to get unique values I need to add one more criteria which gives only matched.
View 1 Replies
View Related
Feb 25, 2009
I've got a named range which defined using a custom function. Lets call this named range [range1] which is defined by:
View 14 Replies
View Related
May 27, 2013
I have a list of jobs over a 24-hour period, that looks like this:
job1: 03:00am, duration 10 minutes
job2: 04:00am, duration 20 minutes
job3: 09:00am, duration 04 minutes
job4: 01:00pm, duration 65 minutes
Now I want to make a horizontal bar, that divides the bar into a 24-hour period (e.g. gray background) and fills the gaps that the system is in use with green parts, so in this example, the whole bar is gray and the part from 03:00am-03:10am+04:00am-04:20am+09:00am-09:04am + 01:00pm-02:05pm is filled in with green.
I have a list with about 300 of those jobs, so it would be nice if I could automate this. How to do this in Excel/VBA ?
View 1 Replies
View Related
Jan 20, 2013
My task is to combine two large databases into one spreadsheet by extending the number of columns. The data from each database is 90% matching based on an identification number, however occasionally there are additional rows or unmatched identification numbers that need to be kept for analysis.
When this happens, there needs to be a blank row inserted to represent the missing data in the rest of the corresponding row.
I am having trouble finding a quick way to do this because I have approximately 12,000 rows (and columns up to DV when combined).
for example:
p1
data
data
data
data
p2
data
data
data
data
[Code] .....
needs to become:
p1
data
data
data
data
[Code] .....
I am guessing I will need a macro of sorts, So far I have made one column that tell me if the ID's are matching or not (1 or 0) and if they are not matching (0) I manually insert the rest of the row that is missing or make space for the duplicate data (which needs to remain).
View 5 Replies
View Related
Jan 17, 2012
Is there an Excel formula to remove the spacebar + characters in red, as shown below? I need to be left with only the last name, first name and the semicolon.
Mouse, Mickey ;
Microsoft Outlook has changed the way that email addresses from the global addressbook copy and paste (from version 2003 to version 2010).
View 8 Replies
View Related
May 13, 2009
I'm trying to use conditional formatting to highlight cells in a column that have less than 8 characters.
I know the LAN function, but I don't know how to make it work for the conditional formatting.
View 9 Replies
View Related
Feb 4, 2008
I have set up a forecasting module for my company, which I update on a weekly basis.
Basically, I centered my forecast on an 8 week average. Using all of the various equations in a regression, the 8 week series of data is used close to 500,000 times for each week’s forecast. What I am trying to do is move the 8 week series (A#:G#) and change it to the next set of cells (B#:H#) without having to do it using a filter and change all of the various instances of the occurrence. Because of the nature of the forecast, I will be "rolling" it forward every week, so to be able to do this all at once each week would save me a bunch of time. I tried using the Find/Replace fn by having it use the * symbol in place of the #...and this worked when I had it Find the data, but when I tried to use it to Replace the data, it reported an error?
View 15 Replies
View Related
Dec 28, 2008
I have series of companies and output ,some values of output are missed how can be replaced by the average of nearst two years values of output or replaced by the following or previous value of output,sample of my data is attached.
View 4 Replies
View Related
Jan 28, 2009
how i would remove telephone numbers in a particular spreadsheet which are preceded with 44 which need to be removed and then replaced with a zero.
eg. 441234567890
View 9 Replies
View Related
Jun 12, 2009
I want to be able to replace the bolded and underlined areas of this javascript i have pasted in a cell with the value located in another cell. This means that those numbers would be replaced by a similar thing located in another cell. how can this be done? The way I would think you would do this by defining that say =b8 (an example of where the data could be coming from is ann excel formula, but not sure how to do this ...
View 6 Replies
View Related
Apr 29, 2009
One of my friend send me a problem. I got frustrated and scold him lot to do work like this but then I tried to work on it. Although my Vb experience is not good enough.
The problem is this that we have different things written in cells in column A like this “SET-EDT SPRAY 3.4 OZ & BODY LOTION 3.4 OZ & TOILETRY BAG “ and in some cells “EDT SPRAY 1 OZ”
Now we want to replace value Oz with value Oz / (Value * 3.75) ml. the below example will clarify the situation: ...
View 6 Replies
View Related
Feb 17, 2010
What it does is to activate the desired worksheet, and for 3 different choices replace what's there with what I want to be there. I put this together a while back, and it's working fine, but I'm sure it can be cleaned up a bit. Any help would be appreciated.
View 9 Replies
View Related
Oct 26, 2009
I would like to set up a worksheet where once an ID number is scanned, the next cell over is populated with that person's name. (i.e. Johnny scans his ID 234567 and in the next cell, "Johnny Smith" is filled in. I have a worksheet with the ID numbers in one column and names in another, I just don't know how to get a second worksheet with a formula that will allow me to do that.
View 2 Replies
View Related
Apr 21, 2009
I need a formula that will replace a dollar amount with an X. In other words...I have 10,000 cels and half of them have dollar amounts in them...I would like to replace them with the letter X without having to manually do it...
View 9 Replies
View Related
Aug 30, 2009
I am a not too good programmer, but I construct chemotherapy regimens for my medical department. They are used to minimise the risk of wrong dosing to patients, etc. Every regimen is an .xlt file, and about a third of them (there are about 100) generate, in addition to pharmaceutical prescription, automatic letters to patients (for those regimens where patients administer oral dosing at home).
These patient-letters have the hospital's logo on them (the logo is a "shape").
However, the problem is that another hospital also wants to use my system. So I will have to replace all these logos with the other hospital's. I would like to do this in an automated way. I have received the other hospital's logo also as a shape.
I have already constructed a data-inserting macro in a separate file. This macro systematically opens each xlt file and replaces the text in key locations according to the file the macro is in (geographical names, etc.).
Is it possible to automatically replace the logo-shapes in a similar way, with these additional facts/wishes in mind:
1. There is always only one type of shape (a logo) in the xlt files.
2. Even though the shapes are exactly the same, it is possible the names are different.
3. The exact location for the shape is different in each xlt file, so I'd like the replacement to get the same top left coordinate as the one it replaces.
I have constructed 2 different files with the same data-inserting macro, each containing one of the logos (so I can change back to my own hospital) and geographic data. When the data-inserting macro is used, I'd like it to identify the shape in the data-inserting file (there's only one shape in this file), copy it, then identify the shape(s) in the present xlt file, and then replace these, in the exact same location.
View 9 Replies
View Related
Feb 9, 2007
can anybody write a macro code for the following: We want to have five values representing operative time in a row with a mean in the sixth position. The hard part is to get a macro that will allow us to put in a new value in the first column and have it shift the other values to the right and dump the existing fifth value and come up with a new mean.
View 9 Replies
View Related
Mar 6, 2014
I'm currently building a large spreadsheet which will require numeric codes to be within certain cells. At present these cells are filled with alphabetical codes and the person using them has little knowledge of the numbers, is there a simple way for them to type in the alphabetical code and it to then auto-replace it with the numberical?
View 8 Replies
View Related
Jun 4, 2014
Have a column of cells (521 rows), on the column each cell contains a group of number
Example:
27, 539, 484, 485, 506, 594, 523, 502, 505, 525, 541, 526, 527, 529, 542, 533
28, 540, 493, 494, 506, 594, 523, 502, 509, 525, 541, 526, 527, 529, 542, 530
28, 540, 493, 494, 506, 594, 523, 502, 509, 525, 541, 526, 527, 529, 542, 533
Let's say I would like replace 27 to 163 but when I find and replay the "527" also changed to 5163. How can i filtered out 527 and just change the 27. I tried Match Entire Cell Content, it doesn't work.
View 14 Replies
View Related
Jul 28, 2008
I have a long list of locations in an excel spreadsheet, stating either the country (eg India) or for US locations the state (in a two letter format, eg NY). I need to change all the state location to say "USA". How can I do this, without doing 50 find and replaces? Can I do something based around the fact all the USA locations are two letters, whereas all the others are longer?
View 4 Replies
View Related
Apr 14, 2009
I have a file with some statistics on how agents at work performed. This file gets sent to all of them, but before we send it we change the names for a number, so that they don't know how the other agents are doing (avoiding comparisons). People had been doing this manually, but it's getting really complex as the number of agents is increasing. I know that this can be automatized, but I have no idea on how to do it. A simple formula with an IF statement wouldn't be sufficient. Here's an example of the data. The file that is to be modified to be sent to all the agents looks like this:
View 3 Replies
View Related
Jun 22, 2009
I'm working with a lot of documents where I need to replace numberID:s with words.
I have a table of 2 columns, where each number has a corresponding number that it should be translated to.
For instace:
1 - cpu
2 - fan
3 - bus
Is it possible to use this list to automatically Replace all the numbers in a document with their corresponding words?
(Without having to spend time on manually program some kind of macro)
View 14 Replies
View Related
Oct 29, 2009
I have 2 colums like this. And I want whenever there is a reference like this âë. "some word" in column 2, to have the macro look up some word entry in column 1, find the text in the same row in column 2 and replace the âë. "some word" reference with the text found in column 2. (See attached, sheet 1 as it is, sheet 2 as I want it to be).
Sheet 1
another wordâë. "some word"
awordìåôÜöñáóç
bwordâë. "aword"
some wordêÜðïéá ëÝîç
Sheet 2
another wordêÜðïéá ëÝîç
awordìåôÜöñáóç
bwordìåôÜöñáóç
some wordêÜðïéá ëÝîç
View 9 Replies
View Related
Apr 23, 2013
I need in every column in every rows (that is in whole document ) change symbol, to, (that is before every comma, I need add back slash ).
View 1 Replies
View Related