Stock Web Query Results - Formula

normanbox

New Member
Joined
Jul 8, 2015
Messages
46
I need help. I am running a simple web query: https://finance.yahoo.com/q/cf?s=AAC. The query return the cash flow statement for the stock symbol AAC. The query accurately gives me the cash flow statement, but places a dash “-“ for all zeros. The dash is accurate when compared to the actual web page; however, the dash is preventing me from completing any formulas when it’s referenced. For example, for the above web query, if I simply want to subtract “Total Cash Flows From Investing Activities”, which is -23,000, from Dividends Paid, which is “-“, the formula should result in -$23,000, but instead I get the “#Value!” error.

I’ve tried using an if statement to replace the dash, but I can’t seem to get it to work.

Any help is very much appreciated.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Your IF statement in the calculation should look like this IF(c28="- ",0,c28) What I've typed there between the quotes is a dash with two spaces.
 
Upvote 0

Forum statistics

Threads
1,216,582
Messages
6,131,551
Members
449,654
Latest member
andz

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top