• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Sum alternating cells linked to other workbook

Kimber

Member
I have a worksheet that is populated from another workbook and has two total columns. There are two columns for each period -- quantity and dollars -- for each period, so the total columns correspond to the appropriate column periods. The sum formulas work if data is in the same workbook, but I get an error message (#VALUE!) if linked to another workbook. I've tried formulas using SUMIF and SUMPRODUCT with ISNUMBER unsuccessfully. Sample attached.
 

Attachments

  • 20171120 Forum thread-Sum alternating cells linked to other workbook.xlsx
    12.8 KB · Views: 5
Hi ,

I am not sure I have understood you , but try these two array formulae , to be entered using CTRL SHIFT ENTER.

=SUM(N(OFFSET($A$3,,2*(COLUMN($A$3:$L$3)-MIN(COLUMN($A$3:$L$3))))))

=SUM(N(OFFSET($B$3,,2*(COLUMN($B$3:$L$3)-MIN(COLUMN($B$3:$L$3))))))

Narayan
 
Hi ,

I am not sure I have understood you , but try these two array formulae , to be entered using CTRL SHIFT ENTER.

=SUM(N(OFFSET($A$3,,2*(COLUMN($A$3:$L$3)-MIN(COLUMN($A$3:$L$3))))))

=SUM(N(OFFSET($B$3,,2*(COLUMN($B$3:$L$3)-MIN(COLUMN($B$3:$L$3))))))

Narayan

Thank you, Narayan. I was not able to get this to work for me on this sheet. However, Bosco's solution was successful. Thank you so much for taking time to respond to my request for help.
 
Back
Top