How do I add specific entries in columns to a final total? - google-sheets

To start, I'm trying to create a spreadsheet to help keep track of my spending and earnings throughout the year in an effort to crack down on my budgeting and excessive spending. I would like to figure out how to add a specific spending or earnings based on whether I used cash or card. I have no idea how to do this and where to start or if I'm even asking in the right place(sorry if I am) but any help would be greatly appreciated. This is a link to a rough design of my spreadsheet. https://docs.google.com/spreadsheets/d/1H1wLZaxPEq60i8lFcjBtSWsTfZ4SOkT2Vt2JygiSnt8/edit?usp=sharing

try:
=SUMIF(E2:E, "Cash", C2:C)

Related

Historical data for outstanding shares on google sheets

Looking for a way to pull historical data from google finance on an annual basis. Looking to have a sheet similar to the image below
I'm trying to use the function =GOOGLEFINANCE(A1, "Shares",date( ) ) for outstanding shares but keep getting #n/a
any help would be appreciated!
unfortunately, this is not supported in GOOGLEFINANCE. see:
https://support.google.com/docs/answer/3093281?hl=en-GB
I use TIKR which has good 10+ year financial data. It has a useful feature Copy Table which can be pasted into Google Sheets.
I use a temp sheet for this, so I can extract the rows/cols I want using script.

Retrieve number of Mondays in a particular month

I want to retrieve number of Mondays of a particular month.
You haven't stated what you've tried and why it didn't work - which is the way SO works. Remember for next time.
In finding a solution to your problem ask yourself the following:
What is the minimum number of Mondays (or any other day) in a month? How about the maximum?
Can you determine the day of the 1st of any month using library/framework functions?
How about the number of days in any month?
Using the answers to the above could you design and implement the algorithm?
If you get stuck ask a new question, show what you've tried, where it failed, and someone will undoubtedly help you out.
HTH

Get hour data from yahoo finance

How can I get finance gata from yahoo.finance in realtime? I tried select * from yahoo.finance.historicaldata but there only data by day not by hours.
You're querying a table called historicaldata, it is probably only updated once a day. Another table, quotes, may have data updated on a more frequent timer (hourly, as you've mentioned).
Unfortunately, I think you've run into a limitation of Yahoo's free financial data feeds. They have to purchase market feeds from the source (NASDAQ, NYSE, etc.) (or close to it) and those feeds aren't cheap. If you want truly real-time data, that's something you'll probably have to cough good money out for.
There are other sources besides Yahoo though that might get you down to 15 minute updates. I will leave that research as an exercise for you since that's out of scope for StackOverflow. If you do find a different source and are having trouble reading from it, do please feel free to ask another question here! The more closely related to actual programming the better response you'll get from the community.

Is there a way to get the most searched words on the internet recently?

I'd like to get a big list (say 1,000 or more) of word phrases that people search for on the internet recently (anything from the most recent month or week or day is ok). Results from Google or any of the bigger search sites would be okay. And is there a way to do this programmatically? Python would be first choice, shell scripts works too. Thanks!
Bonus points for historical results too.
http://www.google.com/trends
google is pretty data friendly
they even provide rss feeds
http://www.google.com/trends/hottrends/atom/hourly
Yes, It's python friendly with API and easy_install to boot!
http://pypi.python.org/pypi/pyGTrends/0.81
Along with what TelsaBoil post, Google Insights looks to give historical results too
http://www.google.com/insights/search/
I think you should check this ones:
http://www.google.com/trends/hottrends
http://www.google.com/trends/hottrends/atom/hourly [RSS Hourly Feed]
http://pypi.python.org/pypi/pyGTrends/0.81 [Python Google Trends Information Retrieval]

Bing Search API: Narrow by date

In it's current version, is it possible to use Bing's "Narrow By Date" feature when accessing it's API?
I cannot find any information about how to narrow the results such that it only shows results from the "past 24 hours" or "past week" (and so on).
The website/documentation isn't exactly clear on what I can and cannot do, and how. Do any of you know whether it's possible or not?
I can see on their Advanced Search Keywords page that you can use other narrowing features (region, language, hasfeed, etc.) here: http://onlinehelp.microsoft.com/en-ca/bing/ff808421.aspx
If you need any more context or information please ask. Thank you for your patience and help.
The Bing search API is pretty vague in terms of limiting results and what you can and cannot use. After testing various words and placement to try and get date to work, I'm fairly certain that there is not a way to use a date to narrow results.

Resources