Find quantity sold of particular size over time












0















I have a spreadsheet where I am recording sales of shorts over time. I have been using it to keep a record of who buys them, what date, what size and how many pairs they bought. I'm hoping to expand this to start recording how many of each size have been sold over time.



This is an extract of what I have so far:



size and quantity sold



In column E, I have used =COUNTIF(A2:A11,"S") to count the number of sales of, for example, Small. This is working well. However, I am not at all sure what to put in the, 'By size: Qty,' column (column F from the screenshot).



Is there a formula that will check for all occurrences of a certain value and then check the values in the cells beside what it finds, totaling these values?










share|improve this question

























  • take a look at SUMIF exceljet.net/excel-functions/excel-sumif-function

    – Andi Mohr
    Jan 3 at 12:25
















0















I have a spreadsheet where I am recording sales of shorts over time. I have been using it to keep a record of who buys them, what date, what size and how many pairs they bought. I'm hoping to expand this to start recording how many of each size have been sold over time.



This is an extract of what I have so far:



size and quantity sold



In column E, I have used =COUNTIF(A2:A11,"S") to count the number of sales of, for example, Small. This is working well. However, I am not at all sure what to put in the, 'By size: Qty,' column (column F from the screenshot).



Is there a formula that will check for all occurrences of a certain value and then check the values in the cells beside what it finds, totaling these values?










share|improve this question

























  • take a look at SUMIF exceljet.net/excel-functions/excel-sumif-function

    – Andi Mohr
    Jan 3 at 12:25














0












0








0








I have a spreadsheet where I am recording sales of shorts over time. I have been using it to keep a record of who buys them, what date, what size and how many pairs they bought. I'm hoping to expand this to start recording how many of each size have been sold over time.



This is an extract of what I have so far:



size and quantity sold



In column E, I have used =COUNTIF(A2:A11,"S") to count the number of sales of, for example, Small. This is working well. However, I am not at all sure what to put in the, 'By size: Qty,' column (column F from the screenshot).



Is there a formula that will check for all occurrences of a certain value and then check the values in the cells beside what it finds, totaling these values?










share|improve this question
















I have a spreadsheet where I am recording sales of shorts over time. I have been using it to keep a record of who buys them, what date, what size and how many pairs they bought. I'm hoping to expand this to start recording how many of each size have been sold over time.



This is an extract of what I have so far:



size and quantity sold



In column E, I have used =COUNTIF(A2:A11,"S") to count the number of sales of, for example, Small. This is working well. However, I am not at all sure what to put in the, 'By size: Qty,' column (column F from the screenshot).



Is there a formula that will check for all occurrences of a certain value and then check the values in the cells beside what it finds, totaling these values?







worksheet-function microsoft-excel-2013






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 3 at 11:12









DavidPostill

105k25227262




105k25227262










asked Jan 3 at 10:44









SYPOMarkSYPOMark

32




32













  • take a look at SUMIF exceljet.net/excel-functions/excel-sumif-function

    – Andi Mohr
    Jan 3 at 12:25



















  • take a look at SUMIF exceljet.net/excel-functions/excel-sumif-function

    – Andi Mohr
    Jan 3 at 12:25

















take a look at SUMIF exceljet.net/excel-functions/excel-sumif-function

– Andi Mohr
Jan 3 at 12:25





take a look at SUMIF exceljet.net/excel-functions/excel-sumif-function

– Andi Mohr
Jan 3 at 12:25










1 Answer
1






active

oldest

votes


















0














In column E you've used



=COUNTIF(A2:A11,"S")


To follow that up you want to use SUMIF in column F



=SUMIF(A2:A11, "S", B2:B11)


The way this works is it looks in column A to find rows that are "S" and then it sums the relevent values from column B.






share|improve this answer
























  • Hi @RickyTilson. Thanks for your helpful answer. It was just what I was after.

    – SYPOMark
    Jan 4 at 9:58











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%2f1390117%2ffind-quantity-sold-of-particular-size-over-time%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














In column E you've used



=COUNTIF(A2:A11,"S")


To follow that up you want to use SUMIF in column F



=SUMIF(A2:A11, "S", B2:B11)


The way this works is it looks in column A to find rows that are "S" and then it sums the relevent values from column B.






share|improve this answer
























  • Hi @RickyTilson. Thanks for your helpful answer. It was just what I was after.

    – SYPOMark
    Jan 4 at 9:58
















0














In column E you've used



=COUNTIF(A2:A11,"S")


To follow that up you want to use SUMIF in column F



=SUMIF(A2:A11, "S", B2:B11)


The way this works is it looks in column A to find rows that are "S" and then it sums the relevent values from column B.






share|improve this answer
























  • Hi @RickyTilson. Thanks for your helpful answer. It was just what I was after.

    – SYPOMark
    Jan 4 at 9:58














0












0








0







In column E you've used



=COUNTIF(A2:A11,"S")


To follow that up you want to use SUMIF in column F



=SUMIF(A2:A11, "S", B2:B11)


The way this works is it looks in column A to find rows that are "S" and then it sums the relevent values from column B.






share|improve this answer













In column E you've used



=COUNTIF(A2:A11,"S")


To follow that up you want to use SUMIF in column F



=SUMIF(A2:A11, "S", B2:B11)


The way this works is it looks in column A to find rows that are "S" and then it sums the relevent values from column B.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 3 at 12:33









RickyTillsonRickyTillson

32718




32718













  • Hi @RickyTilson. Thanks for your helpful answer. It was just what I was after.

    – SYPOMark
    Jan 4 at 9:58



















  • Hi @RickyTilson. Thanks for your helpful answer. It was just what I was after.

    – SYPOMark
    Jan 4 at 9:58

















Hi @RickyTilson. Thanks for your helpful answer. It was just what I was after.

– SYPOMark
Jan 4 at 9:58





Hi @RickyTilson. Thanks for your helpful answer. It was just what I was after.

– SYPOMark
Jan 4 at 9:58


















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%2f1390117%2ffind-quantity-sold-of-particular-size-over-time%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

Сан-Квентин

8-я гвардейская общевойсковая армия

Алькесар