Using a checkbox to override a formula in a existing cell with a new formula

Burdleggz

New Member
Joined
Jul 1, 2020
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I have a cell "Work Hours Per Day" (M33) which the user will populate themselves. Under the labor task breakdown I have 30 some items where production hours are divided by (M33) to get the total number of days (L49:L79). This is the process for one bid item. I have 10 bid items in one workbook and they may have the same work hours per day or they may be different. I've written a code that if a this does occur, and the single checkbox is checked, then two rows are inserted where a new "Work Hours Per Day (E47) can be manually populated. Now I need (L49:L79)'s formulas to be based on (E47) NOT (M33). Is this even possible?
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Some screenshots might be useful here of what you need.

You can link a checkbox to a cell, it'll give a TRUE or FALSE result if checked. With it linked to A2 something like =IF(A2,yourformula/M33,yourformula/E47) might be useful
 
Upvote 0

Forum statistics

Threads
1,215,425
Messages
6,124,824
Members
449,190
Latest member
rscraig11

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