We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Excel Formula Help Please

Options
Afternoon,

Can anybody help please.

I need to create a formula where if the volume found is 1500m3 divide by 20 but anything above the 1500m3 is divided by 6.7litres

For instance if the total volume found is 1800m3, the first 1500m3 divide by 20 litres, the remaining 300m3 divide by 6.7litres.

Thanks
«1

Comments

  • Andy_L
    Andy_L Posts: 13,017 Forumite
    Part of the Furniture 10,000 Posts Name Dropper
    =IF(A1>1500,(1500/20)+(A1-1500)/6.7,A1/20)

    where A1 is the volume
  • Andy_L said:
    =IF(A1>1500,(1500/20)+(A1-1500)/6.7,A1/20)

    where A1 is the volume
    Sorry i’ve made a mistake if the volume is up to 1500m3 multiply by 20litres, if the total volume is over 1800m3, the first 1500m3 is multiplied by 20litres, the remaining 300m3 multiplied by 6.7litres
  • Andy_L
    Andy_L Posts: 13,017 Forumite
    Part of the Furniture 10,000 Posts Name Dropper
    replace the / with *

    =IF(A1>1500,(1500*20)+(A1-1500)*6.7,A1*20)
  • Did you pass the test?
  • outtatune
    outtatune Posts: 748 Forumite
    500 Posts Third Anniversary Name Dropper
    I'm not sure what you mean by 'multiply by x litres' as opposed to 'multiply by x'.
    But if that really is what you meant to say then note that 1m3 is not one litre; it's 1000 litres.
  • Stompa
    Stompa Posts: 8,375 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    If we ignore the units, then you could use something like:

    =20*MIN(A1,1500)+6.7*MAX(A1-1500,0)

    Stompa
  • Thanks for all your help forum. Just started a new job and i’m creating a spreadsheet to make our working lives easier.

    Got another question which I need solving, is there a formula when the answer in cell G48 is “Y” then the next cell G49 would multiply B48xC48xB1?

    Thank you all
  • victor2
    victor2 Posts: 8,104 Ambassador
    Part of the Furniture 1,000 Posts Name Dropper
    B15_Donne said:
    Thanks for all your help forum. Just started a new job and i’m creating a spreadsheet to make our working lives easier.

    Got another question which I need solving, is there a formula when the answer in cell G48 is “Y” then the next cell G49 would multiply B48xC48xB1?

    Thank you all
    It really sounds like you are not analysing the initial "problem" thoroughly. Look at the starting data and ending result, rather than trying to change results part way through...

    I’m a Forum Ambassador and I support the Forum Team on the In My Home MoneySaving, Energy and Techie Stuff boards. If you need any help on these boards, do let me know. Please note that Ambassadors are not moderators. Any posts you spot in breach of the Forum Rules should be reported via the report button, or by emailing forumteam@moneysavingexpert.com. 

    All views are my own and not the official line of MoneySavingExpert.

  • Andy_L
    Andy_L Posts: 13,017 Forumite
    Part of the Furniture 10,000 Posts Name Dropper
    B15_Donne said:
    Thanks for all your help forum. Just started a new job and i’m creating a spreadsheet to make our working lives easier.

    Got another question which I need solving, is there a formula when the answer in cell G48 is “Y” then the next cell G49 would multiply B48xC48xB1?

    Thank you all
    The IF function

     https://support.microsoft.com/en-us/office/if-function-69aed7c9-4e8a-4755-a9bc-aa8bbff73be2
  • As Andy but you first need to decide what to do in cell G49 when G48 does not equal "Y".
    You could be far better asking, given certain situations how you can achieve certain results. Though what you are doing does help understand formulae that is not always the best way of achieving an objective!
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 350.8K Banking & Borrowing
  • 253.1K Reduce Debt & Boost Income
  • 453.5K Spending & Discounts
  • 243.8K Work, Benefits & Business
  • 598.7K Mortgages, Homes & Bills
  • 176.8K Life & Family
  • 257.1K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.