adding and taking away

B4L4KS

Board Regular
Joined
Mar 7, 2011
Messages
69
how can i create a formula that when a cell equals 1 other cells drop by one
and the same for two but the formula needs to add on continuously

also reset itself once a day

kristian
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

MrKowz

Well-known Member
Joined
Jun 30, 2008
Messages
6,653
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Can you please provide an example of what you want? Are you wanting it to reset the first time you load the spreadsheet each day?
 

B4L4KS

Board Regular
Joined
Mar 7, 2011
Messages
69
hi

i need it so it resets once a day,

preferably at the end of the day

thanks
 

MrKowz

Well-known Member
Joined
Jun 30, 2008
Messages
6,653
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
What defines the "end of the day"? Where do you want these cells located in your spreadsheet? I need more details.
 

B4L4KS

Board Regular
Joined
Mar 7, 2011
Messages
69


start of the day 11am
end of the day 12pm midnight

thanks

kristian
 

MrKowz

Well-known Member
Joined
Jun 30, 2008
Messages
6,653
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
In the formula:

=COUNTIF(Recept!L16,'Order Form'!H12:I12)*'Order Form'!K12

What cell are you changing to update the value of H11? I'm thinking that we need to have a Worksheet_Change event monitor for the change of that cell you manually adjust so that when you do change it, it will adjust the values in column I.

Also, I might reccomend that the worksheet be "reset" when it is first opened in the morning (unless the worksheet will be open at midnight every night).​
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,629
Messages
5,838,453
Members
430,549
Latest member
jayjay2022

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
Top