+ Reply to Thread
Results 1 to 28 of 28

Extracting specific numerical values from a table of data.

  1. #1
    Registered User
    Join Date
    10-08-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    14

    Question Extracting specific numerical values from a table of data.

    I'm pretty new to Excel so any help would be appreciated.

    The Picture below is part of a duty chart for a railway crane. Basically it provides the maximum safe working loads that a specific crane can lift at a specific radius, height and sector within a 360 radius. For example if I needed the crane to lift a pallet of materials from ground level to a raised platform 4m away. I would simply look at the Height values between 0 - 4 under the 4m radius column to see if the machine/crane could indeed lift the pallet of materials safely.
    Duty Chart.PNG

    Basically there are many tables like this one. There's a table of values for every 15 degree increment. Making 24 tables in total.

    As I work in the railway industry all of the machines I work with are fitted to work on railway track, which means there are another 24 tables depending different variables such as the cant of the track, or on the machines specific configuration. Basically I have hundreds of these data tables in PDF form which can make finding values within a specific range pretty tedious and time consuming.

    So in an effort to streamline things I was hoping to put all these data tables into Excel. My only problem being I don't know how to set it all up so I can easily find data within a specific range. Does anyone have any idea on how I could do this?

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Extracting specific numerical values from a table of data.

    If you don't have access to the source data that fills the PDF (the tables that feed the PDF were created in some software package after all), take a stab at an attempt of setting up how you think/would want the data to be shown, and more help can be provided from there.

    To start, make sure that every value has its own cell. The formatting can come later, but Excel works best when it has its own data to reside.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  3. #3
    Registered User
    Join Date
    10-08-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    14

    Re: Extracting specific numerical values from a table of data.

    Thankyou for your reply. Sadly the PDFs are simply scans of the paper copies that accompanied the Road Rail Vehicle when it was built. I will have to work on inputting all the tables into to Excel which may take a while since I'll have to do it when I'm not as busy.

  4. #4
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Extracting specific numerical values from a table of data.

    I know there are image to text conversion software packages available online for free, but other than that, I am not sure how you would import all the tables /:

  5. #5
    Registered User
    Join Date
    10-08-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    14

    Re: Extracting specific numerical values from a table of data.

    I'll be inputting everything the old fashion way.
    The below picture is my first attempt at inputting the tables into excel. Like I said I'm quite new to excel so I'm still figuring out the best way to attack it.
    First draft.PNG

    Basically I'm looking to do something similar for each radius.

    Say I wanted to find the lowest values within a certain range. How do I set up excel to quickly tell me the lowest value?

    For example, regarding the picture above, I wanted to find the lowest value in the height range 0 to 4 for each row of degrees. Is there a way for excel to quickly tell me this?

  6. #6
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Extracting specific numerical values from a table of data.

    Can you upload a sample workbook so we don't have to manually re-enter your manually entered data?

  7. #7
    Registered User
    Join Date
    10-08-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    14

    Re: Extracting specific numerical values from a table of data.

    Test.xlsx

    I've attached the sample table I'm experimenting with. Turns out most people in my office don't know how to work excel, so we are all a little lost.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Extracting specific numerical values from a table of data.

    There is BOUND to be a nicer way of doing this..

    with the start and finish points in N1 and N2, respectively, you could use:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  9. #9
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Extracting specific numerical values from a table of data.

    @Glenn

    It would seem you could also use simply:

    =MIN(INDEX(C5:L5,MATCH(N$1,C$4:L$4,0)):INDEX(C5:L5,MATCH(N$2,C$4:L$4,0)))

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  10. #10
    Registered User
    Join Date
    10-08-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    14

    Re: Extracting specific numerical values from a table of data.

    Thanks guys. You legends.

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Extracting specific numerical values from a table of data.

    Nice. It didn't occur to me to use I-M to set both ends of the MIN range. I'll remember that one... or try to, anyway!!

  12. #12
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Extracting specific numerical values from a table of data.

    Indeed! Once you remember this use of INDEX then you need never use volatile INDIRECT set-ups again!

    Cheers

  13. #13
    Registered User
    Join Date
    10-08-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    14

    Re: Extracting specific numerical values from a table of data.

    I appreciate the input from everyone.

    However In an effort to improve the layout could anyone show me how I would do the same thing as before but with the data tables on a different tab and including another variable.

    Basically when creating a lift plan for the machine, I will decide the radius, then decide the height range. I would then consult each table for the different 15 degree increments picking the lowest value within the range. So if anyone could show me how to do it for the 0 degree table I will be able to replicate it for the others (hopefully). Again any pointers and help will be greatly appreciated.

    My data input will be on the first sheet and the Output will be on the second sheet. I've set it up like this so if anyone else wishes to use it there's less risk of them accidently changing a value from the table.

    Testv2.xlsx

  14. #14
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Extracting specific numerical values from a table of data.

    Can you amend the sheet to show what your expected results are, and where you want them??

  15. #15
    Registered User
    Join Date
    10-08-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    14

    Re: Extracting specific numerical values from a table of data.

    So Ideally I would want to input the Radius, The Height range (start and finish). Then in the yellow highlighted box under "Min value from table", I would like for Excel to find the minimum value in the inputted radius column from the 0 degrees table, located on the other sheet.

    I will then replicate that method for every other table. I hope I'm making sense. Testv3.xlsx

  16. #16
    Registered User
    Join Date
    10-08-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    14

    Re: Extracting specific numerical values from a table of data.

    Could anyone point me to a tutorial on how I could complete something like this?

  17. #17
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Extracting specific numerical values from a table of data.

    Hi.

    I can't see any of your expected results as requested by Glenn in this file?

    Regards

  18. #18
    Registered User
    Join Date
    10-08-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    14

    Re: Extracting specific numerical values from a table of data.

    Capture 1.PNG
    Basically on page 2 I would input the values into the Yellow highlighted boxes

    Capture 2.PNG
    On Page 1 I will type out every Data table for each 15 degree increment from 0 to 345, in the format of the picture above. When I insert the data into Page 2 I would like excel to go to page one and get me the lowest value within the range of the data I inputted on page 2. So for example, I have put 4m as the radius and a height range of 0 to 4m.

    In the picture above I have highlighted, in yellow, the values within this range. I'm looking for excel to find the lowest value and then put it into the table on page 2 under the "Min Value from table" column. As you can see from the first picture, the expected result for 0 degrees is 7.7 based on the variables in the yellow highlighted boxes.


    Testv4.xlsx

    I've put the raw data on a different sheet so when people come to use this at work there's less of a chance they will accidently edit any of the tables.

  19. #19
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Extracting specific numerical values from a table of data.

    Will be extremely convoluted due to your poor layout in Page 1, which may look nice visually to you but, when it comes to interrogating it via formula-work is not at all appropriate.

    I suggest that you re-format it such that all tables are below each other (in columns A to J) and that you then insert an additional column before column A in which you list the degrees.

    After that it may be possible to help you.

    Regards

  20. #20
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Extracting specific numerical values from a table of data.

    Yep. I had fiddled with this for a while and got bogged down completely by your two by two arrangement and sort-of gave up, hoping that XOR LX could pull a rabbit out of the hat and come up with a way of doing this.

    It makes me feel a bit better that he thinks the layout is a bit of a pain in the @ss, too.

  21. #21
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Extracting specific numerical values from a table of data.

    Quote Originally Posted by Glenn Kennedy View Post
    Yep. I had fiddled with this for a while and got bogged down completely by your two by two arrangement and sort-of gave up, hoping that XOR LX could pull a rabbit out of the hat and come up with a way of doing this.

    It makes me feel a bit better that he thinks the layout is a bit of a pain in the @ss, too.
    I could, if I really tried! But you're right - that layout...

    Cheers

  22. #22
    Registered User
    Join Date
    10-08-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    14

    Re: Extracting specific numerical values from a table of data.

    Don't think my last post made it through.

    My line manager has got me bogged down working on other things at the moment. So I will upload a new copy before the weekend.

    Regarding the layout I was simply copying it from the Original PDF, so forgive me for making it a pain in the *** to work with.

    Is the layout in the picture below any better?
    Layout.PNG

  23. #23
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Extracting specific numerical values from a table of data.

    Much better, though better still if you don't repeat the Radius headers and fill the Degrees down so that they apply to each row within that set.

    Regards

  24. #24
    Registered User
    Join Date
    10-08-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    14

    Re: Extracting specific numerical values from a table of data.

    Quote Originally Posted by XOR LX View Post
    Much better, though better still if you don't repeat the Radius headers and fill the Degrees down so that they apply to each row within that set.

    Regards
    Thanks for your advice and I'll get right on sorting it as soon as I can.

  25. #25
    Registered User
    Join Date
    10-08-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    14

    Re: Extracting specific numerical values from a table of data.

    So it took a while but I finally sorted the layout on sheet 1..... I hope.



    Testv5.xlsx

  26. #26
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Extracting specific numerical values from a table of data.

    Thanks. Come to think of it, the degrees would've been fine in just the first row of each group:

    =MIN(INDEX(Data!$C$3:$K$266,7+MATCH(E5,Data!$A$3:$A$266,0)-$F$1,MATCH($C$2,Data!$C$2:$K$2,0)):INDEX(Data!$C$3:$K$266,7+MATCH(E5,Data!$A$3:$A$266,0)-$F$2,MATCH($C$2,Data!$C$2:$K$2,0)))

    Copy down as required.

    Note that the 7 used here is static and depends upon you maintaining the consistent order from 7 down to -3 that you currently have.

    Regards

  27. #27
    Registered User
    Join Date
    10-08-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    14

    Re: Extracting specific numerical values from a table of data.

    Works a treat. Thanks for all your help.

  28. #28
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Extracting specific numerical values from a table of data.

    You're welcome.

    Cheers

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 23
    Last Post: 09-19-2014, 09:48 AM
  2. Extracting Specific Data From Table
    By nick2price in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-04-2013, 06:07 PM
  3. [SOLVED] Extracting Specific data from complex table
    By Andrias14 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 08-22-2013, 10:24 AM
  4. Replies: 5
    Last Post: 12-19-2011, 07:42 PM
  5. [SOLVED] Pivot Table - Extracting specific data
    By JT in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 03:05 AM
  6. [SOLVED] Pivot Table - Extracting specific data
    By JT in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 02:05 AM
  7. [SOLVED] Pivot Table - Extracting specific data
    By JT in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 12:05 AM
  8. Pivot Table - Extracting specific data
    By JT in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-05-2005, 11:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1