+ Reply to Thread
Results 1 to 6 of 6

sum cells starting from cell1 value to cell2 value

  1. #1
    Registered User
    Join Date
    02-11-2014
    Location
    baia mare
    MS-Off Ver
    Excel 2003
    Posts
    13

    sum cells starting from cell1 value to cell2 value

    Hi

    How can i sum cells from column F , depending on value from cell C1 and C2

    exemple
    cell1 = 3
    cell2 = 6
    i want to sum (F3:F6)

    thank you

  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
    52,938

    Re: sum cells starting from cell1 value to cell2 value

    Assume cell1 = A1 and cell2 = B1, something like this...

    =sum(indirect("F"&A1&":F"&B1)
    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
    Registered User
    Join Date
    02-11-2014
    Location
    baia mare
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: sum cells starting from cell1 value to cell2 value

    it workes, thank you
    this is an other solution
    =SUM(INDIRECT("F" & C1):INDIRECT("F" & C2))

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: sum cells starting from cell1 value to cell2 value

    Quote Originally Posted by [email protected] View Post
    this is an other solution
    =SUM(INDIRECT("F" & C1):INDIRECT("F" & C2))
    Avoid the usage of Indirect() since it is Volatile

    Try this...


    =SUM(INDEX(F:F,A1):INDEX(F:F,A2))


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  5. #5
    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,938

    Re: sum cells starting from cell1 value to cell2 value

    Nice 1 Six

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: sum cells starting from cell1 value to cell2 value

    Quote Originally Posted by FDibbins View Post
    Nice 1 Six
    Thanks for the comments and rep

+ 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. Cell1 = Cell2 and Cell2 = Cell1
    By dej222 in forum Excel General
    Replies: 21
    Last Post: 03-29-2021, 02:58 AM
  2. Replies: 2
    Last Post: 02-10-2013, 05:54 PM
  3. [SOLVED] If Statements (?) - If Cell1 =yes then give -Cell2, If Cell1=no then give +Cell2
    By KTXD in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-02-2012, 12:24 AM
  4. if cell1 has a number from 0 to 10, then cell2 = cell1*1.15
    By georgei in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-05-2007, 11:28 PM
  5. Cell1 must be blank before cell2 can except date
    By Daniel in forum Excel General
    Replies: 1
    Last Post: 05-11-2006, 06:40 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