+ Reply to Thread
Results 1 to 7 of 7

Summing alternate columns, with formulas in the cells

  1. #1
    Registered User
    Join Date
    01-17-2007
    Location
    Downunder NZ
    MS-Off Ver
    MS Office 365
    Posts
    82

    Summing alternate columns, with formulas in the cells

    How can I sum columns if the cells are formulas, such as

    D3 =F3+H3+J3+L3+N3+P3
    Where the following cells are:
    Cell F3 =IF(ISNA(RANK(E3,E$3:E$62,1)),"",RANK(E3,E$3:E$62,1))
    Cell H3 =IF(ISNA(RANK(G3,G$3:G$62,1)),"",RANK(G3,G$3:G$62,1))
    Cell J3 =IF(ISNA(RANK(I3,I$3:I$62,1)),"",RANK(I3,I$3:I$62,1))
    Cell L3 =IF(ISNA(RANK(K3,K$3:K$62,1)),"",RANK(K3,K$3:K$62,1))
    Cell N3 =IF(ISNA(RANK(M3,M$3:M$62,1)),"",RANK(M3,M$3:M$62,1))
    Cell P3 =IF(ISNA(RANK(O3,O$3:O$62,1)),"",RANK(O3,O$3:O$62,1))

    Thanks for your help.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Summing alternate columns, with formulas in the cells

    Your question is not very clear. Can you try explaining again?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    01-17-2007
    Location
    Downunder NZ
    MS-Off Ver
    MS Office 365
    Posts
    82

    Re: Summing alternate columns, with formulas in the cells

    I would like to sum

    D3 =F3+H3+J3+L3+N3+P3

    Where the cells F3, H3, J3, N3 & P3 are the results of a formula.

    Does this explain it better.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Summing alternate columns, with formulas in the cells

    Are you getting any error when you attempt to sum them? Even if F3, H3, etc should have formulae in them, you should be able to sum them in D3 the normal way.

  5. #5
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Summing alternate columns, with formulas in the cells

    Assuming that your problem is that the formulas convert numbers to text you could try multiplying all result by 1 and i.e D4=F3*1, D5=H3*1 and so fort. Then sum D4 to D9 in D3.

    Alf

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Summing alternate columns, with formulas in the cells

    rank will be a number!
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

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

    Re: Summing alternate columns, with formulas in the cells

    @Sloop
    You refer to use SUM or other function rather than "+"?
    like this SUM(E3:P3) subtract columns E,G,I,K,M,O ?
    If yes,
    Please Login or Register  to view this content.
    Quang PT

+ 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