Activate and deactivate function in a table when the value of a cell belong to certain range.

Potatoexcel

New Member
Joined
Mar 6, 2022
Messages
1
Office Version
  1. 2013
Platform
  1. Windows
Hello, I need some help to solve a certain problem.
Let's say I have Value "a" and if it's belong to range from (a~b) or (c~d) etc then I want to activate all the functions in table A that corresponded to range (a~b) and deactivate the functions in the other tables.
If the Value "a" doesn't belong to any specify range then in another cell, it say "False" then end, all the tables are at deactivate status.
For context, the different tables contain evaluation condition depends on the Value of "a" and at the end give an evaluation at the end to be "OK" or "FALSE". This Evaluation affect the overall evaluation of the Sheet. That is why I need to create separate tables and deactivate them so they don't get in the way of the overall evaluation.

I am not very familiar with VBA so If possible I would appreciate if someone can write an example code for me to work with as well...
I also put a summary flow of my problem for visualization purpose. I hope it will help you get the gist of what I am saying.
Thank you very much.
 

Attachments

  • excel.jpg
    excel.jpg
    226 KB · Views: 6

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,214,790
Messages
6,121,607
Members
449,037
Latest member
Arbind kumar

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