+ Reply to Thread
Results 1 to 14 of 14

Find the Min value across Multiple sheet ignore zero

  1. #1
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Find the Min value across Multiple sheet ignore zero

    Hello,

    How do i find the minimum value in C25 across multiple sheets, ignoring zero's

    Thanks

    Kevin

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Find the Min value across Multiple sheet ignore zero

    Hi Excelski,

    If you would update your Profile and tell us what version of Excel you have, it might give a different answer. In Excel 2016 there is a MinIfs() function that is not in older versions of Excel:
    https://support.office.com/en-us/art...c-72eef32e6599

    After finding which version of Excel you have, I'd then look at "3D formulas" at:
    https://support.office.com/en-us/art...2-787d0bc888b6
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Find the Min value across Multiple sheet ignore zero

    Are your worksheets listed somewhere?

  4. #4
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: Find the Min value across Multiple sheet ignore zero

    Hi,

    Profile now updated, I did try Minifs as a guess but it went present, currently i am working at home on my Mac?
    Worksheets are listed.

    Thanks for looking

    Kevin

  5. #5
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Find the Min value across Multiple sheet ignore zero

    WHERE is the list? (It will be referenced in the formula.)
    Last edited by leelnich; 07-29-2017 at 01:14 PM.

  6. #6
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: Find the Min value across Multiple sheet ignore zero

    Job Number List!J5:J1049

  7. #7
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Find the Min value across Multiple sheet ignore zero

    See Post#9
    Try this:
    =MIN(IF(N(INDIRECT(Job Number List!J5:J1049 &"!C25"))<>0,N(INDIRECT(Job Number List!J5:J1049 &"!C25"))))

    NOTE: This doesn't work if there are blanks or invalid names in the worksheet list.

    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee
    Last edited by leelnich; 07-29-2017 at 01:10 PM.

  8. #8
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Find the Min value across Multiple sheet ignore zero

    See Post#9
    Sorry, forgot to mention this is an ARRAY FORMULA*:
    =MIN(IF(N(INDIRECT(Job Number List!J5:J1049 &"!C25"))<>0,N(INDIRECT(Job Number List!J5:J1049 &"!C25"))))

    *Always press CTRL+SHIFT+ENTER to confirm entry after pasting or editing an ARRAY FORMULA in the Formula Bar.
    When copying the formula to other cells, make sure the copied cell is not part of the Paste Area.
    Last edited by leelnich; 07-29-2017 at 01:12 PM.

  9. #9
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Find the Min value across Multiple sheet ignore zero

    OK, found a workaround ARRAY FORMULA* that allows for blank rows in the sheet list:
    =1/MAX(IFERROR(1/N(INDIRECT(Job Number List!J5:J1049 &"!C25")),0))

    *Always press CTRL+SHIFT+ENTER to confirm entry after pasting or editing an ARRAY FORMULA in the Formula Bar.
    When copying the formula to other cells, make sure the copied cell is not part of the Paste Area.


    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee
    Last edited by leelnich; 07-29-2017 at 01:07 PM.

  10. #10
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: Find the Min value across Multiple sheet ignore zero

    Hi Lee,

    Just figured that out, many thanks works great!
    What is the N doing?

    Thanks
    Kevin

  11. #11
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: Find the Min value across Multiple sheet ignore zero

    Getting #DIV/0! error on the workaround

  12. #12
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Find the Min value across Multiple sheet ignore zero

    Quote Originally Posted by Excelski View Post
    Getting #DIV/0! error on the workaround
    THAT'S what the N() is for. Coerces INDIRECT into returning numbers instead of VALUE# errors. To see the difference, EVALUATE both versions.
    (Select the cell, then click Evaluate Formula on the Formulas ribbon and cycle through the calculation.)

    ps You'll also get #DIV/0! if you forget to press CTRL+SHIFT+ENTER after editing the formula.
    Last edited by leelnich; 07-29-2017 at 01:34 PM.

  13. #13
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: Find the Min value across Multiple sheet ignore zero

    Forgot CTRL+SHIFT+ENTER!

    Thanks again

    Kevin

  14. #14
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Find the Min value across Multiple sheet ignore zero

    Happy to help, and thanks for the rep!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 07-05-2016, 06:35 AM
  2. Macro to find sheet name with next button option in case of multiple sheet with same name.
    By DEEPAK AGGARWAL in forum Excel Programming / VBA / Macros
    Replies: 38
    Last Post: 05-01-2016, 12:27 PM
  3. [SOLVED] Multiple value find on different sheet on same row
    By jimbob121 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-11-2014, 11:38 AM
  4. Find MAX of range - ignore outliers
    By talynthia in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-10-2014, 10:54 AM
  5. Multiple Find/Replace on a specified sheet and outputtingin a separe sheet
    By scfn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-24-2013, 07:27 AM
  6. [SOLVED] ignore zero and still find zero
    By gocolonel77 in forum Excel General
    Replies: 2
    Last Post: 06-07-2013, 12:02 AM
  7. Multiple find and replace from Glossary sheet to the active sheet
    By Chandru71 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-22-2011, 12:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1