Excel - Pivot Table Calculated Field Count of Dates Field Error





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I have a pivot table that is counting the amount of records from two date data type columns. One column will have a value for the full size of the sample, while the other will either have a value or be blank. I have no issue of counting these columns when dropping them in the "Values" section of the pivot table, but when I try to create a calculated field that divides one column by the other, I receive an error value. Is this due to the data type for both the columns (date)? When I do COUNT(column)/COUNT(column) I receive 100%, which is incorrect. Any idea of what I'm doing wrong?



Here is an example of the data being divided:



Lead Created Date/Time = 1/1/2017 1:09:00 AM



First Paying Date = 1/20/2017



Here is the calculated field (CVR):



='First Paying Date'/'Lead Created Date/Time'



Here is the output:



excel calculated field error










share|improve this question

























  • Why are you trying to divide two dates, don't you want to subtract them instead? That would give you the time between the two dates.

    – Bandersnatch
    Aug 28 '17 at 23:03











  • I actually want to divide the count of the two dates to determine a conversion rate, however as I pointed out in my example in the body, COUNT('First Paying Date')/COUNT('Lead Created Date/Time' renders 100% for every row in my pivot table.

    – cphill
    Aug 29 '17 at 13:04











  • OK, I get it finally. You're not dividing dates, you're trying to divide a count of the number of dates in each column. Something is going on with your COUNT() function. Test it. Does it correctly count the values in each column alone? It should count only numbers or dates and exclude blank and empty cells.

    – Bandersnatch
    Aug 29 '17 at 16:24











  • That COUNTA unfortunately does not render the correct division. Every record appears with 100%. http://imgur.com/a/Pykq5

    – cphill
    Aug 30 '17 at 21:26











  • I meant test it by counting the two columns separately. The answer should be a number, not 100%. If your columns have only dates and blanks, you should get the number of dates. Test it.

    – Bandersnatch
    Aug 30 '17 at 23:05


















0















I have a pivot table that is counting the amount of records from two date data type columns. One column will have a value for the full size of the sample, while the other will either have a value or be blank. I have no issue of counting these columns when dropping them in the "Values" section of the pivot table, but when I try to create a calculated field that divides one column by the other, I receive an error value. Is this due to the data type for both the columns (date)? When I do COUNT(column)/COUNT(column) I receive 100%, which is incorrect. Any idea of what I'm doing wrong?



Here is an example of the data being divided:



Lead Created Date/Time = 1/1/2017 1:09:00 AM



First Paying Date = 1/20/2017



Here is the calculated field (CVR):



='First Paying Date'/'Lead Created Date/Time'



Here is the output:



excel calculated field error










share|improve this question

























  • Why are you trying to divide two dates, don't you want to subtract them instead? That would give you the time between the two dates.

    – Bandersnatch
    Aug 28 '17 at 23:03











  • I actually want to divide the count of the two dates to determine a conversion rate, however as I pointed out in my example in the body, COUNT('First Paying Date')/COUNT('Lead Created Date/Time' renders 100% for every row in my pivot table.

    – cphill
    Aug 29 '17 at 13:04











  • OK, I get it finally. You're not dividing dates, you're trying to divide a count of the number of dates in each column. Something is going on with your COUNT() function. Test it. Does it correctly count the values in each column alone? It should count only numbers or dates and exclude blank and empty cells.

    – Bandersnatch
    Aug 29 '17 at 16:24











  • That COUNTA unfortunately does not render the correct division. Every record appears with 100%. http://imgur.com/a/Pykq5

    – cphill
    Aug 30 '17 at 21:26











  • I meant test it by counting the two columns separately. The answer should be a number, not 100%. If your columns have only dates and blanks, you should get the number of dates. Test it.

    – Bandersnatch
    Aug 30 '17 at 23:05














0












0








0








I have a pivot table that is counting the amount of records from two date data type columns. One column will have a value for the full size of the sample, while the other will either have a value or be blank. I have no issue of counting these columns when dropping them in the "Values" section of the pivot table, but when I try to create a calculated field that divides one column by the other, I receive an error value. Is this due to the data type for both the columns (date)? When I do COUNT(column)/COUNT(column) I receive 100%, which is incorrect. Any idea of what I'm doing wrong?



Here is an example of the data being divided:



Lead Created Date/Time = 1/1/2017 1:09:00 AM



First Paying Date = 1/20/2017



Here is the calculated field (CVR):



='First Paying Date'/'Lead Created Date/Time'



Here is the output:



excel calculated field error










share|improve this question
















I have a pivot table that is counting the amount of records from two date data type columns. One column will have a value for the full size of the sample, while the other will either have a value or be blank. I have no issue of counting these columns when dropping them in the "Values" section of the pivot table, but when I try to create a calculated field that divides one column by the other, I receive an error value. Is this due to the data type for both the columns (date)? When I do COUNT(column)/COUNT(column) I receive 100%, which is incorrect. Any idea of what I'm doing wrong?



Here is an example of the data being divided:



Lead Created Date/Time = 1/1/2017 1:09:00 AM



First Paying Date = 1/20/2017



Here is the calculated field (CVR):



='First Paying Date'/'Lead Created Date/Time'



Here is the output:



excel calculated field error







microsoft-excel pivot-table






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 28 '18 at 18:57









JonathanDavidArndt

82741430




82741430










asked Aug 28 '17 at 21:51









cphillcphill

1034




1034













  • Why are you trying to divide two dates, don't you want to subtract them instead? That would give you the time between the two dates.

    – Bandersnatch
    Aug 28 '17 at 23:03











  • I actually want to divide the count of the two dates to determine a conversion rate, however as I pointed out in my example in the body, COUNT('First Paying Date')/COUNT('Lead Created Date/Time' renders 100% for every row in my pivot table.

    – cphill
    Aug 29 '17 at 13:04











  • OK, I get it finally. You're not dividing dates, you're trying to divide a count of the number of dates in each column. Something is going on with your COUNT() function. Test it. Does it correctly count the values in each column alone? It should count only numbers or dates and exclude blank and empty cells.

    – Bandersnatch
    Aug 29 '17 at 16:24











  • That COUNTA unfortunately does not render the correct division. Every record appears with 100%. http://imgur.com/a/Pykq5

    – cphill
    Aug 30 '17 at 21:26











  • I meant test it by counting the two columns separately. The answer should be a number, not 100%. If your columns have only dates and blanks, you should get the number of dates. Test it.

    – Bandersnatch
    Aug 30 '17 at 23:05



















  • Why are you trying to divide two dates, don't you want to subtract them instead? That would give you the time between the two dates.

    – Bandersnatch
    Aug 28 '17 at 23:03











  • I actually want to divide the count of the two dates to determine a conversion rate, however as I pointed out in my example in the body, COUNT('First Paying Date')/COUNT('Lead Created Date/Time' renders 100% for every row in my pivot table.

    – cphill
    Aug 29 '17 at 13:04











  • OK, I get it finally. You're not dividing dates, you're trying to divide a count of the number of dates in each column. Something is going on with your COUNT() function. Test it. Does it correctly count the values in each column alone? It should count only numbers or dates and exclude blank and empty cells.

    – Bandersnatch
    Aug 29 '17 at 16:24











  • That COUNTA unfortunately does not render the correct division. Every record appears with 100%. http://imgur.com/a/Pykq5

    – cphill
    Aug 30 '17 at 21:26











  • I meant test it by counting the two columns separately. The answer should be a number, not 100%. If your columns have only dates and blanks, you should get the number of dates. Test it.

    – Bandersnatch
    Aug 30 '17 at 23:05

















Why are you trying to divide two dates, don't you want to subtract them instead? That would give you the time between the two dates.

– Bandersnatch
Aug 28 '17 at 23:03





Why are you trying to divide two dates, don't you want to subtract them instead? That would give you the time between the two dates.

– Bandersnatch
Aug 28 '17 at 23:03













I actually want to divide the count of the two dates to determine a conversion rate, however as I pointed out in my example in the body, COUNT('First Paying Date')/COUNT('Lead Created Date/Time' renders 100% for every row in my pivot table.

– cphill
Aug 29 '17 at 13:04





I actually want to divide the count of the two dates to determine a conversion rate, however as I pointed out in my example in the body, COUNT('First Paying Date')/COUNT('Lead Created Date/Time' renders 100% for every row in my pivot table.

– cphill
Aug 29 '17 at 13:04













OK, I get it finally. You're not dividing dates, you're trying to divide a count of the number of dates in each column. Something is going on with your COUNT() function. Test it. Does it correctly count the values in each column alone? It should count only numbers or dates and exclude blank and empty cells.

– Bandersnatch
Aug 29 '17 at 16:24





OK, I get it finally. You're not dividing dates, you're trying to divide a count of the number of dates in each column. Something is going on with your COUNT() function. Test it. Does it correctly count the values in each column alone? It should count only numbers or dates and exclude blank and empty cells.

– Bandersnatch
Aug 29 '17 at 16:24













That COUNTA unfortunately does not render the correct division. Every record appears with 100%. http://imgur.com/a/Pykq5

– cphill
Aug 30 '17 at 21:26





That COUNTA unfortunately does not render the correct division. Every record appears with 100%. http://imgur.com/a/Pykq5

– cphill
Aug 30 '17 at 21:26













I meant test it by counting the two columns separately. The answer should be a number, not 100%. If your columns have only dates and blanks, you should get the number of dates. Test it.

– Bandersnatch
Aug 30 '17 at 23:05





I meant test it by counting the two columns separately. The answer should be a number, not 100%. If your columns have only dates and blanks, you should get the number of dates. Test it.

– Bandersnatch
Aug 30 '17 at 23:05










0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1245248%2fexcel-pivot-table-calculated-field-count-of-dates-field-error%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1245248%2fexcel-pivot-table-calculated-field-count-of-dates-field-error%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Plaza Victoria

Puebla de Zaragoza

Musa