deleting blank rows for up to 60000 rows of data
I have worksheets with up to 60000 rows in one column I have tried using the
following macro from this site and it does not do anything. Any ideas?:
Dim i As Long
.Calculation = xlCalculationManual
.ScreenUpdating = False
Lastrow = ActiveSheet.UsedRange.Rows.Count
For i = Lastrow To 1 Step -1
If WorksheetFunction.CountA(Rows(i)) = 0 Then
.Calculation = xlCalculationAutomatic
.ScreenUpdating = True
The code works f...Hiding "0" values in pivot table
In a worksheet I have a listing of stock records with ItemNumber, Date,
StockLocation and NumberOnStock. When I make simple Pivot Table with
ItemNumber and StockLocation as rows and select a Sum of "NumberOnStock"
I would like to hide rows where the sum is "0". But this does not seem
to be possible.
Tried to follow the guidelines in the Microsoft article:
But no luck :-(
You could use conditional formatting on these cells - highlight the
cells,...Hiding formuals in cells question
Hi. I was wondering if there was a way to hide the formulas in cells without
protecting the sheet. I am making something for other teachers at my school
and I want to hide the formulas so they won't mess anything up on the
spreadsheet. Any help would be greatly appreciated. Thanks!
not without protecting the sheet but why is this a problem for you?
"JP" <JP@discussions.microsoft.com> schrieb im Newsbeitrag
> Hi. I was wondering if there was a way to hide the fo...hide my name
When replying to an email or creating one from scratch how do i hide my name
in the "from" field...thx
fred <email@example.com> wrote:
> When replying to an email or creating one from scratch how do i hide
> my name in the "from" field...thx
Are you saying you want the reply to be anonymous?
Brian Tillman [MVP-Outlook]
no, I don't mind if my email is revealed.. just my name. I have tried by
removing it from the "User Name:" field in the email account but it
continues to show up. I have also removed from the header informati...Automatically Highlight Every Second Row in Excel
I would like to know if there is any way to have excel automatically
highlight every second row in a sheet to make it easier to read accross the
Can you use conditional formatting?
If yes, see Chip Pearson's site:
> I would like to know if there is any way to have excel automatically
> highlight every second row in a sheet to make it easier to read accross the
...insert zeros in front of cells already filled with data.
If there is data is a column of cells in Excel how do I insert/add additional
data (000) in front of each cell?
Two ways. If all cells should be the same length, like a check number or an
account number, it's called "leading zeroes":
If you just want to put 3 zeroes in front of other text, you can use another
column to create a formula:
will give you the contents of A1 preceded by 3 zeroes.
Hope it helps!
"Horizon" <...Fixing a row number for an item
Good evening all.
I have trawled through google, but to no avail - maybe I was not precise enough.
Any assistence here would be most appreciated.
I have a simple table as below:
1 Reference Cost (�) - Headers
2 115 89
3 102 25
4 026 56
5 012 99
6 155 22
7 102 12
Now I sort the table - descending (B) - (I stipulate a header row).
However I wish to be able to re-sort, to...How to get rows from 4 diff permitations??
Wondered if you could help.
I have 2 tables of data like so:
TID PID YEAR TERMID MATHSLEVEL READLEVEL
1 1 2006 0 W1 W2
2 2 2006 0 1B W4
3 3 2006 0 W1 W2
4 4 2006 0 2C 5A
5 1 2007 1 W1 W2
6 2 2007 ...Hiding and Un-Hiding Data fields
I am using a form for people to select data via dropdown menus and then
having it run through a query to filter results. Is there a way that I can
have certain feilds hidden until a toggle button or something of the like is
Basically I want have three choices of buttons: Year, Quarter, and Month.
What I ideally want to happen is when someone selects the button for year, a
hidden drop down menu appears where they can then choose from the available
years to filter through the query.
I would say I am above average with using access, but I have no idea how to
hide fields and then...need to display maximum value of corresponding values in excel
I have a requirement to display the maximum scored students based on the marks. i can able to display only one student if more than one scored the same marks i want to display there name also.
sl.no studentname mark
1 john 90
2 paul 95
3 sam 80
4 michel 95
using this formula =INDEX(B:B,MATCH(MAX(C:C),C:C,0)); i can able to display the value only "paul". i want to display both paul and michel.
Please help us on this.
Thanks in Advance.
=MAX((G1:G21="paul")*...How do I hide gaps in an Excel 2007 chart?
I have a bar chart that is showing gaps and i don't want them. The select
data > hidden and empty cell button does not give an option to hide gaps. I
think by default they are hidden but if you even click on this to see what it
does the gaps are shown and no way to turn off.
If you hide the actual rows then with the Plot visible cells only
setting on the gaps will be removed.
In xl2007 the setting is on the Select Data dialog, Hidden/empty cells
> I have a bar chart that is showing gaps and i don't want them. The s...Hiding a worksheet #3
I want to hide a worksheet. So, I went to the format menu and the "worksheet" option is grayed out. Why? And, how do I "ungray" it.
is your worksheet protected ?
> I want to hide a worksheet. So, I went to the format menu and the
> "worksheet" option is grayed out. Why? And, how do I "ungray" it.
I think Frank meant to ask about the Workbook--not the worksheet.
(Check under Tools|protection|Protect workbook or Unprotect workbook)
My question is: Is there another sheet in the w...Sumif where source values are assigned by "if" formula
I am trying to sum the values in a column (Q20:Q300) based on an assigned
designation in another column (N20:N300).
The destination cell is Q11.
The criteria value is found in cell N11.
Values in cells Q20:Q300 are assigned via an "if" condition dependent on a
value assigned in column "O".
When I place the placed the following formula in my destination cell (Q11),
it returned a value of "0" which is incorrect. My assumption is that the
formula is recognizing the numeric value in column Q as text and is not
formula in Q11 ... =sumif(N20...charting calculated values #2
The cells for future months contain formulas which give values of zer
until data is entered on other linked sheets
dpj's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=149
View this thread: http://www.excelforum.com/showthread.php?threadid=27225
...Hide images when Hiding Rows
I have inserted images into cells, but when I hide the column the images
are not hidden with that column, they just get squished between the two
cells next to the hidden cell. Is there a setting or way to tie the
image to that cell so that it hides/unhides appropriately with the row?
kurt's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=35686
View this thread: http://www.excelforum.com/showthread.php?threadid=554712
You cannot insert an image into a cell.
You can overlay ...how to hide an ActiveX control?
i have an ActiveX control, written in C++, which has the
OLEMISC_INVISIBLEATRUNTIME flag set, yet when i display the web page
it is attached to, i get the familiar "red cross" graphic in the
middle of the screen - how can i hide the control so nothing is
displayed at all?
can u set the size of ur control as 1x1 pixels
"bhu Boue vidya" <firstname.lastname@example.org> wrote in message
> hi there
> i have an ActiveX control, written in C++, which has the
> OLEMISC_INVISIBLEATR...Hiding plot Area
I have a formatted output sheet that has a Pie Chart
embedded. The data for the pie chart comes from a second
sheet using 2 ranges B2:B6 & D2:D6 B2:B6 is always
populated and contains labels. What I want to do is, when
D2:D6 contains 0 in each cell (or Null), suppress the Pie
chart but always show the Legend (which is driven by B2:B6)
All you see of the pie when all values are zero is a single line at the
first slice. The legend still appears. To hide the line, double click on
one of the wedges and on the Patterns tab, change the Border setting to
None. ...Hiding rows with VBA
In my sheet called "insertsheet I have this VBA:
(thanks to some users of Google groups)
Private Sub Worksheet_Change(ByVal Target As Range)
Const nMAX As Long = 10
Dim nRows As Long
Application.ScreenUpdating = False
If Intersect(Target(1), .Cells) Is Nothing Then Exit
nRows = .Value
.Range(.Cells(1, 5), .Cells(1, _
.Columns.Count)).EntireColumn.Hidden = True
.Range(Cells(1, 5), .Cells(1, _
...log graph zero or negative values error
Excel gives an error message when you try to plot a zero
or negative number on a graph. I am using a template, so
I don't want to go through and manually remove the zero
data every time. Is there any way to turn off the error
message, it is getting VERY irritating.
[This followup was posted to microsoft.public.excel.charting with an
email copy to Joyce.
Please use the newsgroup for further discussion.]
As far as I know, XL insists on complaining when one wants to plot
log(x) where x<=0, since that is no corresponding real mathematical
You could modi...hiding rows
I have data in cells A7:DK394 which all have 0 in them until totals are added
in other worksheets which then pullthrough.
At the end of the week I have to Hide all rows from A7 to A394 that still
have 0 in them as no totals have been added in other sheets so the customer
has not posted with us.
is there any way excell can recognise the cells that have no data against
them and hide them automatically by pressing a button. or if they all start
off hidden unhide as data is entered.
Hopefully this makes sense
many thanks for any help with this as again its to save me lots of...Hide contacts
I must hide some contacts from GAL excepted for 2 user that must to see them
and select to send email.
If only 2 users need a Contact, why not have them create it in their
MVP - Exchange
NEW blog location:
"MauroR" <MauroR@discussions.microsoft.com> wrote in message
>I must hide some contacts from GAL excepted for 2 user that must to see
> and select to send email.
Th...Return a name in the same row
I have a 2 sheet spreadsheet. I want a formula to match a cell in column A of
sheet 1 to a matching cell in column a of sheet 2 and return a name form the
same matching row in column C of sheet 2. I have searched for this formula
and cannot find it. Please help.
CustNum ShopNum LastName
1 5 Name one
2 5 Name two
5 53 Name three
7 57 Name four
8 8 Name five
9 9 Name six
10 10 Name seven
11 11 Name eight
12 340 Name nine
13 12 Name ten
14 13 Name eleven...calculation of future value between two dates
I am trying to find an easy / short way to calculate future value of a lump
sum amount between two dates.
The info I will have :-
1. Amount (say $1000 )
2. Start date of deposit (1st jan 2008)
3. Date to which future value is to be calculated to (1st may 2010)
4. Interest rate ( fixed 10%)
5. Compounded semiannualy.
How can I create a formulae to calculate this in one swoop ?
"manas123" <email@example.com> wrote:
> How can I create a formulae to calculate this in one swoop ?
For an approximation:
=FV(10%/2, DATEDI...Insert rows in Excel Ledger problem
I am using a ledger for simple accounts, Date, Name, Service, Amount
The far right column keeps a running total. I have however omitted
some data and am trying to add rows in various places in date order.
I can insert the rows no problem, however, the final right hand cell
remains blank and will not update the total.
I have tried the format painter which works for all cells but the
last, the format bar is greyed out along with anything else I thought
I could use to solve the problem.
I have tried adding the data on the last row and dragging it up to
where I want it but as ...How do I hide email addresses in outgoing mail
Hint: You post your question in the body of the post, not the Subject.
Hint 2: Use the BCC field.
"Dennis" <Dennis@discussions.microsoft.com> wrote in message
"Dennis" <Dennis@discussions.microsoft.com> wrote in message
PLEASE write your question in the body of the post and NOT just the subject
Have a look here: http://dts-l.net/goodpost.htm
As posted here MANY MANY times - put them in the BCC...