#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 149
Default skipping zeros

hello i have the following data:

A B C
1 0 -1000 -1000
2 0 0 0
3 100 0 100
4 0 0 0
5 0 0 0
6 0 0 0
7 200 0 200
8 300 0 300

i would like to skip the zeros and make the following :

0 -1000 -1000
100 0 100
200 0 200
300 0 300

IS THERE ANY FORMULA FOR THAT ??
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default skipping zeros

The simplies way is to use an auxilary column. In column D put the formula

1) =A1*B1*C1 and copy down the column
2) Add filter to Column D. click on the D at top of column to highlight
entire column. Then Menu Data - Filter - AutoFilter
3) In D1 select in the Filter 0
4) Highlight Rows with data then right click and select delete Row.
5) Remove Filter from Column D by Highlighting column D and going to Data -
Filter - Show All.


"pierre" wrote:

hello i have the following data:

A B C
1 0 -1000 -1000
2 0 0 0
3 100 0 100
4 0 0 0
5 0 0 0
6 0 0 0
7 200 0 200
8 300 0 300

i would like to skip the zeros and make the following :

0 -1000 -1000
100 0 100
200 0 200
300 0 300

IS THERE ANY FORMULA FOR THAT ??

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default skipping zeros

1) =A1*B1*C1 and copy down the column

That will result in all zeros because if any column has a zero then the
result will be zero.

Better to use something like:

=IF(COUNTIF(A2:C2,0)=3,"",1)

The highlight all the data in Column D and select Edit Goto Special
Formulas tick just Text then OK

Next Edit Delete Entire Row OK

Then clear the formulas in Column D

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Joel" wrote in message
...
The simplies way is to use an auxilary column. In column D put the
formula

1) =A1*B1*C1 and copy down the column
2) Add filter to Column D. click on the D at top of column to highlight
entire column. Then Menu Data - Filter - AutoFilter
3) In D1 select in the Filter 0
4) Highlight Rows with data then right click and select delete Row.
5) Remove Filter from Column D by Highlighting column D and going to
Data -
Filter - Show All.


"pierre" wrote:

hello i have the following data:

A B C
1 0 -1000 -1000
2 0 0 0
3 100 0 100
4 0 0 0
5 0 0 0
6 0 0 0
7 200 0 200
8 300 0 300

i would like to skip the zeros and make the following :

0 -1000 -1000
100 0 100
200 0 200
300 0 300

IS THERE ANY FORMULA FOR THAT ??




  #4   Report Post  
Posted to microsoft.public.excel.misc
Don Don is offline
external usenet poster
 
Posts: 487
Default skipping zeros

I like you idea , but the formula would make it zero if any of the three are
zero. I would check if each are zero =if(and(a1=0,b1=0,c1=0),0,1) and copy
that down

"Joel" wrote:

The simplies way is to use an auxilary column. In column D put the formula

1) =A1*B1*C1 and copy down the column
2) Add filter to Column D. click on the D at top of column to highlight
entire column. Then Menu Data - Filter - AutoFilter
3) In D1 select in the Filter 0
4) Highlight Rows with data then right click and select delete Row.
5) Remove Filter from Column D by Highlighting column D and going to Data -
Filter - Show All.


"pierre" wrote:

hello i have the following data:

A B C
1 0 -1000 -1000
2 0 0 0
3 100 0 100
4 0 0 0
5 0 0 0
6 0 0 0
7 200 0 200
8 300 0 300

i would like to skip the zeros and make the following :

0 -1000 -1000
100 0 100
200 0 200
300 0 300

IS THERE ANY FORMULA FOR THAT ??

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
reference row on another sheet skipping zeros but not skipping li. Brennan Downes Excel Discussion (Misc queries) 2 April 2nd 23 01:28 PM
when i megre cells that begin with zeros , I lose the zeros RDC Excel Discussion (Misc queries) 1 November 16th 07 03:31 PM
Essbase: Text zeros to number zeros santhu Excel Discussion (Misc queries) 1 March 23rd 07 01:01 PM
Charting zeros as non zeros Typical Village Idut Charts and Charting in Excel 3 February 8th 07 10:18 PM
save text field w/ leading zeros in .csv format & not lose zeros? Ques Excel Discussion (Misc queries) 1 May 4th 05 06:21 PM


All times are GMT +1. The time now is 01:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"