Using formula's to better layout a sheet that is linked to a External Web query

suprsnipes

Active Member
Joined
Apr 26, 2009
Messages
434
The problem I'm having.

The sheet that I am placing the data on has blanks on it because I don't know of any other way to display the data after it is retrieved using Excels external website query. What I have been doing is copying the data from one sheet to another using formula's then using the Data / Filter function selecting (NonBlanks).

There is probably a much better way to display the information, I'm not sure at which point you could do this I guess with VBA code you could but that is out of my league so my only other option is using formula's so that would mean using sheet 1 to get the data and using sheet 2 to display it in a better fashion. Can this be done?

Any help would be appreciated.
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Care to post a tiny sample from the area you copy by means of formulas to a different sheet and the formula you invoke?
 
Upvote 0
I do a considerable amount of Website query every day. Likely there are many different ways to process the information. The end result of reaching the goal is the whole idea IMO.

The query comes in "their" cell arrangement so I also use formulas in different cells referencing their cells, to get only the data I need. (Skipping all those blank cells as you say). I am thinking you are doing the same and would think there is nothing wrong with that approach.

But after you get the initial cells you want, one has to do something with that info.

If the referenced cells is all you need, then perhaps you are done. But I tend to do many things with those cells of information and that is where "VBA Macros" become very useful and powerful for processing those cells.

I would suggest if you are having any difficulty processing the additional data needs, try some very simple steps you currently are doing using the VBA macro recorder. It is easier than one thinks, and perhaps may be a benefit to you.

Chuck
 
Upvote 0
Excel Workbook
ABCDEFGH
1DateTimeCurrencyEventImportanceActualForecastPrevious
2Mon16:00Currency: jpyJPY Leading Index (JAN )10190.00%102.3010140.00%
3Mar-07
520:30Currency: eurEUR Euro-Zone Sentix Investor Confidence (MAR)1710.00%17.21670.00%
6Tue10:00Currency: nzdNZD QV House Prices (YoY) (FEB)-1.70%-1.50%
71-Mar
810:50Currency: jpyJPY Trade Balance - BOP Basis (Yen) (JAN)-394.5B-371.8B768.8B
1011:01Currency: gbpGBP BRC Sales (FEB)-0.40%0.70%2.30%
1111:01Currency: gbpGBP RICS House Price Balance (FEB)-26%-26%-31%
1311:30Currency: audAUD NAB Business Conditions (FEB)-2-6
1411:30Currency: audAUD NAB Business Confidence (FEB)1400.00%400.00%
1517:45Currency: chfCHF Unemployment Rate (FEB)3.60%3.70%3.80%
1717:45Currency: chfCHF Unemployment Rate s.a. (FEB)3.40%3.40%3.50%
19Wed0:15Currency: cadCAD Housing Starts (FEB)181.9K174.0K170.6K
201-Mar
wdailyfx
 
Upvote 0
Excel Workbook
ABCDEFGH
1DayTimeFXDescriptionLevelPreviousForecastActual
2Mon16:00JPYLeading Index (JAN )101.4102.3101.9
520:30EUREuro-Zone Sentix Investor Confidence (MAR)16.717.217.1
6Tue10:00NZDQV House Prices (YoY) (FEB)-0.015-0.017
810:50JPYTrade Balance - BOP Basis (Yen) (JAN)768.8B-371.8B-394.5B
1011:01GBPBRC Sales (FEB)0.0230.007-0.004
1111:01GBPRICS House Price Balance (FEB)-0.31-0.26-0.26
1311:30AUDNAB Business Conditions (FEB)-6-2
1411:30AUDNAB Business Confidence (FEB)414
1517:45CHFUnemployment Rate (FEB)0.0380.0370.036
1717:45CHFUnemployment Rate s.a. (FEB)0.0350.0340.034
19Wed0:15CADHousing Starts (FEB)170.6K174.0K181.9K
fxreader


This is what it looks like on the second sheet when I use the NonBlanks feature. What I want to do is re-create the sheet so I don't have to use NonBlanks. One additional task I want to be able to do with the above is filling in each of the days.
 
Last edited:
Upvote 0
The formula's I am using are very simple and are as follows;

fxreader

<table style="font-family: Arial; font-size: 10pt; border-style: groove; border-color: rgb(0, 255, 0); background-color: rgb(255, 252, 249); color: rgb(0, 0, 0);"><tbody><tr><td>Spreadsheet Formulas</td></tr><tr><td><table style="font-family: Arial; font-size: 9pt;" border="1" cellpadding="2" cellspacing="0"><tbody><tr style="background-color: rgb(202, 202, 202); font-size: 10pt;"><td>Cell</td><td>Formula</td></tr><tr><td>A2</td><td>=IF(wdailyfx!A2="Mon",wdailyfx!A2,IF(wdailyfx!A2="Tue",wdailyfx!A2,IF(wdailyfx!A2="Wed",wdailyfx!A2,IF(wdailyfx!A2="Thu",wdailyfx!A2,IF(wdailyfx!A2="Fri",wdailyfx!A2,IF(wdailyfx!A2="Sat",wdailyfx!A2,""))))))</td></tr><tr><td>B2</td><td>=IF(wdailyfx!C2<>"",wdailyfx!B2,"")</td></tr><tr><td>C2</td><td>=IF(wdailyfx!C2<>"",LEFT(wdailyfx!D2,3),"")</td></tr><tr><td>D2</td><td>=IF(wdailyfx!C2<>"",MID(wdailyfx!D2,5,100),"")</td></tr><tr><td>E2</td><td>=IF(MID(wdailyfx!E2,13,6)="medium","Med",IF(MID(wdailyfx!E2,13,6)="high","High",""))</td></tr><tr><td>F2</td><td>=IF(wdailyfx!H2<>"",wdailyfx!H2,"")</td></tr><tr><td>G2</td><td>=IF(wdailyfx!G2<>"",wdailyfx!G2,"")</td></tr><tr><td>H2</td><td>=IF(wdailyfx!F2<>"",wdailyfx!F2,"")</td></tr></tbody></table></td></tr></tbody></table>

Excel tables to the web >> Excel Jeanie HTML 4
 
Upvote 0

Forum statistics

Threads
1,224,505
Messages
6,179,151
Members
452,891
Latest member
JUSTOUTOFMYREACH

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