Summarising lists by removing empty entries

  • Thread starter Thread starter andi
  • Start date Start date
A

andi

I have a table in Excel of contracts of yearly revenues:

2002 2003

A 10 10
B 0 7
C 0 0
D 5 0

and I want to be able to create a summarised version, where the zeros
are stripped out:

2002
A 10
D 5

2003
A 10
B 7

Sounds like there should be a vlookup-esque function for this... any
ideas?
 
Just eliminate the 0's?

If your ranges don't have any errors in them:

Copy to a new worksheet (if you want to keep the original data)

Select your range (A:B?)
Edit|replace
replace what: 0
replace with: #n/a
(make sure you select "match entire cell contents" or you'll be mad!)
replace all

(your range should still be selected, but if it isn't, select it again)

F5 (or edit|goto)
click special
click Constants
uncheck everything but errors
click ok.

Right click on a cell in the selection (now just errors)
select delete
and shift cells up.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

SUMIF/AND combination? 2
Pivot Table Set Up 2
Calculate the value of Z 12
Display 3 Minimum Time slots 4
Summarising data 2
match 3
Vlookup / Hlookup iterations 2
counting groups of blank cells 3

Back
Top