XLOOKUP using >

excelos

Well-known Member
Joined
Sep 25, 2011
Messages
591
Office Version
  1. 365
Platform
  1. Windows
Hello

I have the table below:

01/01/2020; a; 12
02/01/2020; b; 45

I want for a specific value in Col2 (i.e. a or b) and for Col1 dates that are larger than a specific date, to return a string aggregate of Col3.

This is basically a lookup but it uses both an equation (Col2=a) and a larger-or-equal equation (e.g. Col1 >= 03/01/2020). These criteria will return an array of Col3 values which I then want to aggregate them into a string separated by newline.

Any idea?

Thanks!

PS: I cannot use Tables due to working on someone else's workbook.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Maybe
Excel Formula:
=TEXTJOIN(CHAR(10),,FILTER(C2:C100,(B2:B100="a")*(A2:A100>=DATE(2021,1,3))))
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,370
Members
449,080
Latest member
Armadillos

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