Ravindra BagaleCourses & study guides मराठी Track your progress

23. Formulas Across Sheets and Workbooks

Excel

23.1 Referencing Another Sheet

Imagine you are the reporting intern at a fictional grocery delivery company. Four city teams enter monthly sales in separate tabs because they close their books at different times. Your manager wants a single comparison for the Monday meeting. On Friday you copy Pune’s January amount into the report. On Monday the city lead corrects that amount. You can now see the corrected source, but the report still holds Friday’s number. A cell reference gives the report an instruction to read the approved amount from a specific place each time Excel calculates it.

One Excel file is a workbook. The tabs inside it are worksheets. The January tab can have a cell named B2 and the report tab can have a cell named B2 at the same time. Their addresses are local to their sheets, like two buildings that both have a room 202. A formula that mentions only B2 looks in its own worksheet. A formula that names the January worksheet first has enough information to distinguish the source room from the report room.

  • Read the report side and source side separately. Summary B2 is where the result belongs. Jan B2 is where the source amount lives.
  • Check the business identity before trusting the location. Verified row 2 means Pune on both sheets in this exercise. Excel will still read row 2 after someone changes its meaning.
  • Keep a linked working file and label any fixed handoff. A pasted value can be a useful approved snapshot if the report names its cutoff and scope.
Summary B2 displays the amount from Jan B2. The formula is equal sign, Jan, exclamation mark, B2. Jan B2 contains 412000 rupees.
Follow the report cell’s formula back to the approved January location. Both cells have the address B2 inside their own worksheets.

Read each piece of the instruction

In =Jan!B2, the equals sign tells Excel to evaluate a formula. Jan names the worksheet. The exclamation mark separates that name from the source address. B2 means column B and row 2 of Jan. Excel reads the value produced by that cell, whether the source amount was typed there or calculated there. The word Pune in a nearby cell gives you a human-readable check on what the amount represents. It would take a separate reference or rule to bring that label into the report.

Try saying the destination first whenever you guide someone through a correction. “In Summary B2, use Jan B2” gives two places and one direction of travel. “Put B2 in B2” asks the listener to guess. The report formula should live in Summary. If you enter a formula that points to Jan B2 in Jan B2 itself, you have made a calculation depend on its own result. Excel can flag a circular reference. Restore the January input and rebuild the formula from the report tab. Your first test is always where you started typing.

Build a link by clicking the source

  1. On the Summary tab, select B2 and type an equals sign. Leave the cell in formula-entry mode.
  2. Click the Jan worksheet tab and then click B2. Check both the row label and the column title while the source is visible.
  3. Press Enter to finish entering the formula. Return to Summary and select B2 if your client left the source tab visible.
  4. Read the report value and then look in the formula bar. You want 412000 as the underlying number and the formula pointing to Jan B2.
  5. If the value is plausible but different, compare all three pieces of evidence: destination, formula address, and the adjacent label of the source cell.

Clicking the source is especially useful for a worksheet name with spaces. A worksheet called January Sales can produce ='January Sales'!B2. The quotation marks around the sheet name are single straight apostrophes. Keep the exclamation mark outside them. The formula stores the worksheet name as part of a reference. Compare with a sheet name entered inside double quotes, which generally marks text inside a formula, such as the message "Review source". Select a known cell instead of guessing the escaping for a team’s irregular tab name.

With the fixture workbook, rename Jan to January Sales after creating the direct Summary formula. Excel normally adjusts a direct same-workbook worksheet reference when you use its Rename command. Confirm the new formula bar address and the unchanged underlying amount. A note that says “check Jan” remains whatever you typed into that note. A later lesson uses reference text built with INDIRECT and shows why the same rename test has a different result there. A direct reference and a text string can both mention the same tab while depending on the workbook in different ways.

Use a new workbook for practice. In each of Jan, Feb, and Mar, enter Outlet and Sales in A1 and B1, then enter the same four labels in A2 through A5. Type underlying whole rupee amounts with digits only. Apply a currency or number format after entry. You may see a different grouping style in your Excel locale, so use the full underlying number during an audit. These are fictional sales values in a fixed monthly summary, with one approved amount per outlet per month.

