Remove Cells With Strikethrough?
May 22, 2014
I'm looking to create a procedure to look at a specific range of cells, then remove the cell contents for those that contain strikethrough formatting. How do I go about that? Can this be done without looping?
View 5 Replies
ADVERTISEMENT
Sep 18, 2007
I have a column of names, some of which are manually formatted with the strikethrough font.
I need to know how to count the cells that contain text formatted in this way. This total will then be used within a longer formula to produce a net result.
I have found tips on counting coloured cells but none that seem to apply to this form of font format.
View 9 Replies
View Related
Feb 23, 2010
I'm trying to sum up a column of cells which have both text with and without strikethrough formatting. I've looked around and got some VB codes but it doesn't work for me.
I still get the annoying #NAME? error. It did work initially but after moving the file to another computer it just became #NAME? again.
View 6 Replies
View Related
Jun 29, 2012
I need a count that will ignore font that is strikethrough. Is that possible?
View 8 Replies
View Related
Nov 3, 2006
It is supposed to take the rows with striketrhoughs and transfer them to the other sheet.
Private Sub Worksheet_Activate()
If Cells.Font.Strikethrough = True Then
Rows.Select
Selection.Cut
Sheets("Completed Deployments").Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=True
End If
End Sub
View 8 Replies
View Related
Nov 17, 2008
I have this code below, which someone from this forum kindly kindly gave to me for my Worksheet code. What it does is check the value in a dropdown list in column I and if it says "Cancelled" then strikethrough columns A-K of that row.
What I wanted to know is this, in cell N2 has the formula to show todays date. In column D9 onwards is an end date. How can I amend the code below so that it also checks to see if the date in Column D9 onwards is greater than N2 and if so strikethrough columns A-K in that row?
Would it be in the form of an OR statement in the code below?
View 9 Replies
View Related
Jul 16, 2008
Is it possible to have a worksheet code that would underline a row if a certain value is selected in a dropdown list?
I have a worksheet with data populated across colums A to K, in Column I there is a dropdown list. What I wanted was to be able to understrike the Columns A to K of a particular row is the value in the dropdown list in Column I ="Cancelled". I cannot use Conditional Formatting as I have already used the maximum 3 formats for other features.
View 9 Replies
View Related
Nov 24, 2013
I have a workbook with multiple sheets. I want to use VBA macro to delete the row where the first column is strikethrough. I try to the follow VBA code but it doesn't work.
Sub Macro1()
Dim cell As Range
Dim delRange As Range
[Code]....
View 3 Replies
View Related
Feb 23, 2014
Wanting to remove all zero's from cells that contain zero only.... I don't want to hide them I need to remove them....
have tried several options and can't seem to find the 'right' one....
Find and replace is not and option; unchecking display zero not an option and whilst I can sort each column and manually delete the zero feel there should be a better way...
View 4 Replies
View Related
Jun 24, 2014
I'm working with a large range of data in single columns and I want to remove all text characters (a-z) from the workbook. There are some cells which have text characters with numerical characters so I'm struggling to find a way to isolate them.
View 6 Replies
View Related
Oct 19, 2009
is there a way i can clear the formulas in column B. the value must remain only the formula should be removed...
also i want to avoid copy /paste method of doin it...
a VBA script would be great ..
View 9 Replies
View Related
Jan 25, 2010
I have two columns each of 5000 cells. Some cells of column A are duplicated in column B. The duplicates are not necessarily on the same rows. How do I delete the duplicates?
I've spent hours researching for an answer and I've tried Data>Filter>Advanced Filter many many times and it does not work. The two columns just sit there. Shouldn't this be a very easy thing to do in Excel?
View 9 Replies
View Related
Feb 10, 2009
I need to remove the last 2 digits from a cell that maybe different lengths. For example:
PL26 7QS
ST20 0AW
LE4 8LF
PE30 3WH
CF31 3AY
View 3 Replies
View Related
Sep 6, 2007
I have data in column "A" that contains an asterisk at the end of the cell value. The problem is, this asterisk can be any number of spaces away from the value that I want. remove this character from the cells? Data is copied from another program and the number of rows can be different from day to day.
View 5 Replies
View Related
Jun 17, 2008
i deal with column that has client initials, date of birth and gender, in this format t-b-23/05/72-f however i want to remove the initials and gender(i.e. f or m on the left) and - so that only date of birth remains in same column.
View 3 Replies
View Related
Sep 17, 2008
I have about 10000 cells of varying length in text and numbers but they all end with numbers on the ends of them. Using text to columns doesn't work because they're all different lengths and it cuts them off in the wrong place.
Is there a formula I can use that will return only the text from these cells and remove the numbers. It would definitely save me time from individually deleting the numbers at the end.
View 11 Replies
View Related
Jan 25, 2009
s/s is 325501 rows deep. Down one column are values but these are seperated by blank cells.
I need to omit the blank cells so that all the values appear together, but keep them in the same formation (not sorted).
View 6 Replies
View Related
Feb 9, 2009
I am exporting lots of data from a website and for some reason to do with html i am getting   in a few cells in my description column (column C), i think that means "& " in html. this occurs in some cells but not others when i paste it into Excel. I would like to remove these characters.
I know I can do it with crtl H and the replace field blank but I would like a formula so in the future the user will simply have to paste information and then get converted information out (as they will struggle to use excel).
View 4 Replies
View Related
Jun 11, 2009
my values within column A are separated by a dash. I'd like column B to continuously copy column A with the exception of the characters after the dash. example:
____A_____________B
12345-456_______12345
22456-333_______22456
1553665-45______15553665
How can I format cell B to constantly reproduce this result?
View 4 Replies
View Related
Oct 2, 2013
I'm needing to import a .csv into another software and it needs the fields formatted a specific way.
The spreadsheet I've been given has columns for different departments and an X to denote if they fall under it. As an example.
Name
Sales
OHS
HR
Joe Bloggs
X
X
Bob Smith
X
John Doe
X
X
For the import into this software it needs the fields like this, the name in the cell has to be exactly the same as the column header.
Joe Bloggs
Sales
HR
Bob Smith
OHS
John Doe
OHS
HR
Is there an easy formula to scan the row, if an X is found substitute the X for the column header text and if no X in a cell delete it and shift all cells to the left within the row ?
The substitution is quite easy and I've played around with lookup or if statements to quite easily do that but the bit I'm having trouble sorting is removing any unnecessary cells in that row so only cells with data are listed in the row.
View 1 Replies
View Related
May 30, 2014
I have scroll a column and clear (not delete) the content of those cells that they are repeated. not delete the row
I tried with this code but doesn't work, why?
[Code] ......
View 1 Replies
View Related
Jun 23, 2014
I currently have a spreadsheet that contains about 1700 lines of data related to ~400 different clients which I am looking to consolidate.
The data is currently in this format (a set like this repeated ~400 times with anywhere between 3 and 7 services):
Company ID #
Company Name
Service1
Company ID #
Company Name
Service2
Company ID #
Company Name
Service3
I would like to have the data in this format (one row per company with all of the services in the third column concatenated into a single cell, all while removing the duplicate rows.)
Company ID #
Company Name
Service1, Service2, Service3
How to create the code (or describe the process) necessary to do this?
View 5 Replies
View Related
Jan 25, 2009
s/s is 325501 rows deep. Down one column are values but these are seperated by blank cells. I need to omit the blank cells so that all the values appear together, but keep them in the same formation (not sorted).
View 4 Replies
View Related
Feb 20, 2009
I am using the following code to grab installed software on a remote computer through a macro in Excel 2007. I don't have the entire code I'm using as the majority of it works, this section here though is where I'm having problems.
View 4 Replies
View Related
Dec 6, 2008
I need to remove the last bit of text from the contents of multiple cells in a column. In my attached example, I want to remove the last line break and the text "• List Price £", by processing all the cells in the column at the same time.
I can add text OK in Format: Cells: Number: Custom using @"text" but haven't been able to figure out how to remove text yet!
View 4 Replies
View Related
Oct 5, 2012
I've got some VBA that adds and removes a border around a merged cell. I created it by recording a macro and it's pretty clunky. It needs to do this for 6 different merged cells, based on different events and takes around 5 seconds to complete. Not a major problem, but I was hoping that I could make it more efficient. Anyway, code below:
Adding the border:
Code:
Sub AddRAGBorderChart1()
'
' AddRAGBorderChart1 Macro
'
'
Range("D4:M15").Select
[code]....
Removing the border:
Code:
Sub RemoveRAGBorderChart1()
'
' RemoveRAGBorderChart1 Macro
'
'
Range("D4:M15").Select
Selection.Borders(xlDiagonalDown).LineStyle = xlNone
Selection.Borders(xlDiagonalUp).LineStyle = xlNone
[code]....
View 6 Replies
View Related
Nov 13, 2006
Is there a way to remove blank cells from a list?
Example:
A
1
3
4
5
5
Result:
1
3
4
5
5
View 9 Replies
View Related
Jul 27, 2009
I require a formula to remove all text and spaces from a cell, reporting back only the single digit number that is contained within.
A1 - Data to be manipulated (e.g. options look like "2UE", "UE2", "4P", "5 TW")
A2 - Result with all text and spaces removed (e.g. "2", "2", "4", "5")
View 9 Replies
View Related
Nov 8, 2009
I have copied information from an outside source to Excel. Unfortunately, the information includes numbers preceding the text which I need to delete for all records. Is there an easier way of deleting this information without going to each individual cell to delete the numbers
View 9 Replies
View Related
Dec 2, 2009
way to remove text from cells that should only contain numbers.
Example: 124 fcm 12 std
View 9 Replies
View Related