How to auto total separate entries in spreadsheet?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to auto total separate entries in spreadsheet?
Hi.
In the attached spreadsheet example - How can I auto tally the full donations made to a particular charity? Getting the full total for all is easy but how can I tally for something that contains a certain term; e.g.'Cat Charity' etc?
You've got loads of room; no need to skimp. If you put each charity in a different column and not all piled together in one column, then the solution is obvious. Right?
jdk
You've got loads of room; no need to skimp. If you put each charity in a different column and not all piled together in one column, then the solution is obvious. Right?
jdk
But I'd like to have all donations ordered by date.
But I'd like to have all donations ordered by date.
I'm not exactly what you mean. You can order them anyway you like. You can create a report and dictate exactly how you want the output ordered. That is independent of the way the cells are ordered. But I really don't understand what your problem is. Maybe you can give a bit more detail about what you're trying to do. I don't really think you have any problem doing it the way it was suggested.
jdk
I'm not exactly what you mean. You can order them anyway you like. You can create a report and dictate exactly how you want the output ordered. That is independent of the way the cells are ordered. But I really don't understand what your problem is. Maybe you can give a bit more detail about what you're trying to do. I don't really think you have any problem doing it the way it was suggested.
jdk
Ok, for E2 Total the forumula is =SUM(C2:C10). For each of the others (Cat Charity, Dog Charity, etc.) I want something like (the following code is totally wrong but I'm trying to explain what I mean) if="Cat Charity" then add to SUM or something along those lines.
Last edited by linustalman; 04-02-2014 at 03:11 PM.
Even better, use a separate tab/sheet for each Charity.
That would be one successful way of doing it. If you don't do that, and those charity names are entered manually each time, the way that you are trying to do things won't be reliable. Someone will enter 'Donkey Charity' rather than 'Donkey Charity' (or even 'Donkey charity') and you have to either find a way of preventing that (possible, but possibly ugly), making it easier to detect, or of making the thing work in spite of that.
(maybe that would have been clearer with code tags - that sort of makes the point!)
Last edited by salasi; 04-02-2014 at 03:25 PM.
Reason: explanation of 'bad formatting'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.