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

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
=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 :oops: , thank you mate.
 
Upvote 0

Forum statistics

Threads
1,215,717
Messages
6,126,422
Members
449,314
Latest member
MrSabo83

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