Sorting data from another sheet to display in a main page

Gonney

New Member
Joined
Jul 28, 2022
Messages
19
Office Version
  1. 365
Platform
  1. Windows
Hi Team,

This one is a bit complex, I've been working for a bit on it today but nothing seems to work. I am working in Excel 2016.

Ideally I am looking at having two sheets, the first one which is the input sheet which shows the results of the second sheet import.
The import sheet is data I pull from another source and then paste it into the sheet, this can be a lot of data and there is always a lot of holes in the data.
I'm looking for the A:Z to be where reference number is found.
Once the reference number is found i'm looking to have it find the first none blank cell and then display the date in the "Start date" area.

Example: Number 1223 in B1, first none blank cell is in B5 and the date is in A5. for this to display on the start date area.

I'm then looking to have the "load" display for this based on the above and then the following loads to all display below it. I have flagged the example in yellow.

Input sheet:
load.xlsx
DEFGHIJK
1Using the enter number as a referance
2Start Date: Find the first date with usage from the import sheet and display it here
3Load: find the load from this date referance point and display it
4
5Enter Number1223Enter Number15897Enter Number1234
6Start dateStart dateStart date
7
8
9
10
11
12
13DateloadDateloadDateload
14---
15
16
17
18
19Example
20Enter Number1223
21Start date1/01/2023
22
23
24
25
26
27
28Dateload
291/01/202312
301/01/20231233
311/01/2023441
321/01/2023346
331/01/20232346
341/01/202334578
351/01/202334553
361/01/2023667
371/01/2023890
Input
Cell Formulas
RangeFormula
E5E5=Import!B1
H5H5=Import!C1
K5K5=Import!D1
D14,J14,G14D14=IF(E6="","-",E6)
E20E20=Import!B1
E21E21=Import!A5



Import sheet:
load.xlsx
ABCD
1Date and Time1223158971234
21/01/2023 0:00
31/01/2023 0:30234
41/01/2023 1:0045
51/01/2023 1:30126
61/01/2023 2:001233441
71/01/2023 2:304413
81/01/2023 3:003461233
91/01/2023 3:30234655
101/01/2023 4:0034578676
111/01/2023 4:30345537765
121/01/2023 5:00667456
131/01/2023 5:30890345
142/01/2023 0:001
152/01/2023 0:3023
162/01/2023 1:0043
172/01/2023 1:30322
182/01/2023 2:003465
192/01/2023 2:3034665455
202/01/2023 3:002346542676
212/01/2023 3:30345782347765
222/01/2023 4:0034553456
232/01/2023 4:30667345
242/01/2023 5:00
252/01/2023 5:30
Import
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Forum statistics

Threads
1,215,077
Messages
6,122,995
Members
449,094
Latest member
masterms

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