Monthly source data by outlet. Each month goes into its own worksheet column B.
Source rowOutlet in AJanFebMar
2Pune412000398000455000
3Nashik268000281000292000
4Nagpur231000244000239000
5Kolhapur189000176000201000

Separate addresses from reporting names

Add a Summary worksheet. Label column A Outlet, B Jan Sales, C Feb Sales, and D Change from Jan. Enter the outlet labels in exactly the source order. Good headers state the month and unit in words your reader understands. For a future quarter, using Jan again for January of a different year becomes ambiguous in a standalone export. Put the year and currency in the heading above the report or include them in the filename and the approved handoff. The cells still refer to short tab names for the workbook exercise.

Place these formulas in the named Summary locations. Enter the B and C formulas individually in row 2, since the source worksheet changes between columns. Copy each down to row 5, or select the completed B2:C2 pair and fill that whole pair down so both addresses advance together. Verify the last source on each side before writing the growth formula. Two references will produce two different amounts even though both source addresses end in B2.

Summary B2   =Jan!B2
Summary C2   =Feb!B2
Summary D2   =(C2-B2)/B2

Apply Percentage with one decimal place to D2:D5 after filling down. The plain growth formula is appropriate when both inputs are approved numeric amounts and January is positive. Pune’s absolute change is ₹398000 minus ₹412000, or −₹14000. Dividing by the January amount gives approximately −0.03398. The Percentage format presents this as −3.4%. The completed report still uses the underlying ratio for calculations, so a different display precision is a presentation choice. Entering *100 as well as formatting as a percentage would scale the displayed result twice.

Read a positive example alongside the decrease. Nashik starts at ₹268000 and moves to ₹281000. The change is ₹13000, about 4.8507% of its January base. Both cities move by a similar order of magnitude in rupees. They have different percentage changes because their January bases differ. The largest February balance and the strongest growth rate answer different questions. A heading that says “Change from Jan” makes the denominator choice visible to a reader who never looks at the formula.

Approved comparison with one displayed decimal place.
OutletJan to FebFeb to Mar
Pune−3.4%+14.3%
Nashik+4.9%+3.9%
Nagpur+5.6%−2.0%
Kolhapur−6.9%+14.2%

Separate the city and month control totals

For your first complete review, check February in two ways. The four city amounts should sum to ₹10,99,000. Then pick at least two named rows and compare each report value against its source label and amount. A month total detects a missing or extra amount when the changes fail to offset each other. A by-outlet check detects misplaced amounts, including rearrangements that leave the overall total exactly unchanged. Keep both controls. Add a short note about the checked rows and business cutoff if teammates will use the report later.

January sums to ₹11,00,000. February is one thousand rupees below January overall, roughly −0.091%. The four outlet rates above should not be averaged to obtain the combined rate because they have different January weights. When you want all-location growth, compute February total divided by January total minus one. Use that same comparison method on a small team expense report or a club’s sales table, even if the sheets use a different naming pattern. Totals, weights and row identities remain separate checks.

A copied relative address shifts by the distance between the old and new destinations. The explicit sheet name in this simple formula stays the same. Copying Summary B2 down to B3 gives =Jan!B3. Copying the same formula one column right into C2 would produce =Jan!C2. If Jan C2 is blank, the bad February formula could appear as a zero. Watch for an apparently successful fill that answered the wrong question. In the comparison, switch from Jan to Feb once and then fill each month down the rows.

Dollar signs pin pieces of the address when you copy. =Jan!$B2 keeps source column B and lets the source row advance, which is useful for repeating a verified source column on a second report area. =Jan!B$2 pins row 2, useful for copying across a source layout where the row means one metric and each column means another. =Jan!$B$2 keeps the one January target cell. Pinning B in two adjacent summary columns would still give you Jan column B both times. Worksheet selection is a separate decision from row and column positioning.

Copying an individual formula in Summary from B2.
Formula at B2Copy down to B3Copy right to C2
=Jan!B2=Jan!B3=Jan!C2
=Jan!$B2=Jan!$B3=Jan!$B2
=Jan!B$2=Jan!B$2=Jan!C$2
=Jan!$B$2=Jan!$B$2=Jan!$B$2

