#### Pivot Table and Zeros #2

```The cell has a value of zero, it's not blank.

The value is coming from a formula that equals 0

Tk

--
mense2
-----------------------------------------------------------------------
mense23's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=717

```
 0
10/15/2004 3:57:50 PM
excel.misc 78881 articles. 5 followers.

2 Replies
591 Views

Similar Articles

[PageSpeed] 56

```Hi
you may change your formula to return only ""

--
Regards
Frank Kabel
Frankfurt, Germany

"mense23" <mense23.1e6dhy@excelforum-nospam.com> schrieb im Newsbeitrag
news:mense23.1e6dhy@excelforum-nospam.com...
>
> The cell has a value of zero, it's not blank.
>
> The value is coming from a formula that equals 0
>
> Tks
>
>
> --
> mense23
> ---------------------------------------------------------------------
---
> mense23's Profile:
http://www.excelforum.com/member.php?action=getinfo&userid=7178
>

```
 0
frank.kabel (11126)
10/15/2004 4:08:17 PM
```The following macro will hide the row items with zero total, in Excel
2002 or later, where the row field is "Code", and data field is

'==========================
Sub HideZeroRowTotals()
'hide rows that contain zero totals
Dim r As Integer
Dim rTop As Integer
Dim i As Integer
Dim pt As PivotTable
Dim pf As PivotField
Dim df As PivotField
Dim pi As PivotItem
Dim pd As Range
Dim str As String
Set pt = Sheets("Pivot").PivotTables(1)
Set df = pt.PivotFields("Amount") 'data field
Set pf = pt.PivotFields("Code") 'row field
rTop = 4 'number of rows before data starts
For Each pi In pf.PivotItems
On Error Resume Next
pi.Visible = True
Next pi
i = pf.PivotItems.Count + rTop
For r = i To rTop - 1 Step -1
On Error Resume Next
str = Cells(r, 1).Value
Set pd = pt.GetPivotData(df.Value, pf.Value, str)
If pd.Value = 0 Then
pf.PivotItems(str).Visible = False
End If
Next r

End Sub
'===================================

mense23 wrote:
> The cell has a value of zero, it's not blank.
>
> The value is coming from a formula that equals 0
>
> Tks
>
>

--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

```
 0
dsd1 (5911)
10/15/2004 4:14:45 PM

Similar Artilces:

Pivot Tables #4
Hello you experts out there. I nned some Pivot table advice ( a website address for basics would be great), for instance how to excplain pivots and how to create them. I use lots of products with lots of sizes from various suppliers to name but a few columns. Is there a limit as to the amount of columns of data? Thank you very much. H Hi check out Debra Dalgleish's site - http://www.contextures.com/tiptech.html - she has a link to Jon Peltier's site which explains PT basics and then lots more interesting info on them. -- Cheers JulieD check out www.hcts.net.au/tipsandtric...

I am having the same problem---did you ever find resolution? does anyone know how to get around it? ----- Kay Cordova wrote: ----- I have tried to download from my financial institution my account information. When I set the file to download to a .qif file it insists on loading the download to MS Money instead of putting it in a file where I can import it into Quicken. I have looked at all of the Options to find where to change that and cannot find anything that will help/ Did you see the "money vs. quicken"...

Pivot Table Counting
I am having trouble trying to calculate fields through a pivot table. Basically, I have a data set that looks like this: Record Number State Value 1 CA 0 2 CA 12 3 CA 15 4 NJ 0 5 NJ 10 I want to set up a pivot table that will show 2 columns, one with th total number of records and one with the total number of records wit non-zero values. Both of the...

Pivot Tables
Hi, I was windering if some one could provide me with a link to a tutorial for what I am trying to do. I have an aggregate table. This table has several groups and several columns. The intersection of a group and column is an aggreate value such as Sum function of a column value in that group. Normally a Pivot table shows 1 aggregate value at the intersection of a group and a column. What I want is: To show more than one value at the intersection besides the aggregate value. In other words, if a simple pivot table cell is: Aggr(x,y) where aggr is an aggregate function such a...

Help comparing 2 columns..
I have two coloumns of numbers, which i need to compare. The Excel document should come out with 3310 as a result in coloumn 3 (see exsample). Can someone help me? I am dont know anything about VB programming in Excel, so I hope someone can find a solution without any programming. example: Coloumn 1 2211 5510 2210 9952 Coloumn 2 2211 5510 3310 2210 9952 Sample: With Range A1:A4 named "Rge1" ' equal to your Column 1 data. and with your existing data in Column 2 - Cells B1:B5 In cell C1 enter: =IF(COUNTIF(Rge1,B1),"",B1) and copy down. Column C should reflect a...

