a question on using Microsoft Excel to do data analysis - excel

Me and my mates have been given an Excel spreasheet,which contains the data of the Census report.
The column here corresponds to "Year" (from 2000-2010),the row means "City/Town",the cell is simply the population of a town at a particular year.
We are up to doing some analysis like “what town had its first population gain in 10 years?”
etc.My question is just about can we do this in Excel,or do we need to export the data to other database(SQL) then do the programming?
Thanks in advance.

Yes, you can do it in Excel. That answer your question?

For that specific piece of data analysis
{=AND(SUM(--((C2:K2-B2:J2)>0))=0,L2>K2)}
Don't enter the curly braces, enter the formula with Control+Shift+Enter.
But if you're more comfortable in SQL, then you should import it into a database and work with it that way. Put it where you have the best skill set and you'll get the job done the quickest.

You can do a substantial amount in excel, both by simply using the facilities provided as cell functions, and if that doesn't suffice, you can use VBA (Visual Basic for Applications) built into excel for more complex analysis.

Related

Generating a Random Selection from Multiple Sections in a Spreadsheet

I've been wanting to do like the creator of Aeon of Strife did to Starcraft (or Defense of the Ancients to Warcraft III) by jerry-rigging elements of Dungeons and Dragons 5th Edition into a more Rogue-like system. I've recorded all the class features for the system in a spreadsheet. I'm looking for a solution that will pick, in sequence: a section of the spreadsheet with a defined row and column limit, a row within that section, a column within that row, then print what's in that cell. I'm unaware of how different Excel and LibreOffice Calc are for syntax and mathematic functionality, I'm using LibreOffice, if you know how to solve my issue in Excel I'd appreciate that as well.
I haven't really tried to solve this issue, as I don't personally know how to use the mathematic functions of spreadsheets.

Power BI | Filter and select values higher than a reference, GIVEN ADDITIONAL conditions

I've been recently hired as an intern, and a challenge my area has come accross is how to highlight the closest available medical appointment.
Of course, I know that in excel such a thing would be pretty simple, with a matrixial formula like {=MIN(IF( range > current_date_and_time ; range ))} and as such, in PowerBi it should be just as simple.
However, the PowerBi table the area is dealing with shows the entire agenda and another column indicates if it has been reserved or not (with a 1 and 0). So, I'm wondering how to incorporate this condition toe excel formula, and in the end, how to get the closest AVAILABLE appointment in the agenda.
Eventually, the idea is to apply this "filter" for each doctor, and then aggregate by area.
I also know that good manners dictate I show you the data, but this is work related, so I can't do that.
Thanks beforehand, and sorry for the trouble
the problem has been solved, though by means of a different answer. THANKS

Extracting data from series of excel files

I have a series of Excel data with multiple cities and sensors in a single worksheet. What would be the fastest and most accurate way to extract data from a city X and a Y sensor?
In my case, I need only the data from the sensor "umidade_solo_nivel1".
I could do with pivot table, but it would take a lot of time, since there are 66 cities and a different Excel worksheet for each month of the year.
Following is an image of the worksheet that helps you understand how the data is organized.
Thank you in advance for any help you can provide.
One solution is to set up your file to include "indicators" and the =INDIRECT() function. Using this, you can set up a series of indicators (in separate rows) which include the sheet name, row, and column of data you are looking for. This can be somewhat time-intensive to set up at first, but can definitely pay off in the long run, especially if your data are periodically updated or if more data is entered. All it takes is a little creativity.
If you are not familiar with the function, you could check out this website:
http://www.contextures.com/xlFunctions05.html
As David Lee mentioned in your comments, VBA or other languages like Python or C# could also be of use. As we can not fully understand what you need specifically or what all of your data look like from your description, I would recommend learning the function I mentioned and evaluating if it would be helpful in this context before learning another language like VBA (though I highly recommend learning VBA if you anticipate spending lots of time in Excel).

Excel nested if formulas

I've currently got a Uni project underway and part of this project is an excel spreadsheet which involves inputting data (to be later to be outputted).
Anyway, I don't have too much experience with Excel or programming at all, and I've come across a situation where I need some help.
The project involves building a climbing frame, using EITHER the material Wood, Steel or Aluminium.
In the input table, I have added a "Material Quantity" row where a user can select the material they would like to use (from the above list), and then the amount of material they want to use.
The problem is that the materials Steel and Aluminium can ONLY be provided in increments of 6 metres, while Wood can only be provided with an increment of 1 metre.
As you can guess, I want to create something where a user can select their chosen material and then ONLY be able to enter a amount with the same multiple of what it can be provided in. For example, if a user selects "Steel", they can only enter a value with a multiple of 6m - if they enter, for example, 10m, then I want it to return a error.
After some reading, I think the way to solve this problem is to use a nested IF statement with a MOD command too. If anyone can help me with the forumla it would be much appreciated.
The attached picture is what I've acheived so far (and an idea for you guys to see what I'm dealing with). I really have no clue how to approach the problem :(
Use this formula:
=OR(AND(E8="Wood",MOD(F8,1)=0),AND(OR(E8="Steel",E8="Aluminium"),MOD(F8,6)=0))
Another option would be to allow the user to input the exact length of material and then calculate the amount they will need using the 'MROUND' function.
=IF(OR(E8="steel",E8="aluminum"),MROUND(F8,6),IF(E8="wood",MROUND(F8,1),"Not valid"))

Excel - replace words automatically

I don't know if what I'll be asking can be done but I hope so.
I follow races and after each seassion there is a table showing the standing of the drivers and teams. For a weekend, there are 5 tables.
For each session, I copy the table, paste it into excel and import it on my website to desplay it as a table. But before I do that, I have to rename the drivers and teams names (always the same in all tables) to another language and then import the file.
This process takes few minutes, like 5 minutes. 5*5 tables: 25 minutes for a weekend. So I wondering if there 's a trick in a software or excel that could replace all the words I want with other words automatically? that could save me a lot of time.
So next time I post the table into excel, I see the drivers' name automatically in my language, thus I can import the table without edit it and waste few minutes.
I really appreciate your help and hope I can have a positive answer from this community.
Thanks!
I fear there may be more required than relatively simple lookup formulae but for want of any other answer so far and focussing on your title, please try:
=VLOOKUP(B2,drivers,2,0)
in E2 for the example below, and copy down to suit. This assumes you have an array as in the box in the middle named drivers (need not be in same sheet) and that ColumnD is a copy of ColumnA.
Similarly in G2:
=VLOOKUP(C2,team,2,0)
where the right-hand box is an array named team, and ColumnC is after relocation.

Resources