Quantcast
Viewing all articles
Browse latest Browse all 11829

SQL-Excel Data Connection: How to update only one row in Excel to the last row in a continuously updated SQL Table?

Hello Experts, 

I am using excel to display information from an SQL database. I want to know how the data from SQL database would only update one row in Excel only. I might have worded this question funny. Let me explain this more clearly.

For example, below is the SQL table:

TimestampDegree Value
11/10/2014 8:45:41 0.48
11/10/2014 8:45:42 0.68
11/10/2014 8:45:43 0.78
11/10/2014 8:45:44 0.96

A device (a data logger)  is continuously push data to the SQL server base on what it is sensing. 

In Excel, I only want to display the latest timestamp and the degree value every time I click refresh or automated refreshing occurs. 

Ideal Result in Excel:

TimestampDegree Value
11/10/2014 8:45:44 0.96

Is there a way to do this using Excel Function and not through VBA/Macro?

Much appreciated!





Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>