# Avoiding Exponential Numbers During Import

Dec 16, 2008

I have some short code that imports data and account numbers that is "|" delimited. The problem I am having is that during the import, excel converts some of the account numbers to exponential numbers.

e.g. it converts 542690E24 to 5.4269E+29.

Is there a way to avoid this from occuring during the import? I tried to format the destination cells as '000000000' (all accounts are 9 digits) but it didn't work.

## Exponential Value For Larger Numbers?

Feb 27, 2014

I have the following data

A1 - 65.23
A2 - 1923.52
A3 - 945.18
A4 - 182.54

In column B

B1 =exp(A1)
B4 =exp(A4)

both are fine, however

B2 =exp(A2) - it is showing #NUM
B3 =exp(A3) - it is showing #NUM

Same case for all larger numbers

## Avoiding Duplicate Serial Numbers

Nov 20, 2008

I have in my sheet from C13 to C350 many serial numbers which I manually type them in. These serials are 5 digit numbers, and I was just wondering if there's a function or formula that will not allow duplicate numbers in that column.

## Import Large Text File Of Numbers Without Excel Splitting Numbers?

Jul 19, 2014

I have a text file with rows and columns of numbers ranging from 1-4 digits that I'd like to import/copy into Excel with each number being in its own cell. But whenever I copy/try to import, Excel splits all of the 3-4 digit numbers up into single digit numbers. The text file has 10,000+ columns (each number occupies two columns so I have half of that amount in numbers) and 300+ lines.

Is the file simply too large for Excel to handle or is there a way I can do this?

## Switching Page Numbers During XML Import Using VBA

Aug 4, 2012

I've been programming my VBA script to import data from an XML file which looks like this:

HTML Code:
<response responseStatus="success"> <result xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:type="apiPagination"> <currentPage>1</currentPage> <list xsi:type="apiReport"> <Variable1>Name1</Variable1> <Variable2>41</Variable2> </list> <list xsi:type="apiReport"> <Variable1>Name2</Variable1> <Variable2>20</Variable2> </list>

So far everything works great and it imports everything correctly to Excel 2010. This is the code I'm using:

Code:
Sub test()
Dim WS As Worksheet: Set WS = ActiveSheet
Dim req As New XMLHTTP
Dim PageNumber As Integer
Dim Url As String
PageNumber = 1

[code].....

The problem is that I only import page1 (only link [URL])

How do I get all URLs so that it also imports the data located on other pagenumbers? For example [URL]

## Numbers Turn Into Dates When Import Them

Apr 9, 2013

Some of my numbers turn into dates when I try to import them. Is there anyway around this problem?

I have 500k+ rows with data, so looking through each and every cell is not an option.

## Import Single Numbers With Ms Query

May 19, 2009

I'm Importing Columns from one sheet to another in the same workbook. imports good But:

1- Some columns with first records/rows blank do not import at all.

2- I have a column with some letter/numbers combinations and single numbers at times. Those single numbers are not imported. And half my data in that column are single numbers.

## Exponential Format

Apr 25, 2008

I am working with a program that creates numbers as follows:

Instead of -2.74E-6, the program writes -2.74-6. The E is left off to save space.

When I import this data, Excel automatically "does the math" so the cell reads: -8.74 instead of -2.74E-6.

## Calculate Exponential Forecast

Jun 18, 2008

I have inherited a series of data relating to a change in a specification over a period of time and a number of cycles.

See attached.

There is already a chart which shows the data and has an exponential line.

I want to find the value of Cycles where the Average Flash exponential from the chart line is 0.131.

FYI this is to plot deterioration in a piece of tooling, 0.131 being the accepted warning level. If you feel there is a better statistical model to use for that application then I'm all ears!

## Excel 2007 :: Exponential Interpolation

Dec 12, 2013

I have a frequency table (attached) that I need to be able to interpolate values between the known values on something other than a linear basis (e.g. exponential or logarithmic).

## Exponential Interpolation For Different Types Of Curves?

Apr 16, 2014

interpolating numbers in excel for an exponential function. I want to know how to be able to curve a curve in 4 different ways essentially the 2 that make up the two halves of a peak and the 2 that make up the two halves of a trough. I've tried using the LINEST function to create this interpolation and it's good to get 1 of the 4 curves I'm interested in. how to do the other 3? I'm also interested in knowing if these functions "whip the tail up" as in almost like how the tail end of a "sin" function flips back up. here it is.

[URL]

For this example of the exponential function, it creates the curve in one particular direction. I was wondering how I would do it to have it curve in another direction, for example I was testing the same function, but going downwards, and also having the tail curve back up (by hump I mean to simulate a gaussian distribution with the tails) how would I do that. seems like I now have part 1 of 4 aspects of the curve. here's the attached file to show what I mean. I want to get the hump going up and then sort of reflected along the y-axis and then similar features if I were to reflect the curves on the x axis. is it possible with the functions in excel? Linest test.xlsx

## Changing Default Exponential Format

Jan 28, 2014

In excel if it changes number to exponential format it would default to, for example if number is 12345 -> 1.2345e4, 0.012345 ->1.2345e-2

I was wondering it is possible to which a function to change this default format ie for example 0.012345 -> 12.345e-3

I basically want this kind of formatting as its would display information in terms of milli, micro, pico (or the opposite side kilo, mega, giga and so on).

## Exponential Weight Volatility Average

Jul 25, 2006

to write a function that will exponentially weight a series of returns by a certain decay factor.

I have excel spreadsheets that can do this over several columns, like this

series of returns... rtns squared
2.50% =2.50%*2.50%
3.50% =3.50%*3.50%
5.00% =5.00%*5.00%
1.01% =1.01%*1.01%
0.75% =0.75%*0.75%
4.01% =4.01%*4.01%
-2.78% =-2.78%*-2.78%

## Derive Exponential Function From Limited Information

Dec 5, 2009

I've been working on a ss that requires me to create a function to determine a value from a exponential curve where the area of the curve is variable . The terminal points, 0,0 and 100,100 remain constant and the curve is symmetrical at the 45degree angle. How can I derive a function knowing only these things.

Here is an image to crudely illustrate what i mean [url]

The area can be 10, 20, 35% it doesn't matter, I need a way to determine the function from just the area!

## Exponential Trend Line Is Off From Input Data

Dec 6, 2013

I am trying to find the exponential equation from a set of data in excel. The problem is that the graph does not follow the scatter plotted points on the graph. How would you remedy this?

## Code Converting Text To Exponential Notation

Dec 26, 2009

I have a bit of code that is grabbing only the first 9 positions of an alpha-numeric string. The problem I am running into is that when the alpha-numberic value contains an "E", the code turns it into an exponential number in error.

For example, I have the following in column G: 01877E107000. When I run the code, it turns into an alpha-numeric value. The result should be 01877E107 (in column K). I tried using the text function within the code.

## Exponential Number (formatted As Text) Appearance

May 1, 2007

I was wondering if anyone could tell me how to do away with the "Exponential" appearance of numbers (in Excel) when they are formatted as text. I am working with National Stock Numbers and there are no required computations based on them being formatted as a number ... AND ... one of my constraints is that they are required to be formatted as text when imported into an Access database ...

## Stop Hexadecimal Number Displaying As Exponential & Convert To Decimal

May 31, 2008

I use hex2dec frequently and input with a hex 'E' such as 05e8 is misinterpreted as exponential notation. I can use =hex2dec("05e8") to get the correct value, but when the hex number is in another cell, I get the exponent assumption/ conversion (to 5 x 10e8), or a # NUM error if it is in quotes. This seems like a blatant problem but I've found no mention of it in searches or FAQs.

## Avoiding #NUM!

Sep 13, 2005

I've got a couple of formulas for doing in single step:

B A
A B
F D
A F
A #NUM!
D #NUM!
F #NUM!
D #NUM!

but I'm unable to avoid those #NUM!

## Avoiding VALUE When Drag Downwards

Jul 9, 2014

I have a perfect formula

=IF(A2>1,A2/1.16,"")

It does exactly what I need , it does not calculate on empty rows , but it calculates on heading rows , how can I modify to avoid this.

See file attached , I don't want the value on b6 when I drag downwards.

07 09 value avoiding.xls‎

## Avoiding Re-calculation F9

Oct 18, 2009

I have a sheet that requires me to press F9 each time I open it to re-calculate all cells. Why do I need to do this on this 1 sheet? A few months back it was fine and didn't require the extra attention.

## Avoiding #VALUE Error

Jan 25, 2010

Attached is a worksheet to show...

1 - D2- because the supplier has no address it shows up as "0" can you guys help me fix that to show nothing?

2 - Can you guys help me build a formula for E8? Right now I have it as \$C8*\$D8 it works fine until C or D is empty it gives me the #VALUE because I have a formula in D. Because of the #VALUE my formula in E14,15,16 does not work.

