Excel-how (find/replace) for multifmat cells w/o changing fmat
For a client, i need to be able to find and replace words in cells with 2
formats. But when you replace them,it changes the format of the whole cell,
and not just what you changed. Is there any way to work around this without
changing the format after all of the find and replaces?
Saved from a previous post, but this one has some wordwrap problems fixed:
I think you'd have to keep track of each character's font attributes.
This works very slowly, but works:
Option Compare Text
myChar As String
myLen As Long
myName As String
myFo...Pivot table and counting.
I have a pivot table that gives me the number of rides done by a van. I can
have the pivot table return the number of rides, but what I need is the
number vans that participated for a certain day. Example, it is possible to
have 27 trips done by 18 vans, how can I count the number of vans and not
addup the van number?
Any help appreciated.
We need a bit more information on how your source data table is set up.
What information do you have in each column?
sacredarms <email@example.com> wrote:
> I have a pi...Cell formating in Excel?
Is there a way to have a scroll bar in a single cell?
"pmarina" <firstname.lastname@example.org> wrote in message
> Is there a way to have a scroll bar in a single cell?
I am looking for ideas on how to cycle count serial
number tracked items without increasing workload. Our
serialized items are barcoded but the problem is the are
situated on the pallet incorrectly and the pallet is
placed on a third level of a racking system.
If we could just cycle count based on item count
and not include the serial number it would make it easy.
Is this possible in Great Plains. We are running Great
Any suggestions are greatly aprreciated.
...Set RN = Range(Cells(2, 1), Cells(r, 1)) error
What wrong with this. It create error. How can I improve to get rid the
Set RN = Range(Cells(2, 1), Cells(r, 1))
Too much missing information - has r been declared and what data type is it
and what value does it have. What property of the range are you trying to
store in the variable RN? What type of variable is RN and has it been
> What wrong with this. It create error. How can I improve to get rid the
> Set RN = Range(Cells(2, 1), Cells(r, 1))
&...To keep in just one cell all values related to a monthly rate
I have to update in a monthly basis a currency rate.
I know that there is a function, formula (or something like that) to link a
month descripton to a number.
I would like to select correspondent month and the cell be updated with the
Data Validation dropdown list for choosing the month combined with a lookup
table and VLOOKUP function.
For help on creating data validation dropdown lists see Debra
For help on VLOOKUP to populat...Can I limit a cell to 2 characters?
Is there a way in Excel to limit the number of characters in a cell?
By checking the length of the cell
in your custom validation.
Look for Data Validation on Debra Dalgleish's site.
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm
"Frankc" <Frankc@discussions.microsoft.com> wrote in message news:842747F1-1792-4BB5-B3CE-707C7CC5F88F@microsoft.com...
> Is there a way in Excel to lim...format cells #4
hi. how can i set by default the cell formatting to 'general' or
'number' or even 'text'?
i mean i dont want excel to correct let's say: 1.5 to 01.may or 9/12 to
09.dec. is this possible?
(i have some programs which export data to excel and instead of numbers
in excel appear dates and i can't set the cell format before the data is
notrace2004's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=34817
View this thread: http://www....How do I count the # of times a value reoccurs and plot it over ti
I wish to plot a number of errors made by each users and compare it over
time. I have a column of user ID's and a column of dates. I want the chart
to count the number of times each user ID appears and plot against it's
corresponding date. However, each time I try to do this, the chart appears
wrong. Any ideas?
In article <9595B2A1-8282-4AB3-8511-A6776E108164@microsoft.com>,
> I wish to plot a number of errors made by each users and compare it over
> time. I have a column of user ID's and a column of dates. I want t...Count
I would like to know how which formula I should use to count some codes & to
ignore the duplicated codes, for example in column A:
Now, I want Excel to count & the result is 3 which are:
Yes I can use PivotTable, but I would like to use a formula because I have
to deal with this every day.
I appreciate your support.
COUNTIF will do it.
=COUNTIF(Rng,Rng), where the criterion is the same as the range:
> I wo...change highlight color on active cells
How do I change the active highlight color of an active cell.
Only though VBA.
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
Static OldCell As Range
If Not OldCell Is Nothing Then
OldCell.Interior.ColorIndex = xlColorIndexNone
Target.Interior.ColorIndex = 6 'yellow
Set OldCell = Target
This is sheet event code.
Right-click on the sheet tab and "View Code". Copy and paste into that
Chip Pearson has a great add-in named Rowliner.xla that will make the
highlighting available for all sheets and workbooks.
The code above w...Line count
I am working with a program called Dictaphone. We use Word 2007 in this
program. The line count on Dictaphone and the line count in Word 2007 are
different even though the Dictaphone text is retrieved from Word 2007. Why
would they be different?
What is the difference between virutal line count and physical line count?
...Formatting cells in Excel with Ascending/Descending order
I am trying to insert a drop down asceding/descending arrow in the cell of
the excel document. When you click on the arrow which is a small box on the
right side of the cell, it will organize all figures/data in that column and
you can choose between ascending/descending, or how you want to organize it.
...count number of characters in rich edit control
How can i count number of characters in rich edit control 2
If u mean controls of type Rich TextBox control, try
"Rahul" <Rahul@discussions.microsoft.com> wrote in message
> How can i count number of characters in rich edit control 2
EM_GETTEXTLENGTHEX, WM_GETTEXTLENGTH, WM_GETTEXT, EM_STREAM*
"Rahul" <Rahul@discussions.microsoft.com> wrote in message
> How can i co...Counting sales
I have two different datasets. Each with a common identifier. I need a
formula that will reference the identifiers in both datasets and count the
number of sales a particular agent made. Example. look up this identifier
in the other dataset and then give me the value that is 2 columns over from
the identifier in the second dataset.
See if this helps:
Microsoft Excel MVP
"Dave" <Dave@discussions.microsoft.com> wrote in message
>I have two...How to retrieve value from specific cell value?
Does anyone have any suggestions on how to retrieve value from specific cell
value with specific worksheet?
I would like to create a if-statement within macro,
If specific cell within specific worksheet = 1 then
process following code
Does anyone have any suggestions?
Thanks in advance for any suggestions
If Sheets("sheet1").Range("A1") = 1 Then
MsgBox "run code"
MsgBox "skip code"
> Does anyone have any suggestions on how to retrieve value from specific cell
&...Counting Cells with Conditional Formatting
Is there a way to look at a row of data that is either highlighted yellow or
red and to count only the data that is highlighted yellow and give me that
None of my data is numerical....just one letter data, i.e.: "S" or "U"
I just want to count how many of the cells are highlighted yellow in a
specific row, if that makes more sense.
Here's a UDF (Put in a Standard module)
and use it in cell A1, like =CountByColor(A8:H8,6) << where 6 (at
present) = Yellow = change to =CountByColor(A8:H8,3) to get the reds
Function CountByColor(InRa...COUNT ? need formula
I want to track the results of my teams sales performance.
I record if it is a sale, no sale, cancelled etc in column M. I thought I'd
be able to use the COUNT function/formula to be able to search for all the
SALES in column M and place the result in a cell ( column O )but I can't
work it out.
"Diamond Jones" <kwanzaNOSPAM@optusnet.com.au> wrote in message
> I want to track the results of my teams sales perf...Is it possible to plot discontiguous cells?
I posted this yesterday in Miscellaneous, but thought it would be a
good idea to ask here, too.
I have a column which returns data from other columns based on a set of
formulas. The result in each cell can be either a number (to plot in a
line chart) or a blank and/or "-" sign like so:
I would like to be able to chart only the numbers which result in this
column. The dashes and numbers will not always position in the same
manner as the calculations are altered by user input (therefore I
cannot merely return the next number a fixed rows down into another
colum...Changed Cell Address
I am using the Sub shown below.
Question: How do I determine the address of the changed
Private Sub Worksheet_Change(ByVal Target As Range)
Dim WatchRange As Range
Dim IntersectRange As Range
Set WatchRange = Range("E1:E31")
Set IntersectRange = Intersect(Target, WatchRange)
If IntersectRange Is Nothing Then
'MsgBox "Changes occured outside of range"
'MsgBox "You modified the selected range of cells"
I am creating a report for the number of pupils being collected at a certain
collection time e.g. 14:00hr and 15:00hrs
using the formula =Count([Child Last Name]) in the collection time footer
However when i try to count the overall number of pupils in the footer using
the same formula, 'Error' appears on screen?
There are potentially a dozen footer sections in a report. Which one is
giving you a problem? What is the name of the control? What is the exact
Microsoft Access MVP
> I am creating a r...Counting a count
How do I count a count??
This is what im trying to do:
I have a database with a table named tblMain and has incorporated everything
within that table but contains info from about 8 other tables. I have not
doesigned this database and it appears to have a very poor structure...anyway
There are three fields involved in this process...'Request' (either
'dispensation', 'waiver' or 'dispensation and waiver'), 'Department' (which
consists of 7 other drop down menu options) and 'RequestStatus' which
contains the status of each request by another...data validation
I have used MS Excell 97 and would like to define the validation rul
over the celles in one column, so that text(or number) value entered i
the every next cell to be unique in relation to the all previou
If somebody knows the decision of the problem
Message posted from http://www.ExcelForum.com
Try Debra Dalgleish's page at:
Please respond, in newsgroup
"doynovam >" <<email@example.com> wr...select a range by cell names; vba
I'm trying to select X rows for a sort. The first and last rows have
a defined name, RSTART and RLAST. They look
like this in the Define Name dialog: ='MySheet'!$15:$15 ....
How do you select the rows using these names. Here's the macro output
of my best shot. I can't figure out how to incorporate the second
name. Thank you.
Rows("15:59").Select '<---- Held down shift key and selected
RLAST in cell address combo
Range("I15").Activate ' what is ...Count Problem
I have 20 cells in a single column in a sheet called "Audits"
All the cells have a formula in them.
The formula is a simple one that reads whatever I put into a cell on a
different worksheet called "Names"
I would like to have a formula that counts up all the results I get in the
sheet called "Audits"
At the moment if I enter (let say) 15 names in the "Names" sheet the result
is that I see the same 15 names in the "Audits" sheet, however the COUNTA
formula returns a total of 20. SO obviously...