Return text value and skip if 0

Shecky

New Member
Joined
Mar 12, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hopefully this hasn't been asked already but what I'm trying to do is create a vertical text list based on the values in another list but skipping cells where the value =0. Example:

1647115643284.png

I'm a bit of a novice so I'm not very good with VBA but what I'd like to do is find a function that would basically take the information in column A and omit the zeros and return information like column B is showing. I've tried several functions like VLOOKUP and FILTER and I couldn't make any of them do exactly what I want. Any help would be greatly appreciated.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
How about
Excel Formula:
=filter(A1:A10,A1:A10<>0)
 
Upvote 0
Solution
Well, that was easy. I don't know why I had so much trouble figuring that out.
Thank you for the help and the quick response.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,480
Messages
6,125,047
Members
449,206
Latest member
Healthydogs

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