Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 144
Default External Data-Changing Numeric Formatting

Hi All,
I am importing external data via database query. There is one column of
data that is in the positive position that needs to be converted into the
negative position (entire column). i.e. 21.63 needs to read as -21.63. Can
this be done?

Thanks in advance.
Cheryl
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tim Tim is offline
external usenet poster
 
Posts: 145
Default External Data-Changing Numeric Formatting

Just negate the value in your SQL:

select -t.columname from tablename t

Tim


"Cheryl" wrote in message
...
Hi All,
I am importing external data via database query. There is one column of
data that is in the positive position that needs to be converted into the
negative position (entire column). i.e. 21.63 needs to read as -21.63.
Can
this be done?

Thanks in advance.
Cheryl



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 144
Default External Data-Changing Numeric Formatting

Thanks Tim. Couldn't believe the answer could be so simple!!!!
Cheryl

"Tim" wrote:

Just negate the value in your SQL:

select -t.columname from tablename t

Tim


"Cheryl" wrote in message
...
Hi All,
I am importing external data via database query. There is one column of
data that is in the positive position that needs to be converted into the
negative position (entire column). i.e. 21.63 needs to read as -21.63.
Can
this be done?

Thanks in advance.
Cheryl




Reply
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
Changing External Data Location Jeff Harbin Links and Linking in Excel 1 March 31st 08 08:43 AM
Changing Query to get external data Andyjim Excel Discussion (Misc queries) 1 February 1st 08 07:23 PM
import external data from changing file name nathan Excel Worksheet Functions 2 April 6th 05 04:39 PM
Pivot and changing External data source Peter Excel Discussion (Misc queries) 3 January 13th 05 04:59 PM
Stripping out non-numeric values from external data source Eric Rydell Excel Programming 1 December 30th 03 01:08 AM


All times are GMT +1. The time now is 07:45 PM.

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

About Us

"It's about Microsoft Excel"