Perform Cut and Copy as distinct experiments

Make a separate worksheet named Reference Tests. Type =Jan!B2 in B2. Copy B2 to B3 and inspect the new formula. Next cut the original B2 and paste into F2 on the same worksheet. The moved formula keeps its reference to Jan B2. Use unused cells so the test doesn't replace your live report. A common support misunderstanding starts when one person says they “moved” a formula and actually copied it, then erased the original source cell. Ask which command they used and inspect the resulting text.

That experiment moves the cell that contains the formula. Moving a source cell is a different action. Some updates to source positions, such as insertions within a referenced region or a cut-and-paste of a referenced cell, can cause Excel to adjust existing references. Test a structural change on a workbook copy. Preserve the row labels and inspect the actual formula after the change. Dollar signs govern the relative adjustment of copies. They give no promise that your report will keep reading the old coordinates after every operation, and a fixed coordinate could itself become the wrong outlet after data rearrangement.

Predict what Excel reads before you click

  1. Start with a direct read

    Summary B2 points to Jan B2 and returns ₹412000. Write down the month, outlet, address and value. They form the test record for the next three steps.

  2. Advance the source row

    Copy B2 down by one row. Summary B3 points to Jan B3 and returns ₹268000 for Nashik. Confirm the label in the January tab before filling again.

  3. Advance the source column

    On a scratch tab, try copying the same formula right. It looks at Jan C2, which is blank in your fixture. A blank or zero tells you to check the address before drawing a sales conclusion.

  4. Choose February intentionally

    Use =Feb!B2 in Summary C2. It points to February’s Pune amount of ₹398000. Fill it down the outlet list and spot-check the final formula points to Feb B5.

A direct reference solves a location problem. It reads from the worksheet and cell you name. A reporting question often includes an identity problem as well. It asks for a particular city, customer, product or event whose location can shift. In this workbook each monthly tab started with the same approved row order. If a February analyst arranges the amounts by a different order while preserving each outlet and amount pair, the Summary formulas still read their original coordinates. Every returned amount might be a real sales amount and yet some will be attached to the wrong city.

Original February B2 is 398000 for Pune. When Nashik and Pune trade row positions, February B2 becomes 281000 for Nashik while Pune’s 398000 moves to B3.
After the February rows change order, the formula address stays valid. Compare the outlet beside that address to catch the mismatch.

Make the silent mistake on a copy

In a separate workbook copy, edit Feb A2:B3 so row 2 contains Nashik and 281000, and row 3 contains Pune and 398000. Type the four changed cells rather than cutting and pasting referenced ranges. The latter may update references and would make this a different test. Return to Summary. The value paired with the Pune label becomes ₹281000, which would imply −31.8% growth from ₹412000. The old February month total remains ₹10,99,000. If your KPI checked only the sum, it would pass while the report steered attention to the wrong city.

Add a status check in an unused Summary column, such as H. Its purpose is to confirm that each source label beside the amount matches the outlet label expected on the report. Fill the formula down as you previously filled the sales links. With the original inputs, all four results should say Matched. With the controlled reorder, the first two rows should say Check source labels. The status gives you a specific place to investigate. It cannot prove that a human typed the right amount next to that label. Keep opening and closing controls for the source as well.

=IF(AND(Jan!A2=$A2,Feb!A2=$A2),"Matched","Check source labels")

If your monthly tabs can legitimately sort differently, use an exact outlet-key match from a verified unique list. The simple sample below checks that the outlet appears once in February, then uses a conditional sum to retrieve its one amount. It assumes the four printed outlet labels and already verified numeric input. SUMIF adds every matching amount, which is why the count gate matters. If a future dataset uses keys that can contain wildcard characters, build a literal match using a method appropriate for those keys instead of assuming this exact workbook formula generalizes unchanged.

=IF(COUNTIF(Feb!$A$2:$A$5,$A2)=1,SUMIF(Feb!$A$2:$A$5,$A2,Feb!$B$2:$B$5),"Review outlet")

The intended difference between the direct link and the matched result appears immediately in the reordered example. The direct reference yields ₹281000 for the report’s first row. The keyed result locates Pune and returns ₹398000. Adding a second Pune row causes the formula to request review rather than returning a silent sum. In a source of transactions where many orders per city are expected, summing all valid matching rows would be appropriate. First state what one source row represents. Matching one monthly total per outlet has a different rule from summing a list of orders.

Keep missing inputs visible before calculating growth

Clear Feb B2 in another copy with the original labels restored. A simple direct reference to an empty cell commonly yields zero in this numeric setting. The report could appear to say that the outlet lost all its sales. Type an actual zero into Feb B2 and the plain formula also yields zero. That is a different business event. Have the source owner confirm whether a month is missing or was measured as zero. To preserve this distinction, test the original source cell before the plain link collapses the two cases into the same report value.

=IF(ISNUMBER(Feb!B2),Feb!B2,"Review source")
=IF(AND(ISNUMBER(Jan!B2),ISNUMBER(Feb!B2)),IF(Jan!B2>0,Feb!B2/Jan!B2-1,"No positive Jan baseline"),"Review source")

Read the first growth test as “Are both monthly inputs numeric?” With a genuinely blank input or numeric-looking text, the result is Review source. With January positive and February measured at zero, the ratio is minus one and displays as −100.0%. With January at zero, the second test returns No positive Jan baseline because there is no positive starting denominator. A later reporting decision may define a special starting-from-zero label. Keep the absence of a growth rate visible so a chart or export can handle that row deliberately. Numeric format changes display and cannot by itself repair a source stored as text.

Lab 1. Build a report and prove it reads its source

  1. Construct the Jan, Feb, and Mar tabs and the Summary area from the four rows above. Save one untouched practice baseline before testing changes.
  2. Enter and fill the separate direct source formulas. Verify Summary B5 points to Jan B5 and shows ₹189000. Verify C5 points to Feb B5 and shows ₹176000.
  3. Compute and format January-to-February growth. Pune should display −3.4% and Nashik 4.9%. The comparison table shows plus signs to identify increases; Excel’s ordinary percentage format may omit the plus sign.
  4. In a spare column, gather March values with =Mar!B2 and fill down. Compare March against February. Pune should now show roughly +14.3% and Nagpur −2.0% for that interval.
  5. On a test copy, put the current Summary C2 number into a spare cell using Paste Special Values. In Feb B2 replace 398000 with 400000. The linked C2 should now read 400000 when Excel calculates. The pasted cell should remain 398000.
  6. Recompute February totals. The changed controls report ₹11,01,000 and a ₹2000 increase from the original amount. Only the Pune row and dependent total comparison should change if every other input stays fixed.
  7. Restore 398000 or return to your baseline. Document the cell pair, before and after amounts, and what you proved. Keep your draft evidence separate from the published monthly comparison.

The update in the exercise is easy to spot because you chose it in advance. In a busy report, log a single intended source edit with a known expected change, then trace it through the linked report. If the formula bar still shows the previous amount as a literal, inspect whether the cell contains a value. If it displays the formula text on the grid, check display and entry settings before retyping everything. If the formula still points to the right target and looks stale, inspect calculation mode in an Excel client that exposes it and recalculate the test workbook. A saved copy with the old number can also be the explanation, so confirm the workbook name first.

Lab 2. Test names, positions and source quality independently

  1. In a copy, rename Jan to January Sales. Confirm Summary B2 still shows ₹412000 and the source name in the direct reference now reflects the rename with the necessary quotes. Restore Jan before the next tasks.
  2. On Reference Tests demonstrate Copy down and Cut to F2 separately. Check that the copied result reads ₹268000, and the moved result still reads ₹412000.
  3. Perform the controlled February reorder using the two full outlet and amount pairs. Verify that the label status requests review for Pune and Nashik. Verify a matching rule returns ₹398000 for Pune. Confirm the total alone stays unchanged.
  4. Restore the February rows. Try a blank in Feb B2, then a numeric zero, then a text entry such as '398000. The guarded growth result should give Review source, −100.0%, and Review source respectively.
  5. Restore February’s amount. Try zero in Jan B2 while February stays numeric. Expect No positive Jan baseline. Add a note beside the test so another student can reproduce the order of changes.
  6. Close or discard the modified copy and reopen the untouched comparison. Confirm the original links and the expected four growth values. File-based isolation makes repeated practice easy.

