98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » Excel
Excel
Resolved · Medium Priority · Version 2010
Michail has attended:
Excel Intermediate course
Excel Advanced course
Excel
Hi,
I am editing a spreadsheet that lists in rows a number of transactions between 2004-present. Each transaction runs for a number of days (number of days varies in each transaction) and generates an income. One of the columns lists the average daily income for each transaction (income of transaction divided by number of days of that specific transaction).
I am trying to figure out a way of getting the average daily income for each year, which will change on a rolling basis (i.e. each time a transaction is added the average daily income for that year will be affected).
I have tried using a conditional formula to select the transactions of a given year (something like COUNTIF 2012, or COUNTIF 2013) by eliminating the transactions of other years and then calculate the sum of all average daily incomes and divide by the number of days that have elapsed since January 1st.
I am confused and although I suspect that a conditional formula is the way to go, I'm not sure about it.
Your help will be greatly appreciated.
Best,
M
RE: Excel
Hi Michail
Thanks for getting in touch. You're probably right about a conditional formula being the way to go. You've said that you've tried a COUNTIF function - what happened when you tried it? Did you get an error or just not the result you were expecting?
Let me know how you're getting on, and we'll see how we can help build this formula.
Kind regards
Gary Fenn
Microsoft Office Specialist Trainer
Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us
London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector
RE: Excel
Thanks for your reply Gary.
I haven't really developed the formula, as I am not sure how the formula should be exactly. I'm also unsure about the steps/formulas I should follow to come up with the final result I'm looking (i.e. average daily income for a year).
What I had in mind is having a table below the list of transactions described in my previous message, which will list in one column the years from 2004-present and on another column on the right the average daily income for each year.
Best,
M
RE: Excel
Hi Michail
I'm still not completely sure what you are trying to aim for, particularly where the days elapsed comes in, but what about something like AVERAGEIF?
I've attached a sample workbook which contains some ideas which you may be able to adapt to get closer to what you need. Hopefully this will move us towards the next stage.
Kind regards
Gary Fenn
Microsoft Office Specialist Trainer
Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us
London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector
Attached files...
RE: Excel
Gary,
How can I attach a file to my response? Want to show you how my spreadsheet looks like and what I actually try to achieve.
M
RE: Excel
Hi Michail
Only trainers can upload files. You are welcome to mail the file to me: gary@stl-training.co.uk.
Kind regards
Gary Fenn
Microsoft Office Specialist Trainer
Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us
London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:New to Excel 2010 - Sparklines!Excel 2010 includes a new feature called Sparklines which are tiny charts that fit into a single cell and plot data in cells from the worksheet. There are a host of formatting and styles that can be applied to them and they are really quite interesting. |