Formula for Pulling Data - Help

WarrenCarr

New Member
Joined
Apr 4, 2017
Messages
23
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hello,

So I would like to be able to enter a date and have that weeks worth of data pulled into a location. See Image.

On the left hand side, there is the raw data with dates and info. I would like to be able to enter date into right hand side box and have the following 5 days auto populate below.

For example, I would enter "12/18/2017" then it would search for that date in the left hand side and return the next 5 days of data. (Image - https://ibb.co/e499Rn)

Any help would be appreciated. I am rather lost.

Thanks,
WC

e499Rn
 
Last edited:

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
let me clarify what you are asking for. you have bunch of data (with some kind of date like transaction date) to the left. then on the right side you have an input date. based on that input date, you want to pull data from the table in the left with T+5 dates?

there may be a more sophisticated way but easiest way (without using vba and super complex formulas) that I can think of is:
1. OPTIONAL - Make the table to the left a table (Insert Table). Name the table
2. add a column to this table (call it calc date or whatever). put a formula there =if(AND(Transaction Date <= Input Date+5, Transaction Date>=Input Date), Input Date, "X")
4. Create a pivot table on the table. Make sure calc date is one of the fields, filter for calc date does not equal X.

Let me know if that helps.
 
Upvote 0

Forum statistics

Threads
1,223,895
Messages
6,175,257
Members
452,625
Latest member
saadat28

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