Home

Formula in a table : use structures reference vs pointing to a cell

%3CLINGO-SUB%20id%3D%22lingo-sub-327836%22%20slang%3D%22en-US%22%3EFormula%20in%20a%20table%20%3A%20use%20structures%20reference%20vs%20pointing%20to%20a%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-327836%22%20slang%3D%22en-US%22%3E%3CP%3Ehello%2C%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20struggling%20to%20find%20my%20solution%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3EI'm%20using%20a%20table%2C%20and%20making%20calculation%20in%20it%20%3A%26nbsp%3B%3C%2FP%3E%3CP%3EA%20%2F%20B%20%2F%20C%20%2F%20D%20%2F%20E%20%2F%20F%20%2F%20G%20%2F%20H%20%2F%201%20%2F%202%20%2F%203%20%2F%204...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20like%20to%20make%20a%20formula%20doing%20%3A%20(%24%20means%20keep%20the%20same%20column%20as%20in%20%24A1)%3C%2FP%3E%3CP%3Etyping%20in%20column%20C%20%3D%20%24A%20*%20%24B%20*%201%3C%2FP%3E%3CP%3Eand%20when%20copying%20or%20draging%20the%20formula%20from%20C%20to%20H%20get%20automatically%3A%3C%2FP%3E%3CP%3Ein%20column%20E%20%3D%26nbsp%3B%24A%20*%20%24B%20*%202%3C%2FP%3E%3CP%3Ein%20column%20F%20%3D%26nbsp%3B%24A%20*%20%24B%20*%203%3C%2FP%3E%3CP%3Ein%20column%20G%20%3D%26nbsp%3B%24A%20*%20%24B%20*%204%3C%2FP%3E%3CP%3E...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20I%26nbsp%3B%20type%20in%20column%20C%20%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3D%5B%40A%5D*%5B%40B%5D*%5B%401%5D%20then%20if%20I%20copy%20the%20cell%20C%20in%20the%20cell%20D%20I%20get%20%3A%26nbsp%3B%3D%5B%40A%5D*%5B%40B%5D*%5B%401%5D%20so%20it%20keeps%20A%20and%20B%20as%20I%20want%2C%20but%20takes%201%20instead%20of%202%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20I%26nbsp%3B%20type%20in%20column%20C%20%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3D%5B%40A%5D*%5B%40B%5D*%5B%401%5D%20then%20if%20I%20drag%20the%20cell%20C%20in%20the%20cell%20D%20I%20get%20%3A%20%3D%5B%40B%5D*%5B%40C%5D*%5B%402%5D%20so%20it%20takes%202%20into%20account%20but%20don't%20keep%20A%20and%20B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20I'm%20clear%20enough%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20idea%20please%20%3F%20thanks%20for%20any%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-327836%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-328142%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20in%20a%20table%20%3A%20use%20structures%20reference%20vs%20pointing%20to%20a%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-328142%22%20slang%3D%22en-US%22%3E%3CP%3EEach%20of%20us%20constantly%20finds%20something%20new%20in%20Excel%2C%20it's%20infinite%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-328108%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20in%20a%20table%20%3A%20use%20structures%20reference%20vs%20pointing%20to%20a%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-328108%22%20slang%3D%22en-US%22%3E%3CP%3E**bleep**%20soo%20easy%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20been%20looking%20for%20this%20solution%20for%20a%20long%20time%20!%20great%20thanks%20Sergei%20!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-328078%22%20slang%3D%22en-US%22%3ERe%3A%20Formula%20in%20a%20table%20%3A%20use%20structures%20reference%20vs%20pointing%20to%20a%20cell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-328078%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20may%20use%3C%2FP%3E%0A%3CPRE%3E%3D%5B%40%5BA%5D%3A%5BA%5D%5D*%5B%40%5BB%5D%3A%5BB%5D%5D*%5B%401%5D%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
KAumjaudAtos
New Contributor

hello, 

I'm struggling to find my solution :-)

I'm using a table, and making calculation in it : 

A / B / C / D / E / F / G / H / 1 / 2 / 3 / 4...

 

I would like to make a formula doing : ($ means keep the same column as in $A1)

typing in column C = $A * $B * 1

and when copying or draging the formula from C to H get automatically:

in column E = $A * $B * 2

in column F = $A * $B * 3

in column G = $A * $B * 4

...

 

If I  type in column C : 

=[@A]*[@B]*[@1] then if I copy the cell C in the cell D I get : =[@A]*[@B]*[@1] so it keeps A and B as I want, but takes 1 instead of 2

 

If I  type in column C : 

=[@A]*[@B]*[@1] then if I drag the cell C in the cell D I get : =[@B]*[@C]*[@2] so it takes 2 into account but don't keep A and B

 

I hope I'm clear enough :-)

 

Any idea please ? thanks for any help.

 

 

3 Replies

You may use

=[@[A]:[A]]*[@[B]:[B]]*[@1]

**bleep** soo easy :-) 

I've been looking for this solution for a long time ! great thanks Sergei !!

Each of us constantly finds something new in Excel, it's infinite

Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
23 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies