Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
Solved

# Convert Scientific notation into Decimal values.

Posted on 2010-08-16
Medium Priority
856 Views
The formula was to calc the diff between send and recieve times where they were both >0
otherwise put "" .. this way its ignored by the xl AVERAGE Function; that data is in Column T and the =AVERAGE(T2:T26877) is in cell T1.Please see the spreadsheet attached.Please help me write the formula for above requirement in the spreadsheet attached and convert all the columns with scientific notation to decimal values,your help is highly appreciated.

Dump.csv
0
Question by:zonate_toaster
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 3
• 3

Author Comment

ID: 33449007
Calculation for average is performed using column P and  Q for column T(Q-P).
0

LVL 32

Expert Comment

ID: 33453428
1/ You posted a csv file, not an excel format.... it just has data within.

2/ the scientific notation within CSV is automatically converted to a "number" when csv opened in excel. In an excel file, you still see the Exponent format only  because the cell width is small. Widen the cell and it shows 1280000000000000000

3/ All your time values are the same in the CSV... 1280000000000000000; also no need to send so much data,  5 lines would often be enough for testing.

4/ I believe the Formula Column T you are looking for is

``````=IF(P2>0,IF(Q2>0,Q2-P2,""),"")
``````
0

LVL 18

Expert Comment

ID: 33473124
You don't need to change cells to "" in order to correctly calculate an average. Just use SUM(<range>)/COUNTIF(<range>,">0")
0

LVL 32

Expert Comment

ID: 33473596
except that zero may be  a valid value to include in the average.
Same for negative , though unlikely in this case.
0

LVL 18

Expert Comment

ID: 33473623
He did say at the beginning that he only wants to take into account values that are >0.
0

LVL 32

Expert Comment

ID: 33474078
"both >0"   they could be equal....
0

LVL 18

Accepted Solution

Cluskitt earned 2000 total points
ID: 33474153
SUM(<range>)/AND(COUNTIF(<range>,"<>0"),COUNTIF(<range>,"<>"""""))

That should simply add them and not take into account whether it's a 0 or empty.
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
New style of hardware planning for Microsoft Exchange server.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
###### Suggested Courses
Course of the Month4 days, 8 hours left to enroll