+ Reply to Thread
Results 1 to 6 of 6

I need to simplify this formula

  1. #1
    Registered User
    Join Date
    01-14-2013
    Location
    Jupiter
    MS-Off Ver
    Excel 2013
    Posts
    78

    I need to simplify this formula

    I need the following formula to be simpified:

    =IF(AND(A2="",A3="",A4="",A5="",A6="",A7="",A8="",A9="",A10="",A11="",A12="",A13="",A14="",A15="",A16="",A17=""),"",SUM((A2*C2),(A3*C3),(A4*C4),(A5*C5),(A6*C6),(A7*C7),(A8*C8),(A9*C9),(A10*C10),(A11*C11),(A12*C12),(A13*C13),(A14*C14),(A15*C15),(A16*C16),(A17*C17)))

    I have attached an example, so you can see how the formula is being used.

    Thanks.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    05-15-2013
    Location
    Columbus, Ohio, USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: I need to simplify this formula

    Would you be okay with adding "Total" in D1 and use "=IF(A2="","",C2*A2)" and put "=SUM(D2:D17)" in D19? It isn't simplifying the formula, but it does simplify what you want done.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: I need to simplify this formula

    something like this?

    =SUMPRODUCT(A2:A17*C2:C17)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    01-14-2013
    Location
    Jupiter
    MS-Off Ver
    Excel 2013
    Posts
    78

    Re: I need to simplify this formula

    I had thought about that, but there are 49 other columns to the left of the "Product" Column, and that would mean inserting a column next to each one of those columns.

  5. #5
    Registered User
    Join Date
    01-14-2013
    Location
    Jupiter
    MS-Off Ver
    Excel 2013
    Posts
    78

    Re: I need to simplify this formula

    That works. Thanks!

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: I need to simplify this formula

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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