A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi, I found a solution that works. I used the Address function with Indirect function.
=SUMPRODUCT(INDIRECT(B496),INDIRECT(B497))
where in B496 I have:
=ADDRESS(5,Summaries!B494,,,"Macro Status")&":"&ADDRESS(74,Summaries!B494)
(I am referring to rows 5 to 74)
and in B497 I have:
=ADDRESS(5,Summaries!B495,,,"Macro Status")&":"&ADDRESS(74,Summaries!B495)
B494 and B495 hold the column numbers that I want to use.
regards,
Yuval