I need to find a simple formula that will find the status/locations listed in column C and copy them to the following rows in column A, but only if they have a valid ID and DCN listed. Someone previously helped me with a very nice formula that used a vlookup/Index/Match criteria but the problem is there were simply too many calculations, my excel file has 60000+ lines and when I try to use the formula it completely locks up.
I need something that will just copy the Status location down and will change when a new status location is listed.
Thank you in advance for any help you can provide.
Last edited by NBVC; 03-16-2010 at 02:01 PM.
What is a valid DSN number?
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Basically any row that has a alpha/numeric value in both fields B and C.
The best way to work with large amount of data and this kind of database is usually to use helper columns... These evaluate each row individually and do not create arrays of large values to manipulate.
In this case I added 2 helper columns.
I inserted 2 columns before column A
In A2, enter:and copy down.Code:=IF(D2="Status/Location:",E2,A1)
This will extract the relevant Status/Location for each row...
In B2, enter:and copy down.Code:=AND(LOOKUP(9.999999999E+307,--("0"&MID(D2,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},D2&"0 123456789")),ROW($1:$30))))<>0,LOOKUP(9.999999999E+307,--("0"&MID(E2,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},E2&"0 123456789")),ROW($1:$30))))<>0)
This looks for at least 1 digit in both columns B and C and returns TRUE if yes (that is my assumption).
In C2, Enter:This extracts the proper Status/Location if the result of column B is TrueCode:=IF(B2,A2,"")
Th
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Worked great, thanks!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks