Copy Paste and Delete a cell based on condition

ipon70

Board Regular
Joined
May 8, 2013
Messages
82
Office Version
  1. 2016
Platform
  1. Windows
Here is my dilemma.
E4 contains nothing until it says "100"
H4 contains a date found on another sheet, that updates daily.
F4 needs to contain the date from H4 when E4 says 100, but once F4 contains that date, never check or copy or update that date again.

That will then need to repeat from E4 down to E18 with each row corresponding to its own row...ie(E4,H4,F4 and E5,H5,F5) and so on.

Any help would be awesome as I have spent entirely to much time on this project already.

Thanks in advance.
 
Last edited:

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
When I put the data in is when the date appeared in H4, and then the F4 changed to NA
 
Upvote 0
It works for me and can't see anything in the code that should affect the formula in H4.
Perhaps someone else has some ideas.

Check the formula before running the code, and check it afterwards.
What has changed to be making it return N/A ?
 
Upvote 0

Forum statistics

Threads
1,215,084
Messages
6,123,029
Members
449,092
Latest member
ikke

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