+ Reply to Thread
Results 1 to 4 of 4

If function with multiple calculations

  1. #1
    Forum Contributor
    Join Date
    07-04-2013
    Location
    United States
    MS-Off Ver
    Excel for Mac -V 16.33 -- Office 365
    Posts
    279

    If function with multiple calculations

    I am trying to use the If function to generate a result that will give me the weighted average of either my Static or Variable numbers. Attached is my excel worksheet. In yellow (row 26) are fields showing the results for part of the formula. Below is my attempt at completing the formula but I keep getting an error. Any help would be appreciated.Formula test if.xlsx

  2. #2
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: If function with multiple calculations

    There are some missing brackets. Ive made the following changes
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    On a side note, you can simplify the formula as such.
    On I23, weighted static average:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    And on I24, Weighted variable average:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    07-04-2013
    Location
    United States
    MS-Off Ver
    Excel for Mac -V 16.33 -- Office 365
    Posts
    279

    Re: If function with multiple calculations

    How perfect. I only needed to make one minor change to the new/original formula as the second half of the formula used the same calculations as the first half. I simply changed the reference from column E to column G and eliminated the references to rows 19 and 20 (because they had N/A), and it worked like a charm. Better yet, I was able to use the new sumproduct formula you shared, which was awesome. Thank you!!

  4. #4
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: If function with multiple calculations

    Excellent! That's good to hear.

    Thanks for the rep and have a good day.

+ 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] If Function - with calculations
    By hazybuck in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-26-2014, 12:41 AM
  2. How can I do calculations on multiple fields on multiple worksheets
    By rgreene in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-20-2013, 11:01 AM
  3. Multiple calculations in one SUMIF formula across multiple worksheets
    By necht_angel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-15-2011, 05:30 AM
  4. Excel 2007 : Multiple calculations within OR function
    By daniel_t in forum Excel General
    Replies: 11
    Last Post: 01-31-2011, 11:04 AM
  5. IF function with calculations
    By regularguy in forum Excel General
    Replies: 4
    Last Post: 09-15-2010, 12:54 AM
  6. Multiple IF/AND calculations with function
    By tdlpps in forum Excel General
    Replies: 4
    Last Post: 04-05-2009, 02:20 PM
  7. [SOLVED] If Function for 2 calculations
    By Linda Wilson in forum Excel General
    Replies: 2
    Last Post: 04-18-2006, 08: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