Formula issue - ideas?

Camel123

Board Regular
Joined
Jun 5, 2018
Messages
186
Hi,

Sheet2
Row/col A/col B
1/2017-01-01/closed
2/2016-01-01/open
3/2015-01-01/closed
4/2014-01-01/open

Sheet1
If col B in sheet 2= "open", then return value in col A= 2016-01-01, and if today's date > than this date 2016-01-01= count. In this example I have 2x open items with dates back in time, so the formula would result in= 2

Tried to play around with if, countif, count, vlookup, search & find etc. but can not get it working.

Appreciate all your guidance.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
=SUMPRODUCT((B1:B4="open")*(TODAY()>A1:A4))
or maybe
=COUNTIFS(B1:B4,"open",A1:A4,"<"&TODAY())
 
Upvote 0
the countifs formula worked perfect of course, moments like these makes you feel tarded haha :banghead: , thank you mate.
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,263
Members
452,627
Latest member
KitkatToby

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top