How to port/convert a formula that works in Excel (office) 365 but not in Excel 2019

pyclen

Board Regular
Joined
Jan 17, 2022
Messages
85
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I recently changed jobs and at my old place we had Office365 which was great as I personally have that and for all the work I did I could seamlessly transfer it.
I also have received a tremendous amount of help from members of this board and I hope I will again receive help.

In a previous post I asked (and received the answer, see here: value calculation)

as to when a discount to a rate can be applied. Snakehips provided a great working answer however the formula will not work as I have now this in B19, D19 etc.

=IF(B$15="",0,_xlfn.LET(_xlpm.FT,ROUNDUP(B$15/8,),(MIN(_xlpm.FT,$B$8)*$B$5)+(MAX(0,_xlpm.FT-$B$8))*$B$6))

1658255944187.png



The problem is that Excel 2019 does not support the FT and LET functions so I need an alternative. If needed I can provide the XL file however I thought the provided info may be enough.

Thank you for any help or idea provided
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
You can use the same formula, but with LET like
Excel Formula:
=IF(D12="",0,(MIN(ROUNDUP(D12/$D$3,),2)*$D$6)+(MAX(0,ROUNDUP(D12/$D$3,)-2))*$E$6)

Also as you are now using 2019 I would suggest you update your profile. ;)
 
Upvote 0
FT is a named variable in the LET function. Simply replace any instances of FT with it's set value/formula.

Excel Formula:
=IF(B$15="",0,(MIN(ROUNDUP(B$15/8,),$B$8)*$B$5)+(MAX(0,ROUNDUP(B$15/8,)-$B$8))*$B$6)
 
Upvote 0
Thank you very much for the quick response
And yes, I guess I need to update the profile although I still have 365 ( just at home)
 
Upvote 0
Glad we could help & thanks for the feedback.
I guess I need to update the profile although I still have 365 ( just at home)
If you need something for 365 then you could always say that in your post. Or leave your profile as 365 & state that something needs to work in 2019.
 
Upvote 0

Forum statistics

Threads
1,215,617
Messages
6,125,867
Members
449,266
Latest member
davinroach

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