excel - Stuck With A Pull data Formula -


im banging head on wall past 3 hours trying figure out how can solve issue.

iv managed make formula pulls specific data iv specified. in ex:

all people has 2 days left , in "on hold" status (see table reference).

=query(data,"select d contains 'on hold' , e<=2",0) 

1.the issue iv managed create formula creating cell (e) subtracts day difference on dates entered (b:c).

2.how can create subtract formula inside query formula. please see link detailed table.

3.second issue table dynamic , grows data on time. how can make formula pull data updating cells. ( iv crated name range table called "data" , ranged inside formula)

thanks in advance appreciate :)

sheet

named ranges have hard defined end row. if can use range such d5:f instead, not need change named range. range start @ cell d5 , include columns d, e, , f until last row in sheet.

the query needs use datediff:

=query(a2:e,"select d contains 'on hold' , datediff(c, b) <= 2",0) 

see scalar functions portion of query reference more.


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -