Start Free Trial
Come for the solution, stay for everything else.
Start Free Trial
NEED EXCEL Function - Imported data needs to be converted from Text to Number
I'm importing data from a SQL Server 2008 Standard DB to Excel 2010.
The Column I'm importing is varchar and I need a function to convert it to a number in Excel so that I can run an IF function.
I've tried a lot of functions, but nothing does the trick.
8/22/2022 - Mon
There are various ways you could do it, without a formula.
Select a blank cell, select the data to be converted, goto Paste>Paste Speciall... and in the Operation section select Add(or Subtract).
Or you could convert it in SQL using CAST/CONVERT.
Thanks imnorie - This is a database connection, not a copy/paste import. And, the data will be re-imported daily.
I cannot modify the SQL Server DB.
ASKER CERTIFIED SOLUTION
Log in or sign up to see answer
Become an EE member today
7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
hmm - I've never seen that one.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
Plans and Pricing
Certified Expert Program
© 1996-2022 Experts Exchange, LLC. All rights reserved. Covered by US Patent