Skip to main content

Sum a cell through several Worksheets



You have 12 identical worksheets, one for each month. You would like to summarize each worksheet. Is there a better way than using =Jan ! B4 + Feb! B4+Mar! B4+Apr! B4…?

Solution: You can use a 3-D formula such as =SUM(Jan:Dec!B4), as shown in Figure 41.

Figure 41. A 3-D formula adds up all instances of B4 on the 12 sheets from Jan through Dec.

Figure 41. A 3-D formula adds up all instances of B4 on the 12 sheets from Jan through Dec.

Late-breaking Tip: To add up cell B4 on all the worksheets with Sales in the sheet name, type =SUM(‘*Sales’!B4) and press Enter.

If the first or last worksheet contains a space in the name, you have to use apostrophes around the pair of worksheet names: =SUM(‘Jan 2009: Dec 2009’!B4).

You can easily copy this formula to other cells on the summary worksheet. Gotcha: Do not drag the summary worksheet to appear after the Jan worksheet, or you will set up a circular reference.

Additional Details: It is possible to set up a named range that refers to a 3-D range. Here is an interesting way to set up a named range:

  1. Go to cell B4 on the Jan worksheet.
  2. Select Insert, Name, Define.
  3. The Refers To box contains =Jan!B4. Click in the box. Hold down the Shift key. Click on the Dec worksheet. The Refers To box changes to =Jan:Dec!B4.

Comments

Popular posts from this blog

Metabase - Open Source BI tool

 Metabase          Metabase is a business software suite and open source business intelligence framework. It allows users to store data about their business or a specific aspect of their business for their analytics in a secure data source. This intuitive software is designed to allow users to ask questions about their data and access answers that reduce jargon and code, making it very user-friendly and ideal for professionals who want to visualize their business’s data accurately                    Install in docker https://github.com/punitprabhu/MetabaseNew.git         Excecute in CLI docker run -d -p 3000:3000 --name metabase metabase/metabase         Host http://localhost:3000 ,           http://localhost:3000/browse/1-sample-database                         ...

Quantum Computing

  Quantum computing is a new kind of computing that uses the laws of quantum physics to solve certain problems much faster than classical computers.  It doesn’t replace your laptop but can tackle very complex simulations, optimization, and cryptography‑style tasks that are intractable for ordinary machines.  *** ### What is quantum computing? Quantum computing is a computing paradigm that uses quantum‑mechanical phenomena—like superposition, entanglement, and interference—to represent and process information in new ways. Instead of classical bits (0 or 1), quantum computers use **qubits**, which can be in a mix of 0 and 1 at the same time, enabling parallel computation.  *** ### Classical bits vs. qubits - A **classical bit** is either 0 or 1; operations are deterministic and sequential.  - A **qubit** can be 0, 1, or any quantum “blend” of both, written as $$ \alpha|0\rangle + \beta|1\rangle $$, where $$ \alpha $$ and $$ \beta $$ are complex numbers capturing p...

How to Choose a BI tool

 How to choose a BI Tool                                          In the process of choosing a Business Intelligence (BI) tool, here is a list of seven key capabilities that are recommended to consider. These capabilities will help you evaluate and select the best BI tool that aligns with your specific business criteria and goals:                            Data integration              Data management              Data warehouse              Data analysis              Data visualization              Automation              Data security              Licensing Cost...