Text is not Text in Excel even the cell format is text

%3CLINGO-SUB%20id%3D%22lingo-sub-1902275%22%20slang%3D%22en-US%22%3EText%20is%20not%20Text%20in%20Excel%20even%20the%20cell%20format%20is%20text%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1902275%22%20slang%3D%22en-US%22%3E%3CP%3EBy%20copy%20data%20from%20another%20excelsheet%20i%20have%20a%20problem%20that%2C%20even%20the%20cells%20is%20text%20format%20Excel%20see%20it%20is%20not%20the%20same%20format.%20So%20if%20you%20make%20a%20pivot%20table%20de%20data%20gives%20an%20other%20position.%20I%20copy%20with%20copy%20values%20it%20is%20not%20the%20solution.%20Olso%20i%20change%20the%20cell%20format%20for%20the%20wrong%20cells%20in%20text%20format%20but%20is%20olso%20not%20the%20solution.%20Only%20by%20open%20the%20cell%20and%20close%20the%20cell%20by%20type%20F2%20and%20then%20Enter%20the%20text%20will%20be%20equal%20to%20the%20other%20text%20cells.%20I%20have%20to%20much%20rules%20to%20open%20every%20cell%20by%20hand.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDo%20enyone%20knows%20how%20to%20fix%20it%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1902275%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-1905095%22%20slang%3D%22de-DE%22%3ESubject%3A%20Text%20is%20not%20text%20in%20Excel%20even%20the%20cell%20format%20is%20text%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1905095%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F873756%22%20target%3D%22_blank%22%3E%40pasluy%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22VIiyi%22%3E%3CSPAN%20class%3D%22JLqJ4b%20ChMk0b%22%3E%3CSPAN%3EWith%20your%20permission%2C%20I'm%20not%20an%20expert%20at%20Pivot.%3C%2FSPAN%3E%3C%2FSPAN%3E%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22VIiyi%22%3E%3CSPAN%20class%3D%22JLqJ4b%20ChMk0b%22%3E%3CSPAN%3EBut%20I%20know%20(even%20if%20I%20don't%20know%20anything)%20if%20you%20insert%20a%20file%20(without%20sensitive%20data)%20and%20explain%20your%20problem%20on%20this%20file%2C%20you%20will%20get%20an%20answer%20faster.%3C%2FSPAN%3E%3C%2FSPAN%3E%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22VIiyi%22%3E%3CSPAN%20class%3D%22JLqJ4b%20ChMk0b%22%3E%3CSPAN%3ENotification%20of%20the%20Excel%20version%20and%20operating%20system%20urge%20you%20to%20get%20a%20precise%20answer.%3C%2FSPAN%3E%3C%2FSPAN%3E%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22VIiyi%22%3E%3CSPAN%20class%3D%22JLqJ4b%20ChMk0b%22%3E%3CSPAN%3EThank%20you%20for%20your%20patience%20and%20time.%3C%2FSPAN%3E%3C%2FSPAN%3E%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22VIiyi%22%3E%3CSPAN%20class%3D%22JLqJ4b%20ChMk0b%22%3E%3CSPAN%3ENikolino%3C%2FSPAN%3E%3C%2FSPAN%3E%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22VIiyi%22%3E%3CSPAN%20class%3D%22JLqJ4b%20ChMk0b%22%3E%3CSPAN%3EI%20know%20that%20I%20don't%20know%20(Socrates)%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1905971%22%20slang%3D%22en-US%22%3EBetreff%3A%20Text%20is%20not%20Text%20in%20Excel%20even%20the%20cell%20format%20is%20text%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1905971%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F722750%22%20target%3D%22_blank%22%3E%40Nikolino%3C%2FA%3E%26nbsp%3B%20Yes%20now%20attached%20the%20file%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1905983%22%20slang%3D%22en-US%22%3EBetreff%3A%20Text%20is%20not%20Text%20in%20Excel%20even%20the%20cell%20format%20is%20text%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1905983%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F873756%22%20target%3D%22_blank%22%3E%40pasluy%3C%2FA%3E%26nbsp%3BSelect%20the%20range%20with%20the%20account%20numbers%20in%20column%20C.%20Then%2C%20on%20the%20Data%20ribbon%2C%20select%20%22Text%20to%20columns%22.%20In%20step%203%20of%20the%20wizard%2C%20select%20General%20as%20the%20data%20format%20and%20press%20Finish.%20Now%2C%20all%20the%20account%20numbers%20will%20have%20become%20real%20numbers.%20Refresh%20the%20pivot%20table%20and%20all%20entries%20on%20account%204011%20will%20be%20grouped%20as%20expected.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1906002%22%20slang%3D%22en-US%22%3EBetreff%3A%20Text%20is%20not%20Text%20in%20Excel%20even%20the%20cell%20format%20is%20text%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1906002%22%20slang%3D%22en-US%22%3EIf%20you%20want%20to%20convert%20them%20all%20to%20numbers%20then%20a%20quick%20way%20is%20to%20highlight%20all%20the%20numbers%20(don't%20including%20the%20heading)%20and%20then%20choose%20Data%20%26gt%3B%20Text%20To%20Columns%20%26gt%3B%20Finish%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20you%20need%20them%20all%20to%20be%20text%20then%20it's%20more%20difficult%2C%20potentially%20adding%20a%20calculation%20column%20%3DText(C5%2C%20%22%40%22)%20and%20copying%20that%20down%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1906106%22%20slang%3D%22en-US%22%3EBetreff%3A%20Text%20is%20not%20Text%20in%20Excel%20even%20the%20cell%20format%20is%20text%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1906106%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20but%20i%20try%20to%20keep%20it%20text%20even%20if%20it%20is%20a%20number.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

By copy data from another excelsheet i have a problem that, even the cells is text format Excel see it is not the same format. So if you make a pivot table de data gives an other position. I copy with copy values it is not the solution. Olso i change the cell format for the wrong cells in text format but is olso not the solution. Only by open the cell and close the cell by type F2 and then Enter the text will be equal to the other text cells. I have to much rules to open every cell by hand.

 

Do enyone knows how to fix it?

7 Replies
Highlighted

@pasluy 

With your permission, I'm not an expert at Pivot.

But I know (even if I don't know anything) if you insert a file (without sensitive data) and explain your problem on this file, you will get an answer faster.

Notification of the Excel version and operating system urge you to get a precise answer.

 

Thank you for your patience and time.

 

Nikolino

I know that I don't know (Socrates)

Highlighted

@Nikolino  Yes now attached the file

Highlighted

@pasluy Select the range with the account numbers in column C. Then, on the Data ribbon, select "Text to columns". In step 3 of the wizard, select General as the data format and press Finish. Now, all the account numbers will have become real numbers. Refresh the pivot table and all entries on account 4011 will be grouped as expected.

Highlighted
If you want to convert them all to numbers then a quick way is to highlight all the numbers (don't including the heading) and then choose Data > Text To Columns > Finish

If you need them all to be text then it's more difficult, potentially adding a calculation column =Text(C5, "@") and copying that down

Highlighted

@Riny_van_Eekelen 

Thanks but i try to keep it text even if it is a number.

Highlighted

@pasluy Well, then choose Text in the third step to make all of them text. I believe your problem was that for two of the entries the format of "4100" was not consistent with the "4100" for the other entries. That'w why the pivot table showed two rows with "4100". Using  "Text to columns" forces all "numbers" in the column to one consistent data type. Be it a number or text. That's your choice.

Highlighted