+ Reply to Thread
Results 1 to 7 of 7

Is there an easier way to sum these fields?

Hybrid View

  1. #1
    Registered User
    Join Date
    11-29-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2016
    Posts
    15

    Is there an easier way to sum these fields?

    Team,

    is there an easier way to sum these fields?

    thanks,

    =IFERROR(($F119*J119),0)+IFERROR(($F120*J120),0)+IFERROR(($F121*J121),0)+IFERROR(($F122*J122),0)+IFERROR(($F123*J123),0)++IFERROR(($F124*J124),0)+IFERROR(($F125*J125),0)+IFERROR(($F126*J126),0)+IFERROR(($F127*J127),0)+IFERROR(($F128*J128),0)+IFERROR(($F129*J129),0)+IFERROR(($F130*J130),0)+IFERROR(($F131*J131),0)+IFERROR(($F132*J132),0)+IFERROR(($F133*J133),0)+IFERROR(($F134*J134),0)+IFERROR(($F135*J135),0)+IFERROR(($F136*J136),0)+IFERROR(($F137*J137),0)+IFERROR(($F138*J138),0)+IFERROR(($F141*J141),0)+IFERROR(($F142*J142),0)+IFERROR(($F143*J143),0)+IFERROR(($F144*J144),0)+IFERROR(($F145*J145),0)+IFERROR(($F146*J146),0)+IFERROR(($F147*J147),0)+IFERROR(($F148*J148),0)+IFERROR(($F149*J149),0)+IFERROR(($F150*J150),0)+IFERROR(($F151*J151),0)+IFERROR(($F152*J152),0)+IFERROR(($F153*J153),0)+IFERROR(($F154*J154),0)+IFERROR(($F155*J155),0)+IFERROR(($F156*J156),0)+IFERROR(($F157*J157),0)+IFERROR(($F158*J158),0)+IFERROR(($F159*J159),0)+IFERROR(($F160*J160),0)

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2021
    Posts
    5,967

    Re: Is there an easier way to sum these fields?

    Try this **

    =SUM(IF(ISNUMBER(F119:F160*J119:J160),F119:F160*J119:J160))

    Enter with Ctrl + Shift + Enter.

    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).

  3. #3
    Registered User
    Join Date
    11-29-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2016
    Posts
    15

    Re: Is there an easier way to sum these fields?

    Quote Originally Posted by Phuocam View Post
    Try this **

    =SUM(IF(ISNUMBER(F119:F160*J119:J160),F119:F160*J119:J160))

    Enter with Ctrl + Shift + Enter.

    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    Champion - thank you!

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

    Re: Is there an easier way to sum these fields?

    A simple SUMPRODUCT should work
    Formula: copy to clipboard
    =SUMPRODUCT(F119:F160, J119:J160)
    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

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,656

    Re: Is there an easier way to sum these fields?

    Try this

    =SUM(IFERROR(F119:F160*J119:J160,0))
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  6. #6
    Registered User
    Join Date
    11-29-2010
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2016
    Posts
    15

    Re: Is there an easier way to sum these fields?

    thank you very much!

  7. #7
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: Is there an easier way to sum these fields?

    It appears that simple SUMPRODUCT in #3 was not a good choice, although it is non array solution. Could you point it out?
    Quang PT

+ 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. Replies: 27
    Last Post: 03-29-2019, 10:47 PM
  2. Replies: 2
    Last Post: 10-26-2015, 06:49 AM
  3. Replies: 5
    Last Post: 11-21-2014, 10:00 PM
  4. Copy Excel data to Word fields and retain fields
    By GCW esq in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-06-2012, 10:31 AM
  5. How to Disable automatic fields in pivot table like total and count on fields
    By anushka in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-24-2009, 07:53 AM
  6. Changing numbes in text fields into numbers in number fields
    By freaksareus in forum Excel General
    Replies: 4
    Last Post: 10-23-2008, 05:47 AM
  7. [SOLVED] Excel SHOULD NOT AUTO-CHANGE formated text fields to DATE FIELDS!
    By PSSSD in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-08-2006, 04:35 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