# Adding Multiple Cell Values that Correspond to a Date.

#### Galacticus Chime

##### New Member
Hi all,

I've got a bit of a pickle, I'm not even sure if it's possible to do. Please bare with me, as I may go all around the houses to try and explain the problem...

I have data in one column that I'd like to add up (B), but only if they correlate with an exact date that matches a date on a previous sheet. Now I know this is plausible when using the Exact function for two separate single cells. But I'd like a formula to select only cells with the right date then select data in a cell on the same row. Here's a quick example of what I mean, as I've probably confused everyone as well as myself, typing all that:

--- A -------- B
1st Jun ------ 12
1st Jun ------ 9
3rd Jun ------ 6
4th Jun ------ 3
4th Jun ------ 15

On another sheet there will be a single date that corresponds to dates in the sheet above. For instance, "1st Jun" I need a formula that will recognise that there are two values of "1st Jun" and then add together the data in another column (B) of 12 and 9 equalling 21. I will add that manually inputting "1st Jun" or any other date into a SUMIF function will not work, as I want a column to auto calculate, otherwise Id have to manually enter dates into hundreds of cells.

What do you guys think, is this possible? Thanks for your patience lol.

Cheers.

### Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

#### SteveO59L

##### Well-known Member
Try a Pivot Table

Replies
3
Views
243
Replies
2
Views
36
Replies
2
Views
34
Replies
1
Views
38
Replies
8
Views
592

1,133,559
Messages
5,659,547
Members
418,506
Latest member
drafting3

### 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.

### Which adblocker are you using?

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

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