Remove all Zeros from a column, no array, no VBA

mescalante48

New Member
Joined
Sep 15, 2021
Messages
29
Office Version
  1. 2007
Platform
  1. Windows
Hello everyone,

please see below, can we remove all zeros from one column and take only the nonzeros values to a different column?

looking for a formula to do this, no arrays, please.

4b54540025b0f4bf51620d32f8c65756.png
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
How about
Excel Formula:
=Index(a$1:a$11,aggregate(15,6,(row(a$1:a$11)-row(a$1)+1)/(a$1:a$11<>0),rows(b$1:B1)))
 
Upvote 0
How about
Excel Formula:
=Index(a$1:a$11,aggregate(15,6,(row(a$1:a$11)-row(a$1)+1)/(a$1:a$11<>0),rows(b$1:B1)))
I'm afraid AGGREGATE is not supported :/

please see below for all supported functions.
 
Upvote 0
I'm afraid AGGREGATE is not supported :/

please see below for all supported functions.
Please be sure to mention that you using Sierra Charts in every question you ask on it!
It is best to include it right in the title too.
 
Upvote 0
As this is for Sierra charts, I cannot help as I know nothing about it.
 
Upvote 0
As this is for Sierra charts, I cannot help as I know nothing about it.
ok, do you know about any other solution that doesn't use AGGREGATE?

SC and EXcel are almost the same, just a small portion of functions are not supported. that and no array and no VBA.
 
Upvote 0
understood, Sorry
Thank you.

Just remember that this is an Excel (and Microsoft Access) Help Forum.
While Sierra Charts (and Google Sheets) may be similar to Excel in many ways, they are not the same.
So if you are using anything other than Excel (or Access), you need to let us know. Otherwise, you will get Excel answers (which might not work for you, as you have discovered).
 
Upvote 0

Forum statistics

Threads
1,223,374
Messages
6,171,703
Members
452,418
Latest member
kennettz

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top