Public Function Auto Update Cell From Two Criterias That Match

benntw

Board Regular
Joined
Feb 17, 2014
Messages
222
Office Version
  1. 365
Platform
  1. Windows
I have a sheet that people are supposed to update the percentage daily in a horizontal date range daily. My main sheet calculates the current percent complete in cell S6 on sheet "Daily Progress". On that same sheet in C1 is the current date. I'd like to leave this cell a formula equals to Today() so I can test the code. On sheet "Data" I have a range of dates that can change from a short date range to a longer date range from project to project. This range is in Row 2. In Row 4 is my actual percent complete for that day. This needs be populated from S6 on sheet "Daily Progress". Is there a code that will keep the previous dates value and only change the current date's value when you save the workbook ? I have looked up countless public functions to try and figure it out and it is kicking my butt. Thank you.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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