Ensure that a User Defined function used in a celll is executed ONLY ONCE

toughguy9

New Member
Joined
Mar 9, 2018
Messages
1
Hi Friends,
I was searching for help in excel and stumbled on this great forum.

My requirement..

I have a User Defined Function which i want to use in a cell, it should be executed ONLY ONCE when a certain condition is met. Is there any way to achieve this?

To give more details, i will be getting data from apis, based on how to the values changes in other cells I need to either execute UDF or keep checking, I want to ensure that the UDF is executed at max ONE TIME.

Hope I will be able to get some guidance on this.
Please let me know if my requirement is not clear.

Thanks a lot for your time,

Leela
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Use another cell containing True. Y
our function can test it
- let the function run (and change the cell value to False) iff the cell value is True. Don't forget to return the True value in the cell when you need your function to run again.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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