SOLVED

Does the column function spill?

%3CLINGO-SUB%20id%3D%22lingo-sub-2631829%22%20slang%3D%22en-US%22%3EDoes%20the%20column%20function%20spill%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2631829%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20goal%20here%20is%20to%20make%20a%20dynamic%20formual%20at%20the%20top%20of%20each%20column%2C%20that%20spill%20automatically%20based%20og%20number%20of%20columns.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEnglish%20translation%3A%3C%2FP%3E%3CP%3E%3DIF(C6%23%26lt%3B%26gt%3B%22%22%3BSUM(OFFSET(%24B%246%3B2%3BCOLUMN()-2%3BROWS(%24C%248%23)%3B1)))%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22column%20spill.PNG%22%20style%3D%22width%3A%20958px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F302162i45537187D7387CBE%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22column%20spill.PNG%22%20alt%3D%22column%20spill.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20does%20not%20change%20the%20value%20of%20Columd%20when%20it%20spills.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20i%20copy%20the%20Offset%20formula%20it%20does%20pick%20the%20right%20column.%3C%2FP%3E%3CP%3E%3DOffset(%24B%246%3B2%3BColumn()-2%3BROWS(%24C%248%23)%3B1)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20Reagdrs%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2631829%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-2631880%22%20slang%3D%22en-US%22%3ERE%3A%20Does%20the%20column%20function%20spill%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2631880%22%20slang%3D%22en-US%22%3EI%20cannot%20see%20IFS%20in%20my%20excel%202016.%20Could%20you%20advise%20what%20the%20problem%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2632058%22%20slang%3D%22en-US%22%3ERE%3A%20Does%20the%20column%20function%20spill%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2632058%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1124911%22%20target%3D%22_blank%22%3E%40LY_Sokphou%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%20an%20excample%20file.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20like%20to%20sum%20each%20column%20at%20the%20top.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%2FGeir%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2632313%22%20slang%3D%22en-US%22%3ERE%3A%20Does%20the%20column%20function%20spill%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2632313%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9195%22%20target%3D%22_blank%22%3E%40Geir%20Hogstad%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%3DMMULT(SEQUENZ(%2CROWS(H8%23))%5E0%2CH8%23)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2632411%22%20slang%3D%22en-US%22%3ERE%3A%20Does%20the%20column%20function%20spill%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2632411%22%20slang%3D%22en-US%22%3EThank%20you%20Detlef%2C%20this%20was%20brilliant.%3CBR%20%2F%3E%3CBR%20%2F%3E%2FGeir%3C%2FLINGO-BODY%3E
Regular Contributor

Hi,

 

The goal here is to make a dynamic formual at the top of each column, that spill automatically based og number of columns. 

 

English translation:

=IF(C6#<>"";SUM(OFFSET($B$6;2;COLUMN()-2;ROWS($C$8#);1)))

 

column spill.PNG

 

It does not change the value of Columd when it spills.

 

If i copy the Offset formula it does pick the right column.

=Offset($B$6;2;Column()-2;ROWS($C$8#);1)

 

Best Reagdrs

8 Replies
I cannot see IFS in my excel 2016. Could you advise what the problem?

@LY_Sokphou 

 

Here is an excample file. 

 

I would like to sum each column at the top.

 

/Geir

best response confirmed by Geir Hogstad (Regular Contributor)
Solution

@Geir Hogstad 

=MMULT(SEQUENZ(,ROWS(H8#))^0,H8#)

 

Thank you Detlef, this was brilliant.

/Geir
Hi Geri, I mean function “IFS” no found in my Microsoft excel 2016. Can you help to add it for me? I try to find most many way. But still no idea how to set it up for using.

Pls see my screenshot.
This point I am not sure.
I am sory. But this is beyong my skills. I Guess you should contact Microsoft support to get some help on this. Or google to see which version IFS is in.

/Geir