+ Reply to Thread
Results 1 to 3 of 3

Count, sum and return value formula

  1. #1
    Registered User
    Join Date
    08-05-2015
    Location
    Oslo, Norway
    MS-Off Ver
    2010
    Posts
    2

    Count, sum and return value formula

    Hello internet forum,

    Glad you took the time to read here, hopefully you might have a better idea how to solve this, than me.

    I am trying to calculate how many km a vehicle needs to travel before the difference in fuel mileage cost equals the benefit of purchasing a more expensive model.
    Example: Car A costs 1.000 and costs 1.5 per km. Car B costs 1.200 and costs 1.2 per km. How many km does the car travel before the cost benefit of 200 has been achieved. The result would then be after 667km.
    Any idea how to structure this in to excel?

    Thanks internet.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Count, sum and return value formula

    With cost of car in A1 and B1
    and mileage in A2 and B2

    =(B1-A1)/(A2-B2)
    Is that what you were looking for?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    08-05-2015
    Location
    Oslo, Norway
    MS-Off Ver
    2010
    Posts
    2

    Re: Count, sum and return value formula

    Why yes it is. That solves the issue quite well indeed. I was overcomplicating the solution .
    Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Formula to look up Combinations of Headings and return a Count to a Cell
    By hammer2 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-15-2015, 09:22 PM
  2. [SOLVED] Formula to Lookup a Table and return a Count value.
    By hammer2 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-03-2014, 12:59 AM
  3. [SOLVED] VLookUP or other formula to count and return a value
    By SVTF in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-24-2014, 12:07 PM
  4. Formula to return count, if two critera are met.
    By SeanLightfoote in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-08-2014, 12:51 PM
  5. Replies: 10
    Last Post: 01-21-2012, 06:03 AM
  6. Formula to count editions of 999 and return a no.
    By n1kk1 in forum Excel General
    Replies: 14
    Last Post: 01-26-2011, 05:50 AM
  7. Replies: 2
    Last Post: 01-07-2011, 03:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1