| Member with 2 posts. THREAD STARTER | | Join Date: Jul 2012 Experience: Beginner | |
Excel data extraction Hi - I'm having difficulty recording a macro to extract a row of data from a large excel file. The file is a csv download and is 160 columns wide and 55000 rows long. I can use ctrl-f to find a record for manual manipulation, but I need to be able to extract a row of data to another location where I can use simple formulae to present the csv data in a meaningful way. In fact there are 2 databases that I need to perform similar operations on to be able to compare side-by-side, but the 160x55000 is the biggest.
On sheet1 I have a cell location (say b6) into which I want to enter the search criteria. Sheet 2 has 2 rows of headings followed by the csv data range. Ideally I would like to search on different criteria, as the individual records include Ac no, Ref no, and name, but I'm happy to use different search boxes & macros for each type of search rather than making the macro too complicated. It would be great if the macro could locate the row of data and copy it to a fixed area which would then populate the viewing area on sheet 1 with simple formulae, which I can handle ok.
The csv file has no headers or page breaks (below the top 2 rows) & all the search criteria are contained in the first 8 columns so (I don't know if it's relevant) searching column A first (then b, c etc) would be quicker (I assume) than the ctrl-f cell-by-cell search. I hope I've explained adequately & any help would be very much appreciated - thank you. |