A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
I have a range of data named data_6120 and the column to sum is named datasum_6120 where 6120 is an account number.
As I have several account numbers, I would like to have the account number in B2. And write the formula in b4 as sumif("data_"&b2,a4,"datasum_"&b2). If a simple ="data_"&b2 brings back data_6120, how do I make the sumif dynamic? The criteria in cell A4 will always be static and a range name exists for each account number.
Try this formula:
=SUMIF(INDIRECT("data_"&B2),A4,INDIRECT("datasum_"&B2))
Hope this helps / Lars-Åke