## Avoiding \$0.00 Display

Jul 29, 2006

I am multiplying cells and copy down the column to make it easy.

Cell D17, has "=A17*B17" in it. This is fine when there are numbers to compute, but when there aren't, D17 will display "0". How can I have cell D17 remain empty if nothing is put into A17 and B17?

## Avoiding Double Counting?

Apr 7, 2014

I am trying to avoid double counting two separate rows with the same columns. For example:

StockFund AFund BFund CFund DFund EFund FFund GCountDesired Count
LKOH111100044
LKOH001111042

If I have two stock codes the same in column A (not necessarily one below the other), I only want to count one of the occurrences per fund. So I would like to avoid counting the duplicate records for funds C and D. The desired outcome for the total holdings of LKOH should be 6 and not 8.

## Avoiding Circular Reference

Jun 25, 2009

Let's say I have a sheet called Category. Column A contains code; column B contains description. Now I have another sheet in which either column F contains a category code or column G contains a category description. I want to look up the code in column F if the description is given or the description in column G if the code is given. I thought I might be able to do something like:

in F2: IF(\$G2<>"",INDEX(Category!A:A,MATCH(\$G2,Category!\$B:\$B,0)),"")
in G2: IF(\$F2<>"",INDEX(Category!B:B,MATCH(\$F2,Category!\$A:\$A,0)),"")

(and then copy the formulae down the rest of the columns of course). In other words, if the cells were both empty then there would be no common dependency; it would just set them both to empty. However, if I provided either value then it would overwrite the formula in that cell so there would be only one formula left and nothing to be circular dependent about.

However, it must be looking at the condition itself and seeing the two columns in common because it is coming up with a circular dependency. I thought I might be able to trick it by having IF(INDEX(\$G:\$G,ROW())<>"",... but it still doesn't work.
This sort of situation must crop up from time to time. How do we get around it?

## Avoiding #value! Errors In My Formula

Nov 17, 2009

I have the formula =today()-g3 which works fine to let me know how many days a loan has been out. However when there is no date in column g i get #value! errors. Can anyone reccomend an alteration to the formula to avoid these errors showing up as they dont look great.

## Avoiding Arrays - Workaround

Sep 10, 2008

How do I avoid using arrays? I am reaching Excel 2003's limit.

Our workbook has many worksheets, each with tables generated from queries that have multiple columns. On the first sheet we have arrays that refer to the other worksheets. Such as:

{=SUM(IF(('Prime Change Orders'!G\$2:G\$10=C17)*('Prime Change Orders'!D\$2:D\$10

## Avoiding Complete Duplicates

Apr 22, 2006

I have a worksheet of Users with columns pertaining to first, middle, and last names. I want to allow duplicates in each column but not a completely duplicated record.

## Avoiding Formulas In Many Rows

May 7, 2006

I have a simple spreadsheet that will be used by others for records management (rehabilitation case management). I have entered the code for most of the 'stuff' that I need to make the workbook easy and simple to use, and get the data back to head office each month.

Because the users will be emailing their records and I haven't yet worked out a way of sending just the "open cases", I need to keep the workbook/worksheets small (and to maintain good programming).

In column L, I have copied this formula from L2:L501:

=IF(ISBLANK(\$K2),"",VLOOKUP(\$K2,LOCSTAT!\$A\$1:\$N\$299,2,FALSE))

Column K is where the case-managed person works and so column L returns the geographical location value. Obviously it's blank until the case is opened by starting a new record and entering each field with data. For example, the user can select " Finance" from a validated drop-down list and the adjacent cell (to the right) will look up the value and return "Parramatta".

How do I translate the cell formula to some VBA?

I suspect that the static VLOOKUP range in the formula (LOCSTAT!\$A\$1:\$N\$299) will need to be dynamic range as well - I can follow the instructions for a single column dynamic range, but I am also getting lost working out how I can create a dynamic range for all data on a dedicated worksheet.

I'll be able to translate a solution to other cells as well

## Avoiding Double Vlookup

Jun 9, 2006

I am tring to find a more efficient way of avoiding a double Vlookup function.

=IF(ISNA(VLOOKUP(A6,Sunday!\$A\$72:\$AM\$86,38,FALSE)),"",VLOOKUP(A6,Sunday!\$A\$72:\$AM\$86,38,FALSE))

I have read over this forum but still haven't understood any solutions.

A6 is a name.
The name may not be on the worksheet the function is looking up.