Pivot Chart Formatting #5
How can I format a Pivot Chart and keep the customized format when refreshed? This is a known issue by Microsoft. Short answer, you can't do it. =( One possible work around is to record a macro of you setting the formatting of the chart, and then set it up so that the macro runs whenever the chart calculates. -- Best Regards, Luke M *Remember to click "yes" if this post helped you!* "Germeny Santos" wrote: > How can I format a Pivot Chart and keep the customized format when refreshed? Hi, This is dependent on what custom formatting you are refering to. T...

Pivot table question: Sorting the subgroup in a pivot table (when using the top 10 option for the subgroup)
Hello: I have created a pivot table which has a one subgroup in the second column from the left. It uses the Top 10 option, so there are 10 subgroups So my data looks something like this: Group 1 50 Subgroup 1a 10 Subgroup 1b 40 Eight more subgroups Group 2 30 Subgroup 2a 20 Subgroup 2b 10 Eight more subgroups What I would like to do is sort by THe totals for Group 1, but then also sort by the subgroups, based on the values for each subgroup (similar to the "Sort by, ...

MULTIPLE HOTMAIL ACCOUNTS #2
Anyone figure out how to send/receive multiple Hotmail accounts from within Outlook 2003, or 2002.? (or even 2000 for the matter) Thanks Multiple Hotmail accounts is only supported in Outlook 2003. 2002 can use only one account and Outlook 2000 does not have the ability to use any Hotmail accounts. --� Milly Staples [MVP - Outlook] Post all replies to the group to keep the discussion intact. Due to the (insert latest virus name here) virus, all mail sent to my personal account will be deleted without reading. After searching google.groups.com and finding no answer, John F asked: | A...

Counting if settings are "Final", or "Draft" #2
Sorry, that looks really bad. I hope this is better, ColA Col B Col C A1 S:/Tax1Volume/Forms_03/01_Sep_03 A2 Draft Doc A A3 S:/Tax1Volume/Forms_03/02_Sep_10 A4 Draft Doc B A5 S:/Tax1Volume/Forms_03/03_Sep_17 A6 Draft Doc C A7 Draft Doc D A8 S:/Tax1Volume/Forms_03/04_Sep_23 A9 Draft Doc E A10 Draft Doc F A11 Final Doc C A12 Draft Doc G A13 S:/Tax1Volume/Forms_03/05_Sep_27 A14 Draft Doc H A15 Final Doc B A16 S:/Tax1Volume/Forms_03/05_Sep_28 A17 Final Doc A ...

entourage to outlook #2
hello everyone, i have more than 1000 letters in mac entourage, how can i move them to outlook2003? thks ezc <news@microsoft.com> wrote: > i have more than 1000 letters in mac entourage, how can i move them to > outlook2003? See if something here helps: http://www.entourage.mvps.org/cross_platform/mac_win.html -- Brian Tillman ...

Money 2002 to 2004 #2
I bought a new computer and it came with Money 2004. Is there any way to transfer all of my account information from my old computer (Money 2002) to the new computer (Money 2004)? Thanks in advance. Read http://www.bollar.org/msmoney/#Q68 and http://www.bollar.org/msmoney/#Q109. "Vance" <anonymous@discussions.microsoft.com> wrote in message news:02f701c3b53c\$39d98dd0\$a301280a@phx.gbl... > I bought a new computer and it came with Money 2004. Is > there any way to transfer all of my account information > from my old computer (Money 2002) to the new computer > ...

join multiple pivot tables?
How can I link up multiple pivottables all based on the same data where all i would have to do is change the page option (drop down menu) from the first pivot and the rest of the pivots would automatically adjust to match those? There's a sample file here in which you can change the page field in one pivot table, and all the related pivot tables change: http://www.contextures.com/excelfiles.html Under Pivot Tables, look for 'PT0021 - Change All Page Fields' or 'PT0008 - Change Multiple Page Fields' clueless_in_mempjhis wrote: > How can I link up mu...

Help with pivot table
I'm after some help with a pivot table I have created a work book to log certain defects, and would like to use a pivot table to show defects per unit on an improvement tracker, is it possible to have the pivot table to shift cells to the right when it is updated and required more columns so it doesn't overwrite data on the sheet it would be like this the componet fault unit numbers & Total defects are the pivot table & the action would be the start of the manual data Compontent Fault Unit Numbers Total Defects Action 1 2 3 4 5 Light Inop 1 1 ...

Line-bar chart on 2 axis
I have a line chart representing data correctly on one axis. I add the line for the secondary axis and it looks fine, I change it to bars and it does not span the full length of the Y axis. It gets shortened to half its original length. The custom line-bar chart provided with excel is not working either. I have over 1000 plot points on one axis and only 23 on the secondary axis, could this be afecting the chart from displaying properly? TIA George You should be able to change the display by adjusting the min. / max. values of the secondary y-axis (double-click the secondary y-axis, th...

csv #2
I want to convert an xls file to csv file pls let me know how to do that.also can you tel me some more features of csv. File|Save As and change the "Save as type" to CSV Jerry Ashish wrote: > I want to convert an xls file to csv file pls let me know how to do that.also > can you tel me some more features of csv. Ashish, See www.smokeylake.com/excel/textfiles.htm. Read "Delimited text file." -- Earl Kiosterud mvpearl omitthisword at verizon period net ------------------------------------------- "Ashish" <Ashish@discussions.microsoft.com> wro...

Outlook 2003 to OWA? #2
Can Outlook 2003 synchronize with OWA? I only have OWA access to my clients exchange server. I've done it with Entourage, but Outlook is much less intuitive... or maybe it cannot be done? Correct. --� Milly Staples [MVP - Outlook] Post all replies to the group to keep the discussion intact. Due to the (insert latest virus name here) virus, all mail sent to my personal account will be deleted without reading. After searching google.groups.com and finding no answer, stumpy asked: | Can Outlook 2003 synchronize with OWA? I only have OWA | access to my clients exchange server. I&#...

Can I permanently delete/hide data within Pivot Tables?
Microsoft Excel 2002 I have 155 clients which I need to run Pivot Tables for! All with the same pivot table layout. Is it possible to run the Pivot table with the 155 clients as a Template basically, then somehow delete or permanently hide the data leaving only one client, so that I can save multiple copies for each of the individual clients? Or can I set up a pivot table where I can automatically feed in parameters? Client details are stored on an Oracle database! Hi Peter, Right-click on a Page Field and select Field Settings from the context menu, then click the Advanced button. Yo...

Using formulas for pivot table
I know you have the count field but is there away to input a formula? For example customer ordered 25 cases and each case weighs 4 lbs and the end result would need to be total pounds ordered. Thanks! If you do the calculation in the pivot table you may not get the result that you expect. If possible, add a field to the source data, and calculate the order total there. Then, add the OrderTotal field to the pivot table's data area. tskb wrote: > I know you have the count field but is there away to input a formula? > For example customer ordered 25 cases and each case weighs 4 lbs...

Is it possible to put hyperlinks into a pivot table to go to the detail in other worksheets? I have a top 10 list of components with issues and would like the user to be able to click on the component to go to the list of issues. I thought if I put the hyperlink in the cell where the pivot table is getting it's info, it would come through, but that didn't work. Any suggestions? Thanks Hi Just double clicking on the cell with the data of interest, will open another sheet showing all of the entries making up that value. Delete the newly created sheet after you have finished w...

chart options show data table
Currently using 2 workbooks to produce 1 chart - the source data in workbook 1 and the chart in workbook 2. We also are using the "show data table" option to most easily view all values in the chart. We would like this data to keep it's currency format to best reflect the values in the chart; however, the data table loses this formatting when we close workbook 1. Is there any way to hang onto this formatting after the workbook is closed? Data tables in charts are not particularly flexible or capable. You combine the workbooks. Alternatively, put a table in the chart's...

PDF file #2
I have Publisher 2002 and would like to insert a .pdf file into a document I am working on. How do / Can I do this? Many thanks, Ger ...

Flowcharting Table relations
Hey guys and girls. New one for you. I am doing an IT audit of Great Plains and need to flowchart how the data files are related to each other. In other words, how does one file feed into another file, and what field or fields in a particular table is used to relate/link to another table. Does anyone where I can find such information? Thanks Check out the Great Plains SDK available on the installation CDs. There are several diagrams that describe table relationships. Also, there are module documents that contain posting flowcharts. Regards, Kevin Rood Corporate Software Consultants...

New company setup #2
We have received a GP database from a company that we are doing work for and need to install. In the past, we have received GL Account Master errors. Can you install a stand alone company on a server that has another GP company running. The account framework is completely different for each company. How do you do this install. thanks, The account framework does need to be the same. -- Charles Allen, MVP "rar" wrote: > We have received a GP database from a company that we are doing work for and > need to install. In the past, we have received GL Account Master ...

Pivot Tables #40
Does anyone know if there is a way to quickly clear a field list? I can't find a keyboard shortcut or anything else in any of the help/support avenues I've tried. Thanks in advance for the help. -- ERR229 Are you trying to clear all the check boxes in the field's dropdown list? In Excel 2002 and later versions, there's a Show All checkbox. In Excel 2000, and earlier versions, you can use programming to hide or show the items -- there's sample code here: http://www.contextures.com/xlPivot03.html ERR229 wrote: > Does anyone know if there is a way to quickl...

line column Pivot Charts
Access 2003 does not support combined Line/Column Charts, but Excel does. Has the capability been added to Access 2007? Access does support a series displayed as a bars and another series as line. -- Duane Hookom MS Access MVP Help me support UCP http://www.access.hookom.net/UCP/Default.htm "John" <John@discussions.microsoft.com> wrote in message news:A0DD25F6-D99A-44C3-812B-416776BED8AF@microsoft.com... > Access 2003 does not support combined Line/Column Charts, but Excel does. > Has > the capability been added to Access 2007? ...