Using SUM/IF and vlookup

ctidmississippi

New Member
Joined
Aug 30, 2017
Messages
3
I am not totally certain these are the formulas I need to be using, but I have a list of entries of days (which most days used numerous times), and sales per day. How can I get these totaled? A problem I have encountered is when I have used a SUMIF and include 11, it totals anything with those numbers in that order (211, 311, etc).
11
490
11501
11202
11311
12399
12403
13400
13217
1399
13107

<tbody>
</tbody>
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Welcome to the Board!

A problem I have encountered is when I have used a SUMIF and include 11, it totals anything with those numbers in that order (211, 311, etc).
Can you post the exact formula you are trying?
 
Upvote 0
Well, that's the thing. I have been through so many, I can't re-find it. I am extremely new to this, and no tutorials go over it, they only cover stuff with one such number in the A column
 
Upvote 0
If the 11, 12, 13 are in column A, and the sales per day are in column C:
=SUMIF(A1:A10, "11", C1:C10)
=SUMIF(A1:A10, "12", C1:C10)
=SUMIF(A1:A10, "13", C1:C10)

Just change the ranges to what you're using, as well as columns, and place the formulas where you want the totals.
 
Last edited:
Upvote 0
Either...

dayvaluedaytotal
11490111504
1150112802
1120213823
11311
12399
12403
13400
13217
1399
13107

<tbody>
</tbody>


In E2 enter and coy down:

=SUMIFS(B:B,A:A,$D2)

Or insert a PivotTable

Row LabelsSum of value
111504
12802
13823
Grand Total3129

<colgroup><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,216,120
Messages
6,128,948
Members
449,480
Latest member
yesitisasport

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top