Looking for a value based on a date and value from 2 different cells.

Tej92

Board Regular
Joined
Sep 27, 2022
Messages
72
Office Version
  1. 365
Platform
  1. Windows
Hello everyone!
from the following table
Raised onActionAssigned dateAssigned tocompleted
19/01/2023​
Extra equipment in the area
20/02/2023​
John Doe
06/02/2023​
29/01/2023​
No location for extra equipment
20/02/2023​
John Doe
open​

I'd like the cell to return the oldest action if under the completed column is still "open".
how can i do it?

Thanks in advance for the help!
 
I think I understand better now. Try this instead

23 03 07.xlsm
ABCDEFG
1Raised onActionAssigned dateAssigned toCompleted
219/01/2023this is action 110/02/2023Tej6/02/2023this is action 4
323/01/2023this is action 216/02/2023Joeopen
428/01/2023this is action 311/03/2023john10/02/2023
520/01/2023this is action 418/03/2023Markopen
6
Tej92 (2)
Cell Formulas
RangeFormula
G2G2=INDEX(SORT(FILTER(A2:B100,E2:E100="open"),1),1,2)
 
Upvote 1
Solution

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Thank you Peter!! That's it!
It works perfectly.
really grateful for the help.
Have a Nice day.
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,214,808
Messages
6,121,686
Members
449,048
Latest member
81jamesacct

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