ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel 2003 running on XP (https://www.excelbanter.com/excel-discussion-misc-queries/254524-excel-2003-running-xp.html)

jandives

Excel 2003 running on XP
 
I have a column of numbers that represent the dyas of a reservation. The
column has a subtotal for the month for the total days rneted that month. Now
year-end, I would like to know the total numbers of night rented for the
year. Is there an easy way to get that (maybe add all the subtotals
together?) without having to create this calculation by hand (like writing
=b12+b17+b23...). I have several spreadsheets to make this calc in and would
like it to be accurate and easy!

Thank you for your help!

Jacob Skaria

Excel 2003 running on XP
 
Why dont you post examples of how your data is arranged..?

--
Jacob


"jandives" wrote:

I have a column of numbers that represent the dyas of a reservation. The
column has a subtotal for the month for the total days rneted that month. Now
year-end, I would like to know the total numbers of night rented for the
year. Is there an easy way to get that (maybe add all the subtotals
together?) without having to create this calculation by hand (like writing
=b12+b17+b23...). I have several spreadsheets to make this calc in and would
like it to be accurate and easy!

Thank you for your help!


Dave Peterson

Excel 2003 running on XP
 
If you used Data|Subtotal to get those subtotals, you can just use =subtotal()
once more. Heck, even if you added the subtotals yourself, you can use
=subtotal() once more.

=subtotal() will ignore other =subtotal()'s in that range.

If you used =sum(), then you could cheat (I wouldn't!) and just use =sum() once
more, but you'll have to divide by 2.

=sum(a1:a99)/2

I'd try fixing those =sum() formulas:

Select the range
Edit|replace
what: =sum(
with: =subtotal(9,

When you look at excel's help, you'll see that that first number represents what
you want to with the data (average, count, min, max, ...). 9 represents sum.



jandives wrote:

I have a column of numbers that represent the dyas of a reservation. The
column has a subtotal for the month for the total days rneted that month. Now
year-end, I would like to know the total numbers of night rented for the
year. Is there an easy way to get that (maybe add all the subtotals
together?) without having to create this calculation by hand (like writing
=b12+b17+b23...). I have several spreadsheets to make this calc in and would
like it to be accurate and easy!

Thank you for your help!


--

Dave Peterson


All times are GMT +1. The time now is 07:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com