Solved

Convert Scientific notation into Decimal values.

Posted on 2010-08-16
7
799 Views
Last Modified: 2012-05-10
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
Comment
Question by:zonate_toaster
  • 3
  • 3
7 Comments
 

Author Comment

by:zonate_toaster
Comment Utility
Calculation for average is performed using column P and  Q for column T(Q-P).
0
 
LVL 32

Expert Comment

by:Robberbaron (robr)
Comment Utility
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,""),"")

Open in new window

0
 
LVL 18

Expert Comment

by:Cluskitt
Comment Utility
You don't need to change cells to "" in order to correctly calculate an average. Just use SUM(<range>)/COUNTIF(<range>,">0")
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 32

Expert Comment

by:Robberbaron (robr)
Comment Utility
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

by:Cluskitt
Comment Utility
He did say at the beginning that he only wants to take into account values that are >0.
0
 
LVL 32

Expert Comment

by:Robberbaron (robr)
Comment Utility
"both >0"   they could be equal....
0
 
LVL 18

Accepted Solution

by:
Cluskitt earned 500 total points
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now