Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Complicated Maths Calculation

Featured Replies

Hi 

 

I am trying to figure out a complicated maths field for my dads storage yard the prices are based on a percentage sliding scale on an excel worksheet, as he has many size's of containers

 

He has a base price of £10 never changes then its 1% per day based on the storage price there's about 50 different prices that change from month to month 

 

 

field 1, Storage_Price

 

field 2, Days

 

field 3, Storage_Fees

 

so it should be Storage_Price "£10" x Days "28" = Storage_Fees "£2.80"

 

field 4, Base_Fee

 

field 5, Total_Due

 

 + Base_Fee "£10" = Total_Due "£22.80"

 

i hope that's clear as im kinda confused just reading it back myself

 

so the storage fee is £10 x 28 days each day is 1% 10p a day x 28 days = £2.80

add the base fee also comes to £22.80

 

it works ok from his spread sheet but then we have to enter all data by hand just all to slow

 

so just need to know how to write the Storage_Fees calculation

 

many thanx in advance 

If I read your description correctly, that would be

 

Total_due =
Let ( [
  sp = Storage_Price ;
  percentage = 1 ;
  sf = sp / 100 * percentage * Storage_days
  ] ;
  sp + sf + Base_Fee
) 
  • Author

Dammmm eos  youre good that worked 1st time   thank-you very much that has save me hours i reckon

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.