Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Excel data to an array

  1. #1
    Junior Member
    Join Date
    Nov 2013
    Thanked 0 Times in 0 Posts

    Default Excel data to an array


    Ok, so I have an 1 x 1001 line of data on an excel worksheet. I need to find a way to get this data into an array in java, with the exact same dimension, that is 1 x 1001. A vector basically.

    Anyone know how to do that?

  2. #2
    Senior Member PhHein's Avatar
    Join Date
    Mar 2013
    My Mood
    Thanked 93 Times in 86 Posts

    Default Re: Excel data to an array

    Have a look at Apache POI to read the content of an Excel file. The rest should be easy.

Similar Threads

  1. Excel data to powerpoint
    By deependeroracle in forum File I/O & Other I/O Streams
    Replies: 0
    Last Post: January 10th, 2013, 08:18 AM
  2. Trouble appending data to Excel
    By loui345 in forum What's Wrong With My Code?
    Replies: 14
    Last Post: November 26th, 2012, 02:37 PM
  3. Importing excel data
    By supriya ramjee in forum File I/O & Other I/O Streams
    Replies: 11
    Last Post: October 20th, 2012, 09:39 AM
  4. Replies: 3
    Last Post: September 1st, 2011, 10:49 AM
  5. How to fetch integer data from excel
    By nehakuls in forum JDBC & Databases
    Replies: 5
    Last Post: May 14th, 2010, 01:44 AM