Hello everyone,
I'm trying to write VBA function to check if file with name that contains some string exists.
Currently I have a code like that:
Function FileExists(path As String)
Dim fso_obj As Object
Dim full_path As String
Set fso_obj =...
How would I write a kind of tiered formula?
If a number is over 900000, i need it multiplied by .0015
If it is between 700000-900000, i need it multiplied by .00125
If it is under 700000, then it is 0
Please help!
Thank you!
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.