Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics

Dashboard
Notifications
Mark all as read
Q&A

Delete specific cells with shift cells up

+0
−7

Answers to Excel - Get only values from column that are not Zero “0” asked by @CiscoNewb includes ones applying AGGREGATE:

=IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW(A$2:A$12)/(A$2:A$12>0),ROW(A1))),"") from @bosco-yip and FILTER from @Harun24HR (Excel 365):

=FILTER(A2:A12,A2:A12>0)

This sample was provided:

Inout and output example

ColumnA: 1|0|10|9|2|20|3|5|14|15 ColumnB: 0|5|28|0|20|12|4|0|18|1

For those without the above functions, is there another way, preferably not requiring any function?

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comments

0 answers

Sign up to answer this question »