+ Reply to Thread
Results 1 to 6 of 6

Backward subtraction forumla!

  1. #1
    stewart08
    Guest

    Backward subtraction forumla!

    I am try to develop a forumla that calculates (subtraction) backwards example:

    8 subtraction by (unknow value) resulting in 4 = 4

    as 8-4=4

    4 is the aswaer

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    So you want to find x in the following:

    8 - x = 4

    Or, using cells A1 and A2:

    A1 - x = A2

    So in a different cell, simply use:

    =A1 - A2

    HTH

    Jason

  3. #3
    stewart08
    Guest
    that's great but not so simply....

    what happens when I have

    8 - x = 1

    aswner should be "9" but using your formula give me "7"

    I tryed to create a forumla which surprisely does not work:

    A1=8
    A2=4

    so

    =IF(4-A1=A2,"4","")

  4. #4
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Well, last I checked,

    8 - x = 1

    x = 7

    8 - 7 = 1

    My very simple formula will work for the scenario you are describing.

    Jason

  5. #5
    stewart08
    Guest
    I got it to work now but there is two answers to the question:

    8-x=1 answer 97

    8-9=1
    8-7=1


  6. #6
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Sorry, but 8 - 9 does not equal 1.

    8 - 7 = 1
    8 - 9 = -1

    What do you mean by "answer 97"?

    Maybe you're just not fully explaining what you need.

+ 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. modify a forumla to adjust
    By Martindelica in forum Excel General
    Replies: 6
    Last Post: 02-25-2008, 02:02 AM
  2. formula displays in cell but not the forumla value
    By tictoc123 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 09-12-2007, 09:25 PM
  3. Subtraction macro request ...
    By rocket1406 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-13-2007, 03:10 PM
  4. Forumla Displays??
    By pba.mike in forum Excel General
    Replies: 9
    Last Post: 03-31-2007, 10:54 AM
  5. Countif forumla question with time, please help!
    By karch35 in forum Excel General
    Replies: 3
    Last Post: 11-15-2006, 02:00 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