Help finding a formula in Excel

%3CLINGO-SUB%20id%3D%22lingo-sub-3074821%22%20slang%3D%22en-US%22%3EHelp%20finding%20a%20formula%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3074821%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20everyone%2C%20I'm%20looking%20for%20a%20formula%20that%20allows%20me%20to%20obtain%20the%20sums%20of%20the%20values%20of%20the%20same%20type%20present%20in%20columns%20once%20some%20cells%20of%20the%20corresponding%20rows%20are%20selected.%3C%2FP%3E%3CP%3EI%20am%20attaching%20the%20screenshot%20of%20my%20Excel%20file%3A%20how%20can%20I%20get%20the%20sums%20of%20the%20cells%20of%20the%20columns%20E%3AH%20in%20AX130%3A%20AX133%20if%20I%20insert%20F%20in%20AX%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThese%20summations%20must%20occur%20every%20time%20I%20insert%20F%20on%20the%20columns%20of%20the%20calendar%20that%20I%20am%20creating.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%20for%20the%20help!%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%22esempio.JPG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343170iC65B8F2222EE22B5%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22esempio.JPG%22%20alt%3D%22esempio.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3074821%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3075247%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20finding%20a%20formula%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3075247%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1289366%22%20target%3D%22_blank%22%3E%40marcinjudzinski%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20AX130%3A%3C%2FP%3E%0A%3CP%3E%3DSUMIF(M5%3AM129%3B%22F%22%3BE5%3AE129)%3C%2FP%3E%0A%3CP%3EIn%20AX131%3A%3C%2FP%3E%0A%3CP%3E%3DSUMIF(M5%3AM129%3B%22F%22%3BF5%3AF129)%3C%2FP%3E%0A%3CP%3Eetc.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi everyone, I'm looking for a formula that allows me to obtain the sums of the values of the same type present in columns once some cells of the corresponding rows are selected.

I am attaching the screenshot of my Excel file: how can I get the sums of the cells of the columns E:H in AX130: AX133 if I insert F in AX?

 

These summations must occur every time I insert F on the columns of the calendar that I am creating.

 

Thanks in advance for the help!

 

esempio.JPG

2 Replies

@marcinjudzinski 

In AX130:

=SUMIF(M5:M129;"F";E5:E129)

In AX131:

=SUMIF(M5:M129;"F";F5:F129)

etc.

grazie @Hans Vogelaar

 

The formula worked and I changed it in the final part by setting $ in the "E5: E129" field in order to drag the formula and fix that area.