Discuss how much of this technique to reuse next month

Direct cell links work well for a shared template with a documented layout and a short list of approved targets. Each replacement month must preserve the position, unit and purpose of each linked cell. If a new teammate inserts a comments row in January or reorganizes cities in February, someone should review the changed workbook before treating the report as ready. Copying a template and renaming its tab will also produce a fresh new sheet. Inspect which object your existing formula points to before assuming it has shifted to the new month.

An event club could use the same pattern for one ticket count sourced from a controlled Summary tab. A campus store with hundreds of transactions would benefit from a criteria-based report over the order list. A student intern could justify either approach by drawing the reference path and naming a predictable verification. A teammate who only needs one signed-off number can use a dated fixed export while the working workbook continues to track approved changes. Choose a method your colleague can validate after you leave.

Give the reader a unit and a definition

Suppose your store lead asks whether Pune “dropped by fourteen thousand.” Your workbook can answer three more precise questions. What February number did the team approve? How much lower is that than January in rupees? What fraction of January’s amount was lost? Label them Feb Sales, Change in Sales, and Change from Jan. A cell can display a number with a rupee sign or a percentage sign while the heading tells the reader how the calculation was built. Add the date range and scope once above the table. Someone taking a screenshot of one row can then answer which months and locations were compared.

Before copying any formula, read B1 on both monthly sheets. February’s source worksheet might have been imported in thousands of rupees while January has whole rupees. A reference does not convert units. If one team reports 398 in thousands and the other reports 412000 in whole rupees, comparing them directly suggests a drop of almost 100%. Normalize the unit in a labeled staging column or have both teams use one approved unit before making the links. In the practice workbook the entries 398000 and 412000 are already in the same unit, so the comparison can proceed without conversion.

  • Rupee change. Subtract the earlier period from the later period. The amount −14000 expresses a gap in the same unit as the original sales figures.
  • Relative change. Divide that gap by the starting amount. A person reading the percentage can compare movements across outlets of different sizes.
  • Index. Divide the later amount by the starting amount. Pune is approximately 96.6% of its base in February. This communicates the level retained, whereas −3.4% communicates the decrease.
  • Month-share change. Divide each outlet’s sales by the total of its own month first. Subtract those shares only if a reader asked whether the sales mix changed. State differences between percentages in percentage points.

Calculate Pune’s sales mix as a separate practice cell. January’s share is 412000 divided by 1100000, about 37.45%. February’s share is 398000 divided by 1099000, about 36.21%. The change is approximately −1.24 percentage points. That can coexist with the −3.4% change in Pune’s own sales because each number uses a different denominator. Write the formula in words before using reference addresses. This connects a formula that works in Excel to the decision the manager actually asked you to make.

Record known observations in a spare evidence grid

Create a spare sheet called Evidence with columns Test, Expected, Observed, and Result. Put a handful of independently known values in Expected as review evidence, separate from the linked report. A number that is written down in advance gives someone an immediate check after a workbook changes. Put the independently verified January total of 1100000 in one row, the expected original February total of 1099000 in a second, and the approved February Pune amount of 398000 in a third. If an Expected cell contains a formula that pulls the same wrong number from the same wrong source as Observed, both columns may still agree. Give the comparison a separate point of evidence.

Use this grid when one test rather than the entire report fails. If all months fail, first inspect whether the workbook copy and any approved cutoff are correct. If only Kolhapur fails, inspect the final row in A and B on each source and the filled formulas in the same report row. If the whole February total passes while Pune fails, inspect city associations first. If only a growth cell fails while the two inputs agree, recalculate the denominator by hand with the known amounts. A test result should narrow down where to look next.

Observe whether the same failure affects the address, input, or calculation.
ObservationNext checkSuccessful repair
All February rows are zeroLook at the shared sheet and column in the first two formulas.Each formula reads column B on Feb.
Pune and Nashik look reversedVerify the labels beside the source addresses.Each amount returns to its approved outlet.
February totals match but the ratio is offReview the starting amount and percent formatting.Pune’s decline shows around 3.4%.
The previous value persists after a source correctionCheck workbook identity, formula bar, and calculation.The linked cell tracks the intended test edit.

