Finding minimum value excluding zeroes on multiple sheets and multiple cells

kottect

New Member
Joined
Feb 25, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I can't seem to find the specific answer to my issue regarding finding the minimum value, excluding zeroes ranging across multiple sheets and multiple cells in each sheet. The sheet names are the months of the year with the last two digits of the year.

I've tried the below formula coming up with a #ref! issue:

=MIN(IF('January 22:December 22'!O2:O32<>0, 'January 22:December 22'!O2:O32))

Can anyone help me with what I'm doing wrong.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Welcome to the MrExcel forum!

Only certain functions are capable of 3-D processing. MIN is one of them, but not when you include a condition. MINIFS doesn't allow 3-D processing. So you have to do something like this:

Book1 (version 1).xlsb
LMN
1SheetsMin
2December 222
3January 22
4February 22
December 22
Cell Formulas
RangeFormula
N2N2=MIN(MINIFS(INDIRECT("'"&L2:L4&"'!O2:O32"),INDIRECT("'"&L2:L4&"'!O2:O32"),"<>0"))


Create a list of your sheet names in L2:L4. Then the N2 formula will give you what you want.
 
Upvote 0

Forum statistics

Threads
1,213,513
Messages
6,114,072
Members
448,546
Latest member
KH Consulting

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