SOLVED

Problems whit the function Count.If for correlatives

%3CLINGO-SUB%20id%3D%22lingo-sub-107984%22%20slang%3D%22en-US%22%3EProblems%20whit%20the%20function%20Count.If%20for%20correlatives%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-107984%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20i%20have%20a%20problem%20whit%20this%20function.....%20i%20have%20a%20table%20and%20in%20the%20first%20column%20i%20want%20a%20correlative%20that%20count%20the%20number%20of%20times%20that%20a%20cod_id%20exist%20in%20another%20column%20but%20in%20the%20specific%20row%20that%20im%20working....%20so%20i%20used%20this%20function%3A%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%22image.png%22%20style%3D%22width%3A%20401px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F20356i4CFE95F61FFCD7D5%2Fimage-dimensions%2F401x216%3Fv%3Dv2%22%20width%3D%22401%22%20height%3D%22216%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ebut%20when%20i%20add%20another%20cod_id%20and%20the%20table%20create%20the%20new%20row%20the%20funcion%20have%20a%20automatic%20change.%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20242px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F20357iF4AB5DC5B656261B%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Ethe%20c10%20must%20to%20be%20c9%20but%20it%20changed%20automaticly....%20please%20Help!!!!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-107984%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20%26amp%3B%20Functions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETips%20and%20Tricks%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-108018%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20whit%20the%20function%20Count.If%20for%20correlatives%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-108018%22%20slang%3D%22en-US%22%3EThanks%2C%20i%20was%20frustrated%20whit%20this%20problem%2C%20but%20the%20link%20works%20very%20well!!!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-108007%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20whit%20the%20function%20Count.If%20for%20correlatives%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-108007%22%20slang%3D%22en-US%22%3E%3CP%3EJust%20check%20the%20video%20and%20the%20link.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-108005%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20whit%20the%20function%20Count.If%20for%20correlatives%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-108005%22%20slang%3D%22en-US%22%3EThanks%20for%20answer%2C%20and%20dont%20you%20know%20how%20can%20i%20do%20that%20correlative%2C%20maybe%20whit%20another%20function%20en%20VBA%20or%20a%20sub.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-108001%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20whit%20the%20function%20Count.If%20for%20correlatives%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-108001%22%20slang%3D%22en-US%22%3E%3CP%3EDiego%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethere%20is%20a%20bug%20with%20expanding%20ranges.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CDIV%20class%3D%22video-embed-center%20video-embed%22%3E%3CIFRAME%20class%3D%22embedly-embed%22%20src%3D%22https%3A%2F%2Fcdn.embedly.com%2Fwidgets%2Fmedia.html%3Fsrc%3Dhttps%253A%252F%252Fwww.youtube.com%252Fembed%252F8ULqiRDG48M%253Ffeature%253Doembed%26amp%3Bdisplay_name%3DYouTube%26amp%3Burl%3Dhttps%253A%252F%252Fwww.youtube.com%252Fwatch%253Fv%253D8ULqiRDG48M%26amp%3Bimage%3Dhttps%253A%252F%252Fi.ytimg.com%252Fvi%252F8ULqiRDG48M%252Fhqdefault.jpg%26amp%3Bkey%3Db0d40caa4f094c68be7c29880b16f56e%26amp%3Btype%3Dtext%252Fhtml%26amp%3Bschema%3Dyoutube%22%20width%3D%22200%22%20height%3D%22112%22%20scrolling%3D%22no%22%20title%3D%22YouTube%20embed%22%20frameborder%3D%220%22%20allow%3D%22autoplay%3B%20fullscreen%22%20allowfullscreen%3D%22true%22%3E%3C%2FIFRAME%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fwww.excelandaccess.com%2Frunning-total-in-an-excel-table%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ERunning%20Total%20in%20a%20Microsoft%20Excel%20Table%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi, i have a problem whit this function..... i have a table and in the first column i want a correlative that count the number of times that a cod_id exist in another column but in the specific row that im working.... so i used this function:

 

image.png

 

but when i add another cod_id and the table create the new row the funcion have a automatic change.image.png

the c10 must to be c9 but it changed automaticly.... please Help!!!!!

4 Replies
best response confirmed by Diego Armando Segovia Guatemala (New Contributor)
Solution

Diego,

 

there is a bug with expanding ranges.

 

Running Total in a Microsoft Excel Table

Thanks for answer, and dont you know how can i do that correlative, maybe whit another function en VBA or a sub.

Just check the video and the link.

 

Thanks, i was frustrated whit this problem, but the link works very well!!!