Sunday equals Saturday

MrDB4Excel

Active Member
Joined
Jan 29, 2004
Messages
348
Office Version
  1. 2013
Platform
  1. Windows
Equals Cell Above
So here is the dilemma. My last post involved setting a conditional format to set each row that is a Sunday row to be highlighted a specific color. This works great, such that when I copied the 2018 sheet and renamed it to 2019, adjusted the top 2 column A cells which then changed all date cells to read 2019 (except for the first row which was set to equal A372 of the 2018 sheet (December 31, 2018). Then setting the second date cell (A8) to the formula =A7+1 consequently changing all subsequent rows from 2018 to 2019. When this happened then all Sunday rows shifted obviously, but the highlight color moved with this change so that now for the 2019 sheet all Sunday rows are highlighted as expected.
This same row (each Sunday row also needs to always equal the Saturday row, but only in columns B thru K.
When I transfer exchange rates from a separate worksheet which does the web query into this sheet using the “Paste Values and Number Formatting” on a Saturday then the desired outcome is for Sunday to automatically fill in with the same numbers as Saturday simply because I have painstakingly set each Sunday cell for columns B thru K to equal the Saturday cell above it. So for example the table shown below shows Saturday and Sunday in the 2018 sheet which happens to be rows 13 and 14. Thus the formula in B14 would be set to (=B13).
So back to this dilemma. When I set all Sunday cells to equal the Saturday cell above (in columns A thru K) in the 2018 sheet; then copied the 2018 sheet and renamed it to 2019; then adjusted the date column “A” as described above, the Sunday highlighting moved with the changes, but the equal formula to set the Sunday row, columns A thru K, equal to the Saturday row above then moved on to the Monday row.
The desire is for the equal formula to move with the Sunday row when the dates change year to year.
BTW, the reason Sunday is equal to Saturday is because the weekends always retain the same exact exchange rates all 48 hours of the weekend, never changing again until Monday.
What may be extremely helpful is if I could forward the 2 excel workbooks to someone via email so you can have a first hand look at what these look like and how they operate.

Column "A"___________Column "B"______Column "C"______Column "D"_____Column "E"_____Column "F"______Column "G"______Column "H"_____Column "I"______Column "J"_____Column "K"
Date_________________EUR to USD_____USD to EUR_____CZK to USD_____USD to CZK_____RUB to USD_____USD to RUB______RUB to CZK_____CZK to RUB______EUR to CZK____CZK to EUR
Saturday--06 Jan 2018___1.20302_______0.83124________0.04710________21.22940______0.01756________56.93696________0.37286________2.68199________25.53939______0.03916
Sunday--07 Jan 2018____1.20302_______0.83124________0.04710________21.22940______0.01756________56.93696________0.37286________2.68199________25.53939______0.03916
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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