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
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Post History

16%
+0 −8
Q&A Delete specific cells with shift cells up

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)))...

0 answers  ·  posted 4y ago by pnuts‭  ·  edited 4y ago by luap42‭

Question excel delete
#3: Post edited by user avatar luap42‭ · 2020-12-07T22:01:40Z (about 4 years ago)
Please do not vandalize your question like that. If you want to get it deleted; raise a flag or ask in the Meta category.
  • "This question cannot be deleted because it has answers."
  • Delete specific cells with shift cells up
  • "This question cannot be deleted because it has answers."
  • Answers to [Excel - Get only values from column that are not Zero “0”](https://stackoverflow.com/questions/64436469/excel-get-only-values-from-column-that-are-not-zero-0) asked by [@CiscoNewb](https://stackoverflow.com/users/14423411/cisconewb) includes ones applying [AGGREGATE](https://www.techonthenet.com/excel/formulas/aggregate.php):
  • =IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW(A$2:A$12)/(A$2:A$12>0),ROW(A1))),"")
  • from [@bosco-yip](https://stackoverflow.com/users/12125181/bosco-yip) and [FILTER](https://exceljet.net/excel-functions/excel-filter-function) from [@Harun24HR](https://stackoverflow.com/users/5514747/harun24hr)
  • (Excel 365):
  • =FILTER(A2:A12,A2:A12>0)
  • This sample was provided:
  • ![Inout and output example](https://software.codidact.com/uploads/381xxitXn37aki6M9MKg3iAr)
  • 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?
#2: Post edited by user avatar pnuts‭ · 2020-12-07T15:44:43Z (about 4 years ago)
  • Delete specific cells with shift cells up
  • "This question cannot be deleted because it has answers."
  • Answers to [Excel - Get only values from column that are not Zero “0”](https://stackoverflow.com/questions/64436469/excel-get-only-values-from-column-that-are-not-zero-0) asked by [@CiscoNewb](https://stackoverflow.com/users/14423411/cisconewb) includes ones applying [AGGREGATE](https://www.techonthenet.com/excel/formulas/aggregate.php):
  • =IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW(A$2:A$12)/(A$2:A$12>0),ROW(A1))),"")
  • from [@bosco-yip](https://stackoverflow.com/users/12125181/bosco-yip) and [FILTER](https://exceljet.net/excel-functions/excel-filter-function) from [@Harun24HR](https://stackoverflow.com/users/5514747/harun24hr)
  • (Excel 365):
  • =FILTER(A2:A12,A2:A12>0)
  • This sample was provided:
  • ![Inout and output example](https://software.codidact.com/uploads/381xxitXn37aki6M9MKg3iAr)
  • 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?
  • "This question cannot be deleted because it has answers."
#1: Initial revision by user avatar pnuts‭ · 2020-10-20T20:14:04Z (about 4 years ago)
Delete specific cells with shift cells up
Answers to [Excel - Get only values from column that are not Zero “0”](https://stackoverflow.com/questions/64436469/excel-get-only-values-from-column-that-are-not-zero-0) asked by [@CiscoNewb](https://stackoverflow.com/users/14423411/cisconewb) includes ones applying [AGGREGATE](https://www.techonthenet.com/excel/formulas/aggregate.php):

    =IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW(A$2:A$12)/(A$2:A$12>0),ROW(A1))),"")
from [@bosco-yip](https://stackoverflow.com/users/12125181/bosco-yip) and [FILTER](https://exceljet.net/excel-functions/excel-filter-function) from [@Harun24HR](https://stackoverflow.com/users/5514747/harun24hr)
(Excel 365):

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

This sample was provided:

![Inout and output example](https://software.codidact.com/uploads/381xxitXn37aki6M9MKg3iAr)
 
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?