Follow the formula bar even when cell formatting hides the distinction. Someone may use a custom number format that displays zeros as a dash, or the worksheet may show zeros as blank. A dash is visual evidence about the report’s display style. Decide whether it came from a typed zero, a missing source, a guarded formula, or another rule. Comparing to the source type and expected amount settles the meaning. This matters if you later use the result to decide which outlet needs follow-up.

Hand off the calculation and the policy as separate notes

In a working comparison, state that monthly input tabs use one row per approved outlet and that the initial report links by matching row positions. Add a policy line that growth is available for a positive, approved numeric baseline. Create an explicit missing-input count or review list before release if your layout can contain empty or text inputs. A total over a column may ignore textual status messages, which is convenient for raw arithmetic and risky when a reader expects full coverage. Report the number of approved rows along with the sum whenever some entries remain under review.

For a fixed handoff, keep the live file and create a clearly dated separate deliverable with the approved figures and cutoff. Check that the static output matches the signed-off baseline and that the next report uses the original live template. If another person plans to work with your workbook, include one controllable test such as updating a copy of the Pune January amount and watching the linked cell change. Provide a specific restoration step too. That way the recipient can learn how the report works without altering its approved inputs.

Quiz

What does the exclamation mark mean in =Feb!B2?

It separates the worksheet name from the address on that worksheet. On the original test data, reading B2 of Feb returns 398000. The same B2 address on Jan returns 412000.

Is a plain reference to an empty source reliable evidence of zero sales?

A direct read can show zero for an empty source. Validate the original input, for example using ISNUMBER under this report’s numeric policy. A measured numeric zero passes the test whereas a truly empty source does not.

Where does copying =Jan!$B2 one cell right point?

It still points to Jan B2. The column is pinned and there was no vertical shift. Copying it down one row advances the row to 3.

February’s total is unchanged after the reorder. Is the report correct?

The sum still matches, but the first two outlet positions have moved. Compare the labels beside the linked cells or use an exact unique key. Location and identity are separate tests.

Should Pune’s percent change divide by 398000 or 412000?

Use 412000, the starting January amount. The rupee difference is −14000, so the decline is about 3.4% of the starting amount.

Interview questions and answers

Explain a cross-sheet reference to a manager.

The report cell points to the approved amount on a named tab in the same file. Show the destination, the formula bar, and the labeled source. Change one test amount on a copy so the manager can distinguish the live relationship from a static copied number.

Which parts can change when a direct reference is copied?

The row and column can shift with the offset. Dollar signs control that relative behavior. The explicit Jan tab in a simple single-cell reference stays Jan, so a horizontal fill cannot produce a month sequence by itself.

What happens when a tab is renamed?

For a direct reference in the same workbook, Excel normally updates the reference when its Rename command changes the tab. Check the formula and value after a change. Text instructions and strings interpreted later as addresses require their own tests.

How would you investigate a surprising decline with a matching total?

Open both source tabs and compare the label adjacent to each addressed amount. Reordering can preserve the sum and invalidate the row associations. Verify one approved row per outlet if you replace the links with a keyed lookup or guarded conditional sum.

When is a pasted value suitable?

A snapshot makes sense when recipients need one approved historical figure and a known cutoff. Preserve the working link elsewhere. Record the workbook version or approved period so the later reader can tell what the number represents.

Revision cards

  • Two coordinates. Destination holds the formula. A named worksheet and cell address describe the source.
  • Source name. Click the tab to let Excel generate the correct notation when the name contains spaces.
  • Copy Down. A relative source row advances when a report formula is copied down.
  • Growth base. Change from a month divides by the starting month’s measured amount.
  • Identity check. Compare outlet labels beside the referenced cells, even when totals reconcile.
  • Measurement status. Verify numeric inputs before treating a returned zero as a measured business result.

Continue to referencing ranges on another sheet when you need all purchases from one city instead of one approved monthly value. Use the Excel Practice Task Hub to revisit relative references and formula tracing.

Microsoft references