Discussion:
draaitabel splitst dezelfde veldnamen toch op
(te oud om op te antwoorden)
Rob
2006-07-29 16:02:25 UTC
Permalink
Ik maak gebruik van een draaitabel met als een basis een werkblad,
waarop rijen met formules staan.
Later heb ik daar nog een aantal rijen handmatig tussen gezet, niet
met formules maar met waarden.
Het probleem is dat de draaitabel de velden van de toegevoegde rijen
apart ziet.
Er staan dus bijvoorbeeld een aantal rijen met klantnummers(bijv nr
5), die klantnummers worden opgehaald met een formule uit een andere
sheet.
Daarnaast dus rijen toegevoegd met dezelfde klantnummers(nr 5).
Terwijl de opmaak van de velden gelijk zijn, en ik voor de rest geen
verschillen zie, spiltst de draaitabel toch de klantnummers.
Dus in de draatabel komt 2 keer klantnummer 5 voor, terwijl het de
bedoeling is uiteraard dat klantnummer 5 maar 1 keer voorkomt.
Ik heb al het een en ander geprobeerd maar krijg het niet werkend.
Misschien iemand een tip om dit op te lossen?


BVD
.....Rob
Niek Otten
2006-07-29 17:56:05 UTC
Permalink
Hi Rob,

Misschien niet ehelemaal 't zelfde onderwerp, maar misschien heb je toch iets aan mij standaard checklist:

=================================================================
Your Numbers don't behave (like numbers)
Niek Otten, July 14, 2006

Your numbers sort incorrectly, are not included in SUMs, cause #VALUE! results in formulas, cannot be found in LOOKUPs, etc.
In short:

Your Numbers look like Numbers, but they really are Text.
Sure! You formatted them as numbers, but alas, formatting afterwards doesn't help. Believe me, they are Text!

Here's a checklist which will help you solve most known cases. Make a copy of your workbook before trying! Always use Excel's
ISNUMBER() function to check your cells; maybe you solved your problem in the first step!

· Format an empty cell as Number. Enter the number 1 in it. Edit>Copy.
Select your "numbers". Edit>Paste Special, check Multiply. Hopefully your cells are "real" Numbers now
· If that doesn't help, there may be spaces in your "numbers". You can use the LEN() function to compare the number
of characters that Excel sees in the cell with the number of characters you see. If you suspect spaces, use Excel's TRIM()
function to remove them
· If that doesn't help, there may be nonprintable characters in your "numbers". You can use Excel's CLEAN() function
to remove most of them
· If that doesn't help, there may be non-breaking spaces in your "numbers" (mostly aquired from Web Pages). Use
David McRitchie's TRIMALL() function to remove them. It can be downloaded here:
http://www.mvps.org/dmcritchie/excel/join.htm#trimall

Please mail me any comments, additions or corrections:
***@xs4all.nl

=================================================================
--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Rob" <***@Hotmail.com> wrote in message news:***@4ax.com...
| Ik maak gebruik van een draaitabel met als een basis een werkblad,
| waarop rijen met formules staan.
| Later heb ik daar nog een aantal rijen handmatig tussen gezet, niet
| met formules maar met waarden.
| Het probleem is dat de draaitabel de velden van de toegevoegde rijen
| apart ziet.
| Er staan dus bijvoorbeeld een aantal rijen met klantnummers(bijv nr
| 5), die klantnummers worden opgehaald met een formule uit een andere
| sheet.
| Daarnaast dus rijen toegevoegd met dezelfde klantnummers(nr 5).
| Terwijl de opmaak van de velden gelijk zijn, en ik voor de rest geen
| verschillen zie, spiltst de draaitabel toch de klantnummers.
| Dus in de draatabel komt 2 keer klantnummer 5 voor, terwijl het de
| bedoeling is uiteraard dat klantnummer 5 maar 1 keer voorkomt.
| Ik heb al het een en ander geprobeerd maar krijg het niet werkend.
| Misschien iemand een tip om dit op te lossen?
|
|
| BVD
| .....Rob
Rob
2006-07-29 20:49:04 UTC
Permalink
Post by Niek Otten
Hi Rob,
=================================================================
Your Numbers don't behave (like numbers)
Niek Otten, July 14, 2006
Your numbers sort incorrectly, are not included in SUMs, cause #VALUE! results in formulas, cannot be found in LOOKUPs, etc.
Your Numbers look like Numbers, but they really are Text.
Sure! You formatted them as numbers, but alas, formatting afterwards doesn't help. Believe me, they are Text!
Here's a checklist which will help you solve most known cases. Make a copy of your workbook before trying! Always use Excel's
ISNUMBER() function to check your cells; maybe you solved your problem in the first step!
· Format an empty cell as Number. Enter the number 1 in it. Edit>Copy.
Select your "numbers". Edit>Paste Special, check Multiply. Hopefully your cells are "real" Numbers now
· If that doesn't help, there may be spaces in your "numbers". You can use the LEN() function to compare the number
of characters that Excel sees in the cell with the number of characters you see. If you suspect spaces, use Excel's TRIM()
function to remove them
· If that doesn't help, there may be nonprintable characters in your "numbers". You can use Excel's CLEAN() function
to remove most of them
· If that doesn't help, there may be non-breaking spaces in your "numbers" (mostly aquired from Web Pages). Use
http://www.mvps.org/dmcritchie/excel/join.htm#trimall
=================================================================
Dank je Niek, zoiets zal het wel zijn, heb het geprobeerd maar het
werkt nog niet.
Maar goed, ik blijf proberen

.....Rob

Loading...