Excel and VBA - Data Query and Sage Line 50

axl2derv

New Member
Joined
Sep 2, 2010
Messages
7
Hi

I have used Excel to create a data query for Sage Line 50. From this data, I created a P&L and Balance Sheet using all of the nominal information.

The problem I have is that I have a massive P&L and Balance Sheet due to all of the nominal codes being listed even though they do not have values.

My spreadsheets have the months of the year across the top and the nominal codes down the side and I use Vlookup to pull the data from the table.

I need to find away to only pull the nominal codes through that have values attached to them and when I refresh my table, it will add any new codes to my P&L or Balance Sheet.

I think I may need to use VBA for this but I am not familiar with this part of excel.

Thanks.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,224,603
Messages
6,179,854
Members
452,948
Latest member
UsmanAli786

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