basic spreadsheet

JONNEWBY

New Member
Joined
Aug 6, 2009
Messages
15
hey guys im a newby just started programing,



i have a basic spreadsheet with following fields:

date
time
make
model

heres my ?

i just want to sum all the cells with the same month, so far i have negative results....
can you guys bail me out?

thanks in advance
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Because you are framing your question around programming, have you considered turning on the macro recorder, creating a pivot table based on your data, and getting your information that way, it sounds like a pivot table would get you the kind of monthly synopsis you want.
 
Upvote 0
What field do you want to sum? Or do you just want a count of all the cells with the same month?
If that is what you want then insert a line below the date row with the formula =Month(A1) and somewhere else on the sheet (in this example B10:B21) enter the numbers 1 to 12 and enter the formula =COUNTIF($B$2:$B$XX,B10) in C10:C21.

This should give you the result you want. I'm sure there's an easier way too.
 
Upvote 0

Forum statistics

Threads
1,215,443
Messages
6,124,890
Members
449,194
Latest member
JayEggleton

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