Forum Discussion

pjukes's avatar
pjukes
Copper Contributor
Aug 09, 2024

Formula Required

 

 

Hi All,

 

I need a formula for the following see attached Sheet.

 

Brief

Starting at 50klm distance the base rate is $1.50

Every 50klm more I want the rate to increase $0.25

 

I have it set up so when you enter the Distance (KLM) (sourced via Google Search) 

The Quantity needs to rounds up to the next whole number according to Distance(KLM) entered

The rate increase needs to corresponds with Quantity total.

 

Any help would be appreciated. Thank you

 

 

  • pjukes Yes! That one works. But, oh my, how colorful and an almost abusive use of conditional formatting. You really want all of that?

     

    Anyhow, enter the formula below in E2 and I believe it does what you ask for.

    =1.5+(INT([@[DISTANCE (KLM)]]/50)-1)*0.25

     

  • Riny_van_Eekelen's avatar
    Riny_van_Eekelen
    Platinum Contributor

    pjukes That file requires a "sign-in". Please provide a link to the file on Onedrive, Dropbox or similar, giving access without the need to sign in.

      • Riny_van_Eekelen's avatar
        Riny_van_Eekelen
        Platinum Contributor

        pjukes Yes! That one works. But, oh my, how colorful and an almost abusive use of conditional formatting. You really want all of that?

         

        Anyhow, enter the formula below in E2 and I believe it does what you ask for.

        =1.5+(INT([@[DISTANCE (KLM)]]/50)-1)*0.25

         

Resources