How pull data into a list using a date range without using a pivot table

bomijoff

New Member
Joined
Feb 19, 2023
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Sorry for the terrible thread name!
The plan is on a Thursday find out which unique refs there are for the following week (L3 is this monday L4 is this Sunday)

So i'm looking to populate column G with all the unique refs that have column C's date between the dates of L3&L4.
I would then lookup the date/address/project type based on the unique ref. (i know how to do this part)

Columns B:E are raw data.
Columns G:J is the ideal outcome.

Is it possible to do this?
Thanks for reading.
 

Attachments

  • example.png
    example.png
    29.4 KB · Views: 5

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
as you have 365 version

a filter() should work

=FILTER(B3:E14,((C3:C14>=L2)*(C3:C14<=L3)))

you can also add a unique() - but tghe data says its unique anyway


Book1
ABCDEFGHIJKL
1output
2refdateaddressproj4/3/23
3A-14/1/23street1aA-34/3/23street3c4/5/23
4A-24/2/23street2bA-44/4/23street4a
5A-34/3/23street3cA-54/5/23street5b
6A-44/4/23street4a
7A-54/5/23street5b
8A-64/6/23street6c
9A-74/7/23street7a
10A-84/8/23street8b
11A-94/9/23street9c
12A-104/10/23street10a
13A-114/11/23street11b
14A-124/12/23street12c
15
Sheet2
Cell Formulas
RangeFormula
G3:J5G3=FILTER(B3:E14,((C3:C14>=L2)*(C3:C14<=L3)))
L2L2=TODAY()+4
L3L3=TODAY()+6
Dynamic array formulas.





 
Upvote 1
Solution

Forum statistics

Threads
1,214,920
Messages
6,122,276
Members
449,075
Latest member
staticfluids

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