Need help with either Conditional formula or VBA script to solve issue

Austin18765

New Member
Joined
Jan 12, 2020
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Hello I am having an issue figuring out how to get my duty excel spreadsheet to do the below and am looking for either a formula or VBA based solution:



Basically I have the below spreadsheet and if there is a value in the additional duty column (starting at I5) I would like the value to be pulled or copied into M15 then the corresponding value in b5 pulled into L15, D5 pulled into N15, and C5 pulled into O15. Then I need the value in H5 pulled into M16, and then the corresponding value in b5 pulled into L16, D5 pulled into N16, C5 pulled into O16. But if there is no value in I5 I need only the value in H5 pulled into M15, and then the corresponding value in b5 pulled into L15, D5 pulled into N15, and C5 pulled into O15. I need this to happen for each row of the duty calculation table under the information pulled from the previous row. There will always be a value in the actual duty column (H), but the value in the additional duty is conditional so it is more often then not empty. Thanks so much for any help! I am pretty new to excel and would normally try to figure this out myself but I am stuck. Again thanks so much for any help!

1581978272243.png
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,223,702
Messages
6,173,965
Members
452,539
Latest member
delvey

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