Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-17-2022, 07:50 AM
mda99das mda99das is offline Using IF AND to filter number in a range, works with dragging, but not in an Array Windows 7 64bit Using IF AND to filter number in a range, works with dragging, but not in an Array Office 2013
Novice
Using IF AND to filter number in a range, works with dragging, but not in an Array
 
Join Date: Oct 2022
Posts: 12
mda99das is on a distinguished road
Default Using IF AND to filter number in a range, works with dragging, but not in an Array

I have found a way in Excel (Google Sheets) that filters the ages from 5-9 inclusive. If they fit it , it returns YES otherwise NO



=IF(AND(L1>4, L1<10), "Yes", "No")

I have the ages in column L, and I drag this down to autofill and it works well.

I then used an array formula, that I have used to autofill the column as data is entered

=ArrayFormula( IF(ROW(L:L)=1,"Suitable?", IF(ISBLANK(L:L),"",IF(AND(L:L>4,L:L<10), "Yes", "No"))))

This returns NO all the time
Can someone guide me how to get this to work?

Many thanks
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading an Excel range to an array in VBS BobBridges Excel Programming 1 12-25-2020 01:04 PM
Filter range marif300 Project 3 05-05-2017 02:39 PM
Using IF AND to filter number in a range, works with dragging, but not in an Array Error: AGGREGATE_doesn't ignore hidden rows for particualr array range adisco Excel 1 01-10-2017 10:59 AM
Using IF AND to filter number in a range, works with dragging, but not in an Array Filter by a Month that falls within a date range MattG1225 Excel 2 12-03-2015 07:44 AM
Range Name in Adv Filter -> NOt working 56_kruiser Excel 2 11-20-2012 09:58 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:29 PM.


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