Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-09-2021, 08:24 AM
silverman166 silverman166 is offline Show a list of plants requiring a minimum temperature Windows 10 Show a list of plants requiring a minimum temperature Office 2007
Advanced Beginner
Show a list of plants requiring a minimum temperature
 
Join Date: Nov 2019
Posts: 31
silverman166 is on a distinguished road
Default Show a list of plants requiring a minimum temperature


I have a collection of plants of which various characteristics have been listed in a worksheet against each named plant.

I wish to prepare a list of those plants displaying a certain characteristic(s) eg minimum temperature requirement.

An internet search suggested an array formula using terms with which I am unfamiliar, and which produced an error as displayed in the attached spreadsheet, which I hope gives some idea of what I'm trying to achieve.

Can anyone help, please?

It could be argued that a database would be better, but I've never made one from scratch, and online searches haven't come up with anything simple enough for an oldie like me to fathom, I'm afraid - all the examples I've looked at don't explain the absolute basics. It would, however, be nice for me to link my own photographs with the named specimen somehow. Ideas, anyone, please?

Any comments gratefully received.
Attached Files
File Type: xlsx Plants.xlsx (8.8 KB, 10 views)
Reply With Quote
  #2  
Old 11-09-2021, 08:34 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Show a list of plants requiring a minimum temperature Windows 7 64bit Show a list of plants requiring a minimum temperature Office 2010
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Are you still using XL 2007 ?
Reply With Quote
  #3  
Old 11-09-2021, 08:41 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Show a list of plants requiring a minimum temperature Windows 7 64bit Show a list of plants requiring a minimum temperature Office 2010
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

You could also use a simple Pivot Table, and filter the row labels as required, no complicated formulas needed
In XL 365 the FILTER function is also available
And your formula should be
Code:
=INDEX($A$3:$A$9,SMALL(IF($D$3<=$B$3:$B$9,ROW($A$3:$A$9)-ROW($A$3)+1,ROW(1:1)))
committed with Ctrl+Shift+Enter and pulled down
Attached Files
File Type: xlsx Copy of Plants.xlsx (12.6 KB, 11 views)
Reply With Quote
  #4  
Old 11-09-2021, 02:04 PM
silverman166 silverman166 is offline Show a list of plants requiring a minimum temperature Windows 10 Show a list of plants requiring a minimum temperature Office 2007
Advanced Beginner
Show a list of plants requiring a minimum temperature
 
Join Date: Nov 2019
Posts: 31
silverman166 is on a distinguished road
Default

OK Thanks Pecoflyer, and I'm using xl 2013.


BUT when I copied and tried to paste in your formula, it returned an error as shown in attached, when I did Ctrl,Shift,del
Attached Files
File Type: docx New formula.docx (170.8 KB, 8 views)
Reply With Quote
  #5  
Old 11-10-2021, 12:43 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Show a list of plants requiring a minimum temperature Windows 7 64bit Show a list of plants requiring a minimum temperature Office 2010
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Please post your Excel sheet. As you can see it works in the sheet I attached
Reply With Quote
  #6  
Old 11-10-2021, 06:06 AM
ArviLaanemets ArviLaanemets is offline Show a list of plants requiring a minimum temperature Windows 8 Show a list of plants requiring a minimum temperature Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

Is there some real reason you can't simply use a filter?

Add header row to your table, e.g. Plant, MinTemp;
Activate any single cell in table, and select from menu an Filter option (in my version of Excel it is Home.SortAndFilter.Filter) - you get selection options at column headers;
For 'Min temp' column, click on filter option, select 'Number Filters', then 'Greater than', and type 5 into condition field. Click OK, and you get what you wanted! You didn't like the result - change the filter condition in any way you like.
Reply With Quote
  #7  
Old 11-11-2021, 02:04 AM
silverman166 silverman166 is offline Show a list of plants requiring a minimum temperature Windows 10 Show a list of plants requiring a minimum temperature Office 2007
Advanced Beginner
Show a list of plants requiring a minimum temperature
 
Join Date: Nov 2019
Posts: 31
silverman166 is on a distinguished road
Default

Quote:
Originally Posted by Pecoflyer View Post
Please post your Excel sheet. As you can see it works in the sheet I attached

Sorry for delay in responding.
The excel sheet you worked on is the one I've been using your formula in, and I still get the same result as previously reported, despite several attempts and careful checking.



Puzzling indeed!
Reply With Quote
  #8  
Old 11-11-2021, 02:09 AM
silverman166 silverman166 is offline Show a list of plants requiring a minimum temperature Windows 10 Show a list of plants requiring a minimum temperature Office 2007
Advanced Beginner
Show a list of plants requiring a minimum temperature
 
Join Date: Nov 2019
Posts: 31
silverman166 is on a distinguished road
Default

[QUOTE=ArviLaanemets;163701]Is there some real reason you can't simply use a filter?

Thanks for your input.


I'm not familiar with the Filter option, but have briefly looked into it for Excel 2013 (which seems different from later versions from what I've seen so far) but appears to suit my purpose. I will look into it further and report back when I can.
Reply With Quote
  #9  
Old 11-11-2021, 09:03 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Show a list of plants requiring a minimum temperature Windows 7 64bit Show a list of plants requiring a minimum temperature Office 2010
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

