LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 64
Default Query SQL Server from Excel

I'm wondering how best to achieve this -- I have an INSERT INTO statement
which exports data from my Excel worksheet to SQL Server, but I'm not sure
how I can query/retrieve this data from SQL Server, and have it populate the
EXACT cell from which it originated.

For example --
--- On one worksheet, I enter data (or select an item data from a drop-down
menu)
--- then on another worksheet, I present the data in cells based on
conditional =IF formulas [=IF('Products'!G14="No Account","Sample
Customer",'Products'!G14)], and perform some calculations using additional
=IF formulas [=IF(H170,H17*B17,G17*0.8)]
--- Finally, on an additional worksheet, I render the data which will be
pushed to SQL Server with conditional =IF formulas such as
[=IF(Configurator!D48=TRUE,"Generic","No Product")]

I went here and read Chip Pearson and Dave Peterson's comments on the
ability to delete data without deleting the formula:
http://www.eggheadcafe.com/software/...n-formula.aspx

Is there a way that I can retrieve data from SQL Server and present it in
it's original location on an Excel worksheet to perform additional
calculations/analysis?

Thanks in advance for all advice and suggestions


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel with SQL Query (*.sql) and SQL Server Kode Excel Discussion (Misc queries) 2 May 8th 07 01:10 PM
Query SQL Server from Excel Doctorjones_md Excel Discussion (Misc queries) 1 January 6th 07 08:35 AM
Query SQL Server from Excel Doctorjones_md Excel Worksheet Functions 1 January 6th 07 08:35 AM
Excel not finding the server in web query JM Excel Discussion (Misc queries) 0 February 12th 06 10:46 PM
Execute a query against an excel doc and a sql server db Rick[_14_] Excel Programming 1 August 30th 03 02:50 PM


All times are GMT +1. The time now is 02:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"