+ Reply to Thread
Results 1 to 7 of 7

multiple functions in one formula

Hybrid View

  1. #1
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: multiple functions in one formula

    Any of these:

    =A2 - 0.75*G2 - (A2 - 0.75*K2)

    = 0.75*K2 - 0.75*G2

    =0.75*(K2 - G2)
    Entia non sunt multiplicanda sine necessitate

  2. #2
    Registered User
    Join Date
    03-31-2010
    Location
    Las Vegas, NV
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: multiple functions in one formula

    Quote Originally Posted by shg View Post
    Any of these:

    =A2 - 0.75*G2 - (A2 - 0.75*K2)

    = 0.75*K2 - 0.75*G2

    =0.75*(K2 - G2)

    I used the top formula but I re wrote it a little becuase I noticed that I would need a range of cells in the second function. The formula now looks like:
    =B23 - 0.75*G23 - (B23 -0.75*K23:M23)

    The problem is all I get is a #value error.

    Thanks,

    Erik

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: multiple functions in one formula

    You can't introduce a range in an ordinary formula like that; what is it supposed to mean?

  4. #4
    Registered User
    Join Date
    03-31-2010
    Location
    Las Vegas, NV
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: multiple functions in one formula

    Here is how I changed the formula so that it worked but I want to use a range so I can add aadditional colums and have the caluculations auto adjust.

    =B2-0.75*G2-(B2-0.75*(K2+L2+M2))

    As you can see in the second function I am subtracting the sum of cells K2 to M2 multiplied by .75 from the contents of cell B2. I attempted to write the formula like this =B2-0.75*G2-(B2-0.75*(K2:M2))
    but recieved the same error.

    Erik

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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