• 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.

Dynamic headers in table

farrusete

Member
Hi,

Im trying to sum columns from a table based on values in different cells. Something like =SUM(Table1["Invoicing "&B16&"-"&C15])

Is this possible? (excel attached)

Thank you in advance
 

Attachments

  • test.xlsx
    12.1 KB · Views: 0
You're on the right track. You were looking for the INDIRECT function, which lets you build a string which XL then interprets as a range. formula in C16 would be:
=SUM(INDIRECT("Table1[Invoicing "&$B16&"-"&RIGHT(C$15,2)&"]"))
 
Back
Top