Help about an automation i want to create

damav78

New Member
Joined
Sep 29, 2024
Messages
31
Office Version
  1. 2021
Platform
  1. Windows
  2. MacOS
Hi, I would like your help in an issue that i cannot find a way to solve.
I have 2 cells.
The first one has a dropdown list with one option only available.
The second one is a formula cell that collects multiple data from other cells and its dynamic. It means that when i change values to other cells this cell is affected.
So what i would like to do is:
When the first cell is blank the values on second cell to change as normally do (dynamically).
If from the first cell i choose the predefined value from my dropdown list then the second cell to actually "lock" the current value that has at that moment and dosen't be affected anymore from any changes.
Thank you in advance
 
Does the formula work properly when it is manually entered into Q7?
Yes. the the previous code working fine. The only thing was that if i wanted to go back and delete the text so the Q7 was back in formula i had to do it manually by selectin the cell and the green arrow over it, and select the restore to calculated column formula.
 
Upvote 0

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Try replacing the semicolumn in the formula with a comma.
 
Upvote 0
Try replacing the semicolumn in the formula with a comma.
In the formula or in the code window where you add the formula of the cell? Because if you refer to the cell formula i always use semicolon because comma doesn't work for my formulas
 
Upvote 0
if you refer to the cell formula i always use semicolon because comma doesn't work for my formulas
As VBA is US centric, you need to use a comma, regardless of how you would enter it in a cell.
 
Upvote 0
In what country are you located?
Yes!!! It's working great!!! Replacing semicolon with comma in the code solve the problem.
So now i have save my file as xlsm do i have to worry about anything else or not? I mean this file has multiple sheets tables etc. so i am asking if it affects my sheets or my table in anyway
 
Upvote 0
It should have no effect on any other sheet.
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,212
Members
452,618
Latest member
Tam84

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