+ Reply to Thread
Results 1 to 4 of 4

Adding values in Excel 2003

Hybrid View

  1. #1
    Registered User
    Join Date
    07-12-2013
    Location
    Jersey
    MS-Off Ver
    Excel 2010
    Posts
    59

    Adding values in Excel 2003

    Hi all
    I have this code working fine in excel 2007 but I need to get it working in excel 2003.

    =0.02*(_xlfn.SUMIFS($D$2:$D$98,$C$2:$C$98,">="&I5,$C$2:$C$98,"<="&I4))

    I have attached a test document to show what I'd like to do. It is basically adding values if the column next to it is in a certain range. counting columns in Excel 2003.xls

    Hope you can help

  2. #2
    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
    53,048

    Re: Adding values in Excel 2003

    sumifS() came out in 2007, so you cant use it in 2003. Try this instead...

    =SUMPRODUCT(($B$3:$B$20)*($A$3:$A$20>=E4)*($A$3:$A$20<=E5))
    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

  3. #3
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Adding values in Excel 2003

    Edit: Same as above

  4. #4
    Registered User
    Join Date
    07-12-2013
    Location
    Jersey
    MS-Off Ver
    Excel 2010
    Posts
    59

    Re: Adding values in Excel 2003

    thank you

    kevin

+ 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. Adding an Error to a formula for Excel 2003
    By Cra5h in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-06-2013, 03:45 PM
  2. [SOLVED] Adding a Message box for confirmation VB Excel 2003
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-29-2012, 03:48 PM
  3. [SOLVED] Adding a “/001” to code on extra row (Excel 2003)
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-18-2012, 12:59 PM
  4. Adding extra to code, add row Excel 2003
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-16-2012, 01:03 PM
  5. Adding Rows Auomatically in Excel 2003
    By TranceCo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-19-2009, 08:05 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