Get data every 2 columns at a time in excel
i would like to read the following excel file
and plot every 2 columns at one time given an interval. for example at
7 am i ll plot corresponding I and V and at 8 am so on.. but even
though i programmed my VI to read by increasing index 0,2,4 so on it
stops when it iterates half way i.e i=12..this only plots half the
data..im reading from delimited text file..how can i read from a true
xls file and plot all the data as desired?
Attachments:
table.xls 18 KB
table mode.vi 23 KB
Duplicate Post
Similar Messages
-
APEX CSS - How do I get data in report columns to wrap?
I found information here http://www.orafaq.com/wiki/APEX_FAQ
About How do I get data in report columns to wrap?
This works and another way to do it is by adding the CSS directly into the
Home>Application Builder>Application 137>Page 1>Report Attributes>Column Attributes page
in the Column Formatting area. I added 'white-space:normal' and this works in FF but in
IE it has a different behavior.
In FireFox
testasdgadhad
gadfadgadgadg
adgafhsrgjsgnsfg
nsdfbadfafhafha
dfhadfh
In Internet Explorer
testasdgadhad gadfadgadgadg adgafhsrgjsgnsfg nsdfbadfafhafha dfhadfh
Is there a way to force it so it display in IE the same way that it displays in FF?
The correct display format is FF.
Thanks,
Nestor :)I have try this because I found it during a search and it makes no difference in IE.
This is what I am using now 'display: block; width: 100px;max-width:100px;white-space:normal'
I also tried 'display:block; width:500px'
If I use the values 'normal' or 'pre' for white-space' it works in FireFox but not in IE, The display block
does not seem to make a difference. It seems that all I need is 'white-space:normal' but again
it does not works on IE.
Thanks,
Nestor :-) -
Getting data of two columns in one column
Hi,
I need to show data of two columns in one column, I also want to insert space between the data of both the columns in the output
can i use something like this ?
(IMPORTER_NAME+' '+IMPORTER_ADDRESS) as "Location"872435 wrote:
Hi,
I need to show data of two columns in one column, I also want to insert space between the data of both the columns in the output
can i use something like this ?
(IMPORTER_NAME+' '+IMPORTER_ADDRESS) as "Location"You can either use the CONCAT function or || -
SQL> select 'Hello'||' '||'World', CONCAT(CONCAT('Hello',' '),'World') from dual;
'HELLO'||'' CONCAT(CONC
Hello World Hello WorldHTH
David -
How to get Data from SAP B1 through Journal Entries objects (Excel VBA)
Hi Genius
i had try to login SAB B1 thorugh MS Excel VBA code and it worked well. but i need some questions regards getting the data from after login. that means i want the Posting date, Transaction No, account code, debit and credit amount from Journal entries posted in a particular day through MS excel VBA into excel sheets 1 cell A1:E1
how i get it if any possible ways to do that
here my code to login
Public Sub login()
Sheets("Login").Select 'access the login tab
Worksheets("Login").Range("B1").Activate 'put focus on cell B1 (manager)
B1UserID = Trim(ActiveCell.Value2) 'set Businsss One user
ActiveCell.Offset(1, 0).Activate
B1Password = Trim(ActiveCell.Value2) 'set Business One password
ActiveCell.Offset(1, 0).Activate
sqluser = Trim(ActiveCell.Value2) 'set SQL user
ActiveCell.Offset(1, 0).Activate
sqlpass = Trim(ActiveCell.Value2) 'set SQL password
ActiveCell.Offset(1, 0).Activate
Db = Trim(ActiveCell.Value2) 'set Database name
ActiveCell.Offset(1, 0).Activate
Server = Trim(ActiveCell.Value2) 'set Server name
Set company1 = New SAPbobsCOM.Company 'initialate DI company object
company1.DbServerType = dst_MSSQL2005
company1.Server = Server
company1.DbUserName = sqluser
company1.DbPassword = sqlpass
company1.CompanyDB = Db
company1.UserName = B1UserID
company1.Password = B1Password
'connect to the database
lRetCode = company1.Connect
If lRetCode <> 0 Then
sErrMsg = company1.GetLastErrorDescription
MsgBox (sErrMsg)
Else
MsgBox ("Connected to: " & company1.CompanyName)
End If
End Sub
pls help me
advance thanks to solversGordons way is the easiest - just query the OJDT table for journal entry headers and JDT1 for journal entry lines if needed.
But if you want to work with the business objects:
'Journal entry
Dim oJE As SAPbobsCOM.JournalEntries
Set oJE = company1.GetBusinessObject(oJournalEntries)
oJE.GetByKey(1234)
Dim postingDate as String
postingDate = oJE.DueDate
'etc etc -
Not able to display data in separate columns using Unicode encoding
Hi,
Iam using Unicode encoding in my Java appln to support Japanese characters while downloading CSV report. But using the Unicode encoding displays all data in the first column of Excel sheet.
Please let me know how to display data in different columns using Unicode encoding in Excel sheet.
This is an urgent need. Please help me out.Hi,
I have no problem with item :P15_EV_LCL this is having a value my probem here is i am using java script to display the value in different color based on the condtion case
eg:
select
case
TRUNC((
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2)
= :P15_EV_LCL
then
span style="background-color:lightgreen"
|| TRUNC((
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2) || '%' || /span
else
span style="background-color:yellow"
|| TRUNC(
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2) || '%' || /span
end "Effort"
from actuals Z
If i dont use this <Span style="Background-color:color"> i am able to generate data in excel sheet if i use this color coding i am not able to get data in spread sheet.
Please suggest
Thanks
Sudhir
Edited by: Sudhir_N on Mar 23, 2009 10:00 PM -
How to Select data using same column name from 3 remote database
Hi,
Can anyone help me on how to get data with same column names from 3 remote database and a single alias.
Ex.
SELECT *
a.name, b.status, SUM(b.qty) qantity, MAX(b.date) date_as_of
FROM
*((table1@remotedatabase1, table1@remotedatabase2, table1@remotedatabase3)a,*
*(table1@remotedatabase1, table1@remotedatabase2, table1@remotedatabase3)b)*
WHERE b.dept = 'finance'
AND a.position = 'admin'
AND a.latest = 'Y' AND (b.status <> 'TRM') AND b.qty > 0;
GROUP BY a.name, b.status ;
NOTE: the bold statements is just an example of what I want to do but I always gets an error beacause of ambiguous columns.
Thanks in advnce. :)
Edited by: user12994685 on Jan 4, 2011 9:42 PMuser12994685 wrote:
Can anyone help me on how to get data with same column names from 3 remote database and a single alias.Invalid. This does not make sense and breaks all scope resolution rules. And whether this is in a single database, or uses tables across databases, is irrelevant.
Each object must be uniquely identified. So you cannot do this:
select * from (table1@remotedatabase1, table1@remotedatabase2, table1@remotedatabase3) a3 objects cannot share the same alias. Example:
SQL> select * from (dual, dual) d;
select * from (dual, dual) d
ERROR at line 1:
ORA-00907: missing right parenthesisYou need to combine the objects - using a join or union or similar. So it will need to be done as follows:
SQL> select * from (select * from dual d1, dual d2) d;
select * from (select * from dual d1, dual d2) d
ERROR at line 1:
ORA-00918: column ambiguously definedHowever, we need to have unique column names in a SQL projection - so the join of the tables need to project a unique set of columns. Thus:
SQL> select * from (select d1.dummy as dummy1, d2.dummy as dummy2 from dual d1, dual d2) d;
DUM DUM
X X
SQL> I suggest that you look closely at what scope is and how it applies in the SQL language - and ignore whether the objects referenced are local or remote as it has no impact to fundamentals of scope resolution. -
WinPE powershell get-date incorrect
Greetings,
We are running the latest MDT, WinPE and CM2012 CU2.
I wanted to track the time it takes to build an OS.
I have a powershell script that does a simple get-date during the WinPE phase and a powershell script that does a get-date at the end of the OSD. The one at the end is fine. The get-date in WinPE is returning a time 18 hours ahead of the current time.
We are GMT+10 and the computer BIOS that we are deploying to has the correct date/time. Is this some weird WinPE powershell default that all datetimes are 18 hours ahead of the real datetime?
Cheers
David ZIt's because the time zone in WinPe is Pacific Standard Time.
You can change the time zone in winpe, here is a guide:
http://adminnexus.blogspot.se/search?q=winpe -
Not able to display data in different columns using Unicode encoding
Hi,
Iam using Unicode encoding in my Java appln to support Japanese characters while downloading CSV report. But using the Unicode encoding displays all data in the first column of Excel sheet.
Please let me know how to display data in different columns using Unicode encoding in Excel sheet.Hi Venkat,
After extracting data into DSO check the request whether active or not.
Check data in DSO in contents.
If is there any restrictions on info providers in Queries.
Let us know status clearly.......
Reg
Pra -
Hi All,
I am fairly new to programming macros in Excel VBA, and right now I need to write a macro that can open a PDF file and read it and get data from there and paste it into an excel spread sheet. Is this possible? If so can you give me some sample code
that would do that?I did this once many years ago. I had to have Acrobat Professional installed ($$$). There are free pdf parsers that you access from VBA using Win32 commands like:
https://code.google.com/p/peepdf/
Maybe something has changed since I did it -
Getting the lowest and highest dates from a column
<Praise>Numbers is absolutely incredible. Kudos to the Apple team. From the first time I've used it, it has enabled this average spreadsheet user to create awe-inspiring layouts from average data. I'm extremely excited to see where Apple brings </Praise>
What I am trying to do though is this. I have a column with dates in it. I'm trying to get the lowest and highest dates in that column for a report. For instance, "Date range between 7/1/2007 and 9/11/2007".
Any help would be very much appreciatedLet me also pose this. I've been asked to create a two date ranges for this from the same data. This report will need to be updated every two months. Is there a way to specify the spreadsheet to select only rows with a date between X and Y for processing?
Or, more likely, is there a way to access a cell name by reference from another field? Such that I have a "Current From", "Current To", "Historic From", and "Historic To" column. The value of these fields could be references to a row number that has the beginning and ending date, so that it selects all of the rows in between.
So I would have something like SUM(SourceSheet :: SourceTable :: A{CurrentTable :: A2} : SourceSheet :: SourceTable :: A{CurrentTable :: A3}) where CurrentTable A2 and A3 are "2" and "6" for rows A2:A6. Is this even possible? Hopefully I'm overcomplicating it and there's a magical function out there that I've missed. -
Get frequent data for each column of a table
What is the best way to get the most frequent data in each column of a table.
we have around 25 tables and each table has around 20 columns , so rather than writing group by for each column of table , is there any easy way to find this?
example we have table
Column A Column B Column C
Apple Monday Red
orange Tuesday Green
Apple Monday Red
Lemon Wednesday Green
Apple Thursday Red
in this table, column A's frequnt data is Apple , column B's frequent data is Monday , Column C's frequnt data is Red
Apple 3 Monday 2 Red 3
Orange 2 Tuesday 1 Green 2
Lemon 1 Wednesday 1
Thursday 1
Group by kind of query will give this result, but with 20 tables each having 20 - 30 columns if we need similar kind of result .. is there any way to get this data.Hi,
GROUP BY (using aggregate functions) is the best way to do what you described.
PIVOT and UNPIVOT are probably what you'd want in this case. The phrase "GROUP BY" may not actually appear in your code, but you'll essentially be doing a GROUP BY.
Analytic functions (rather than aggregate functions) can do the job, too, but they'll be less efficient. Analytic functions get you results about the groups, without losing each row's identify, but in this case, losing each row's identity is eactly what you want to do. You only want 'Apple' to appear 1 time, not 3 times.
The fact that you need to do the same query on 20 different tables suggests that there's something wrong with your table design. Wouldn't it be better to have 1 big table, with a new column that has 20 unique values instead?
I hope this answers your question.
If not, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables involved, so that the people who want to help you can re-create the problem and test their ideas.
Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
Simplify the problem as much as possible. For example, instead of posting a problem with 20 tables, each having 25 columns, post a similar problem involving, say, 2 tables, each with 3 columns.
Always say which version of Oracle you're using (for example, 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002 -
How do I get numbers to automatically add the next date down a column in numbers?
How do I get numbers to automatically add the next date down a column in numbers?
Hi Dd,
If you want the next date automaitcally filled in when you add a row to the bottom of the table, you can use a formula.
Here's an example, done in Numbers 2.3 (Numbers '09). The method is basically the same in Numbers 3.
Formulas in row 3:
B3: =B2+1
C3: =C2+7
D3: =D2+14
These have been filled down to the last row of the table.
The same table is shown below after three rows have been added by dragging the Row control handle (below the tab for row 7) down. No changes other than adding thse three rows were made by the user.
Note that rows 1 and 2 are header rows, and that row 2 contains the starting date for the seraies of date in each column. In the formula, the number at the end tells Numbers how many days to add to the previous date to get the next date.
Autofill of the formula requires that every non-header cell located above the cell into which the formula is to be filled contains the same formula.
Regards,
Barry -
- Using LabView version 6.1, is there anyway to change the "Time Between Points" indicator of (HH.MM.SS) to only (mm.ss), or to perhaps only (.ss) ?
- Need to set the data sampling rate to capture every 5 milliseconds, but the defaults is always to 20 or greater; even when the "Small Loop Delay" variable is adjusted down.
Thank you in advance.I have no idea what "Time between Points, and Small Loop Delay tools" is. If this is some code you downloaded, you should provide a linke to it. And, if you want to acquire analog data every 5 milliseconds from a DAQ board, that is possible with just about every DAQ board and is not related to the version of LabVIEW. You simply have to set the sample rate of the DAQ board to 200 samples/sec. If it's digital data, then there will be a problem getting consistent 5 msec data.
-
CachedRowset Error Getting Date with Time
We are using CachedRowSet and while getting Date from Oracle, it is missing the Time. i.e. It is just returning the Date and not the time.
e.g. If the DB has 26-01-2005 10:00:00 it is returning just 26-01-2005 and not the time. It is all 0:0:0.
What should be done in this case? Is this a bug or what?That's getTimestamp.Even tried that, but still getting time as 2005-02-09
00:00:00.0, and where as in the DB it is 2/9/2005
7:30:00 PMI simply cannot believe this to be true. But if indeed it is, then you have found a bug in Oracle's driver and would suggest you open a case with them to work out. One more thing to try though - what happens if you call getString instead? I don't know for sure if timestamp columns can be retrieved via getString, but if they can, what does it display? Also, are you sure you're getting the right row (correct query) and column versus what you're showing elsewhere (where you claim the DB shows 7:30:00 PM)? Are you getting the column via passing an integer, or a String column name, to the getTimestamp method? If an integer, maybe you're passing the wrong value (and therefor getting the wrong column value). -
not able to make outgoing calls in iphone4. Regularly i face this problem, at the same time i receive incoming call, can do net surfing, can access email and sms, only outgoing calls get failed every time. please answer to solve this problem
Good day Sidharth Namrta,
It sounds like you are unable to make any calls, but you can recieve them, and everything else seems to work fine. I recommend you use the troubleshooting in the following article to help you get that resolved, named:
iPhone: Troubleshooting issues making or receiving calls
Follow the steps below to resolve this issue. Please test after each step.
Toggle airplane mode: Tap Settings > Enable Airplane Mode, wait five seconds, then turn off airplane mode.
Check your phone settings:
Check your Do Not Disturb settings: Tap Settings > Do Not Disturb.
Check for any blocked phone numbers: Tap Settings > Phone > Blocked.
See if Call Forwarding is turned on: Tap Settings > Phone > Call Forwarding.
Ensure that your software is up to date:
Check for a carrier settings update.
Check for an iOS software update.
Note: Some updates may require a Wi-Fi connection.
If the iPhone has a SIM card, reseat the SIM card.
If the iPhone 4 or iPhone 4s is on the Verizon network, dial *228 from the iPhone and select option 2 to update the Preferred Roaming List (PRL). The PRL determines the cellular towers the phone uses for cellular service, selecting those with the best signal strength.
Reset the network settings: Tap Settings > General > Reset > Reset Network Settings.
Try to make or receive calls in another location.
Attempt to isolate to one network band:
If you're having the issue on LTE, disable LTE, if possible, and try again.
If you're having the issue on 3G/4G, disable 3G/4G, if possible, and try again.
Contact the carrier to check the following:
Your account is properly configured to use the specific iPhone that has the issue.
There are no localized service outages.
Your account doesn't have a billing-related block.
Your calls don't have errors on the carrier system.
Restore the phone as new.
If the above steps don't resolve the issue, go to an Apple Retail Store, carrier, Apple Authorized Reseller, or contact AppleCare to send the phone in for service.
Thank you for using Apple Support Communities.
All the very best,
Sterling
Maybe you are looking for
-
how do I delete contacts? help! contacts are deleted off my contacts. but when I go to messages and press in the name the contact still appears under other..... can I delete these?
-
Error message in microsoft word
Hi, i have an error message in microsoft word with XML Publisher Desktop : Error in Module_Registry. Have you an solution for me ? Thank You Nicolas PS: Log from file TemplateBuilderInstaller.log : [Word Template Builder ptb.exe Start] Date: 11/01/20
-
Clearing Filter criteria in ADF Rich Table
How to clear criterias in filters of ADFRichTable. I am using Jdeveloper 11g with latest patchset of ADfFaces 11.1.1.3.x
-
Derivation of Exch Rate from the invoice item
Hi When we are using F-28 (Incoming Payment)transaction to receive from customer we can receive an amount which is to be applied partially to many line items. In this case when the system creates a residual line item it valuates this item based on th
-
Reader Rights Credential (PKCS #12 Credential)
Hello! I'm having a problem that we need to get Reader Rights Credential which is PKCS #12 Credential and I don't know that where we can request it and what information is needed for the request (gather version numbers). This Credential is needed for