Pulling info from second sheet into first database using if

james_simpson1998

New Member
Joined
Jul 30, 2020
Messages
9
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
Now what if I wanted to take it a step further...

what if i had a separate table on another sheet which told me, for example transit times in weeks. Lets use for example 4 weeks total transit time.

And what I would like to do is to insert a week number into cell M92 for example, and total transit time for this example is 4 weeks which is what is on the table on the other sheet. So, M92 = 35 (for example), i would like P92 to pull through the date of week 35, O92 to pull through P92-4 total weeks from the other table? Does this make sense?

To make things easier, lets use a live example of what I am trying to achieve.

SupplierOrigin CountryOrigin portDestination portOrigin loading & trucking (weeks)Quay-quay sailing / door-door trucking time (weeks)Delivery to UK warehouse (weeks)
Example 1USANorfolkLGW131

this is the info on the other sheet. and what I am trying to achieve is:

Origin portDest portRequested Ex Factory WKRequested Ship WKRequested UK Port WKRequested Delivery WKRequested Ship DateRequested UK Port DateRequested Delivery Date
NorfolkLGWInsert week=requested delivery date-3 weeks sailing time pulled through from other sheet (quay-quay value)=requested delivery week in date format
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,214,911
Messages
6,122,198
Members
449,072
Latest member
DW Draft

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