Hi,
How can I get the small function to ignore zeros and negative numbers
Thanks
Kevin
Hi,
How can I get the small function to ignore zeros and negative numbers
Thanks
Kevin
Hi Excelski,
Allan Wyatt has a web page with this question and I assume the answer you want.
https://excel.tips.net/T003260_Retur...ero_Value.html
If this doesn't help then attach a sample worksheet so we can see the problem.
Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.
Remember to desensitize the data.
Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
Hi,
Often by using an array formula to grab the non zero and non negatived before wrapping the Array formula in a SMALL() function.
For more specific help please upload the workbook.
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star icon below the post.
@Exelski.... Array-enter (press ctrl+shift+Enter instead of just Enter) a formula with an expression of the form:
SMALL(IF(A1:A1000>0,A1:A1000), 2)
Thanks for looking, workbook attached.
Hi,
You were asking for the smallest so not quite sure why your example shows the largest and smallest. However
Formula:Please Login or Register to view this content.
Entered as an array formula with Ctrl-Shift-ENter will return 25
That's all very well but as the providers of help we often find ourselves on a contantly winding path when the OP adds some other factor that completely negates the solution given which then needs to be added to or done away with completely and a new approach used.
That may not be the case here but please remember for the future. We like to understand all the requrements and what the end goal is
That said can I assume you can now adapt the solution you've been given to determine the largest number? In which case please mark the thread as solved.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks