Forum Discussion
Calculating values in a row
- Jun 01, 2021
Change B3 to $B3 in the formula. This will "fix" the column letter B.
Unless there's some compelling reason to have the series of values in a row instead of a column, a very clean way to accomplish this ongoing series is to create a table, to which you can add values ad-infinitum (almost). And the formula can read very simply =AVERAGE(Table1[Values]) as shown in the image below. I've also attached the spreadsheet that I created to illustrate this approach.
- eingram25Jun 01, 2021Copper Contributor
I would have to redesign the spreadsheet.
- SergeiBaklanJun 01, 2021Diamond Contributor
- mathetesJun 01, 2021Silver Contributor
Yes. And (IMHO) you should redesign it. And it takes nothing more than a Copy.....Paste Special (in which you select the Transpose option). See the attached. Then just designate that an Excel Table. I've created a couple of averages in the attached.
In Excel, a database typically works better if each new row is added to the bottom. What you have is exactly that: a database. Many of the functions, although they can work with data arrayed as you have it, are more effectively deployed with the records stacked on top of one another. If you search through Google or YouTube for examples of people working in Excel with tables of data, you will find almost invariably--I'm confident in this--that the tables are arrayed vertically, not horizontally.
- eingram25Jun 02, 2021Copper ContributorThank you very much! I will try it. I/m going to start a new sheet by copying and transposing as you suggested