Compare two cells on each Worksheet then Add value

Harley78

Active Member
Joined
Sep 27, 2007
Messages
372
Office Version
  1. 365
Platform
  1. Windows
Hello all,

I have been trying for a week and a half to do it on my own, but harder than I thought.

I have one worksheet with suppliers and the shipments air or sea and delivery times

Excel Workbook
ABCDEFG
1SupplierMode of TransportShip DateETA PortETA to PlantDeliveredDiff
2Supplier AS14-May14-Jun18-Jun18-Jun35
3Supplier BS14-May14-Jun18-Jun18-Jun35
4Supplier CA14-Jun18-Jun18-Jun4
5Supplier DS24-Apr27-May31-May5-Jun42
6Supplier ES8-May30-May3-Jun8-Jun31
7Supplier FS24-Apr27-May31-May5-Jun42
Sheet1


And I have a Pivot Table that gives me the average length of time for each transportation method.

Excel Workbook
ABCDE
10DaysType
11SupplierAGSTotal Shipments
12Supplier A28.60
13Supplier B38.00
14Supplier C7.30
15Supplier D7.70
16Supplier E2.04.10
17Supplier F4.00
Sheet1


I manually enter the ETA to plant (Column E) however I want to do it automatically.

Looking at Supplier A and Mode of Transport on the first sheet if the supplier matches, then if Mode is S on first sheet, then I want it to use the cell under the S that is in the pivot table (in this case, 28.6 from second sheet) to cell E2 (in cell E2 on first sheet - like it to represent C4+ cell from the pivot table [28.6])

I hope I stated it correctly and clearly.

Any help would be appreciated.

thanks yet again,

Bill
 

Forum statistics

Threads
1,226,812
Messages
6,193,116
Members
453,777
Latest member
Miceal Powell

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