Hello,
I am using the following =IF(F25=MIN(First:Last!C29),"somthing","")
How can i amend it to ignore zeros and negative numbers in the MIN part of the formula
Thanks
Kevin
Hello,
I am using the following =IF(F25=MIN(First:Last!C29),"somthing","")
How can i amend it to ignore zeros and negative numbers in the MIN part of the formula
Thanks
Kevin
I don't understand your formula.
MIN(First:Last!C29) will always be whatever value is in C29.
That being said, you can use the MIN IF array formula to include the criteria.
Something along the lines of =IF(F25=MIN(IF(data_range>0,First:Last!C29)),"somthing","") Ctrl Shift Enter
Not sure I follow either!!
Pleas post a sample sheet,
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU
Hope this helps
I'm afraid it's not quite that simple.
1. Create a list of the sheets from which you want to search the values of C9. If you have lots of sheets, you can do this automatically (macro-enabled...).
2. Create a Named Range to encompass that list (CTRL-F3 to view/edit). I called the range "Sheets". Imaginative, huh?
3. Use the following array formula to return your result:
=IF(F25=MIN(IF(N(OFFSET(INDIRECT("'"&Sheets&"'!C9"),,,))>0,N(OFFSET(INDIRECT("'"&Sheets&"'!C9"),,,)))),"Something","")
Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.
You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.
Don't type the curly brackets yourself - it won't work...
Thank you Glenn!
I did have the =IF(F25=MIN part
Thanks
Kevin
Huge credit for that bit. Respect!!
You're welcome and thanks for the Rep.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks