New to Excel, need help with different SUM formulas!!

Traun2445

New Member
Joined
Jul 20, 2014
Messages
18
Hello all,

I just took a few intro classes for Excel and am seeing if I can build better spreadsheets than what we are currently using at work. I have lots of great ideas but am getting frustrated that I cannot get the functions to work, or I am not sure exactly how to use the formula.

Question #1:

How do you get the SUM of a specific range of cells that could change? By that I mean I will start adding at cell C8, and could need to add to cell C10, or C21. It changes daily.

Question #2:

This goes along with question 1, but how can I add cells with specific text? I created a drop down menu with two options. I want to create a function that searches a dynamic range of cells for the words "Standard" or "Urgent" from the cell with the drop down menu.

I am working on creating a workbook with worksheets that represent each month. Within each worksheet I am working on creating daily sections. We never know how many events we will handle each day.

This leads me to Question #3:

Is there any way to add a new row with only a selected amount of cells? Either with a macro or any other trick. My idea is once we need to update the daily section with a new event, I can just run a macro do drop in a new row below the previous event we recorded. I do not want to create daily sections with a given amount of rows, because we may need way more, or way less than any amount I would pre-populate the worksheet with. I would like to add only what we need at that time for organizational and appearance purposes.

Any input would be greatly appreciated!!

Thanks a lot!

I also used the "=Count" function, to find how many emails we dealt with on that specific day, based on the time we received the email. Can that be used for a dynamic amount of cells as well?

:):):):)
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Hi and welcome to the board. Firstly I must say actually examples or a look at the file which you could load thro sendspace.com or dropbox for example is better that a thousand words.

My feeling so far is from what you say possibly using INDIRECT and possibly COUNTA to help with varying rows.

Lets say in your sheet either column C or another column has the all cells filled

What I would do is COUNTA(c:c) which would give in this case 29 assuming all cells are filled.

So if you use that in INDIRECT you get =sum(INDIRECT("c8:c"&COUNTA(c:c))

it would give me the sum of whatever the range ends up being.

Cheers
 
Last edited:
Upvote 0
Hello,

Thanks for the advice. I am playing around with those formulas you gave me. Are those tools for sharing screenshots and spreadsheets in this forum? Any help would be greatly appreciated!

Thanks!
 
Upvote 0
I suggest going to sendspace.com and signing up for the following reason.

I use sendspace as you don't need to have any software on your PC like you do for dropbox. If you upload onto a site all you need to do copy the link and using the 6th Icon from the left ontop of the post that looks like the world with a sideways 8 at the bottom paste.

Cheers
 
Upvote 0
Thanks for the response.

I am unable to use sendspace as I am at work and it appears they have it locked. Any other way to try and get just a snippet of what I have so far? I am sure it would make my questions a lot easier to answer. Ill do my best with this:

[TABLE="width: 500"]
<tbody>[TR]
[TD]Ticket number[/TD]
[TD]Type[/TD]
[TD]Device name[/TD]
[TD]Email Alert time[/TD]
[TD]Date Device Restored[/TD]
[TD]Time Device restored[/TD]
[TD]RFO[/TD]
[TD]Total emails:[/TD]
[TD][/TD]
[TD]Standard inc's[/TD]
[TD][/TD]
[TD]Urgent Inc's[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Drop down menu here with "Standard" and "Urgent"[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]N/A[/TD]
[TD]N/A[/TD]
[TD]N/A[/TD]
[TD]N/A[/TD]
[TD]N/A[/TD]
[TD]N/A[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]N/A[/TD]
[TD]N/A[/TD]
[TD]N/A[/TD]
[TD]N/A[/TD]
[TD]N/A[/TD]
[TD]N/A[/TD]
[/TR]
</tbody>[/TABLE]

This is my basic layout. I want the Standard and Urgent INC's fields to automatically update as I select from the drop down menu. Furthermore, this is a snapshot of only one day. I want to auto-fill this for each day of the month, and each month will be on separate worksheets. So my range could be anywhere from A2:A50, depending on how many incidents we deal with for that day. So its a dynamic range for each day that counts fields with only a specific word.

I want to create a button that once I fill out one row, I can hit a button and it automatically drops in a row below the row I just fill in from A1:A7. This way each day will only have the required amount of rows for each day. I do not want to include a specific number of rows, only to have way more or way less incidents that day.

Hope this helps clarify a little bit! :eeek::)

Thanks again!!
 
Upvote 0
Hello again,

Hopefully this helps clear up what I have so far:

[TABLE="width: 1431, align: left"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 1454, align: left"]
<tbody>[TR]
[TD]
[/TD]
[TD="colspan: 7"]A B C D E F G
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD="colspan: 7"] 7/19/2014 (Merged Cells)
[/TD]
[TD]Total Emails:
[/TD]
[TD]
[/TD]
[TD]Standard INC's:
[/TD]
[TD]0
[/TD]
[TD]Urgent INC's:
[/TD]
[TD]0
[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Ticket Number
[/TD]
[TD]Type
[/TD]
[TD]Device Name
[/TD]
[TD]Email Alert Time
[/TD]
[TD]Date Device Restored
[/TD]
[TD]Time Device Restored
[/TD]
[TD]RFO
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]
[/TD]
[TD] I have a dropdown menus in this cell "Standard" or "Urgent"
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD] This is what I have for one day. As I stated, I want to be able to create only the number of cells I need for each day. I would like to create a Macro that enters a new row under the row I would have just filled in with a new incident. Example: A8:G8 Was just filled in with an incident. I want to make a macro that I can enter a new row (which would be A9:G9) right below it, ready to be filled in. I would want to create this exact layout for each day of the month, so each day has the exact number of rows of incidents for that day.

The next part of this layout is to pull the standard and urgent INC's from the day, into the proper cell - Standard: L6 - Urgent - M6. So this would have to be a dynamic range I do believe?? I have no idea how to do that. I am am thinking it needs to be referenced to the date. So it only adds up for 7/19/2014 ( in this example). It will not keep adding up for the next day - 7/20/2014 - which would be below this section.

Is what I am asking possible? Is it very complicated? Can I do this without VBA? Any input would be greatly appreciated!

Thanks everyone!![/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,223,250
Messages
6,171,036
Members
452,374
Latest member
keccles

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