My bad try
Code:
=INDEX($A$3:$A$9,SMALL(IF($D$3<=$B$3:$B$9,ROW($A$3:$A$9)-ROW($A$3)+1),ROW(1:1)))
committed as an array formula with CSE
Reply With Quote
  #10  
Old 11-11-2021, 09:57 AM
silverman166 silverman166 is offline Show a list of plants requiring a minimum temperature Windows 10 Show a list of plants requiring a minimum temperature Office 2007
Advanced Beginner
Show a list of plants requiring a minimum temperature
 
Join Date: Nov 2019
Posts: 31
silverman166 is on a distinguished road
Default

[QUOTE=silverman166;163725]
Quote:
Originally Posted by ArviLaanemets View Post
Is there some real reason you can't simply use a filter?

Thanks for your input.


I'm not familiar with the Filter option, but have briefly looked into it for Excel 2013 (which seems different from later versions from what I've seen so far) but appears to suit my purpose. I will look into it further and report back when I can.



That works beautifully - and so easy when you know how!
Thankyou!
Reply With Quote
  #11  
Old 11-11-2021, 10:07 AM
silverman166 silverman166 is offline Show a list of plants requiring a minimum temperature Windows 10 Show a list of plants requiring a minimum temperature Office 2007
Advanced Beginner
Show a list of plants requiring a minimum temperature
 
Join Date: Nov 2019
Posts: 31
silverman166 is on a distinguished road
Default

Quote:
Originally Posted by Pecoflyer View Post
My bad try
Code:
=INDEX($A$3:$A$9,SMALL(IF($D$3<=$B$3:$B$9,ROW($A$3:$A$9)-ROW($A$3)+1),ROW(1:1)))
committed as an array formula with CSE

OK that works better, but only returns one result even when there are more instances in the list, so not quite what I'm after.


I very much appreciate your time, but would not wish you to spend more time on it, unless you really want to, as the Filter option you also suggested, and is detailed in another post, works OK for me.


Many Thanks!
Reply With Quote
  #12  
Old 11-12-2021, 12:33 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Show a list of plants requiring a minimum temperature Windows 7 64bit Show a list of plants requiring a minimum temperature Office 2010
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

As you can see in the attached, this formula works perfectly.Did you commit with CSE?
Attached Files
File Type: xlsx Copy1 of Plants.xlsx (13.2 KB, 6 views)
Reply With Quote
  #13  
Old 11-12-2021, 02:31 AM
silverman166 silverman166 is offline Show a list of plants requiring a minimum temperature Windows 10 Show a list of plants requiring a minimum temperature Office 2007
Advanced Beginner
Show a list of plants requiring a minimum temperature
 
Join Date: Nov 2019
Posts: 31
silverman166 is on a distinguished road
Default

Quote:
Originally Posted by Pecoflyer View Post
As you can see in the attached, this formula works perfectly.Did you commit with CSE?



Thanks for replying to my last post, and Yes that works fine..........BUT it is not the same formula you sent me in the last post! This one starts with IFERROR... whereas the previous one didn't, but thanks to your persistence I now have the choice of two methods!



I am pleased with that result and think maybe I'll go with this one.


And the bonus is that I've learned quite a bit, too!


So thanks again.
Reply With Quote
  #14  
Old 11-12-2021, 03:13 AM
silverman166 silverman166 is offline Show a list of plants requiring a minimum temperature Windows 10 Show a list of plants requiring a minimum temperature Office 2007
Advanced Beginner
Show a list of plants requiring a minimum temperature
 
Join Date: Nov 2019
Posts: 31
silverman166 is on a distinguished road
Default FAO Pecoflyer, please

Further to your last post, and my reply, I've just found that when I post the latest formula into my original spreadsheet, it still does not work as shown in the sample spreadsheet posted, which appears to show a Pivot table, the concept of which I'm not familiar.


I've attached it to demonstrate.


Very confused now!
Reply With Quote
  #15  
Old 11-12-2021, 06:49 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Show a list of plants requiring a minimum temperature Windows 7 64bit Show a list of plants requiring a minimum temperature Office 2010
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

1. The IFERROR was added to avoid errors when while pulling down, there are no more results satisfying your requirements
2 Your original file has a value of "<5" in D3. This is a text string and will not work as such when comparing to numbers from col B. So you have to replace it with a single value, not using a text string

3 The Pivot Table was another example I provided for a possible solution. Although it is not necessary for a small table, it would be helpful for larger tables.

4. The solution provided is an array formula. They tend to slow down sheets with large ranges and most are nowadays replaced with built-in functions in newer XL versions like O365
Attached Files
File Type: xlsx Copy of Plants_1.xlsx (10.2 KB, 7 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
minimum charge Trapshooter1956 Excel 2 03-14-2017 09:36 AM
Chart y-axis minimum, auto not working? gebobs Excel 0 03-24-2016 11:05 AM
What are the minimum margins most printers can handle? 20GT Word 3 11-08-2014 10:40 PM
STDEV minimum number of points littlepeaks Excel 0 01-15-2012 06:40 PM
Word Minimum Margin rangeshram Word 0 09-24-2008 01:38 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:51 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft