filter based on column value

I have a file with colon separated values.. the sample is attached below.
No of fields in each record/line is dependent on the value of field53.
What I need to do is to design a special filter based on specific requirement of some match of values in particular column or combination of columns.

I give an example..

my query may demand me to extarct all the lines that match the criterion

field7=2230982599 AND field8=1232600248

I want the field no and the matching pattern to be variable...

Hope I have clearly stated the problem.

pART OF THE FILE LOOKS LIKE
PACE | PCMD | 21.0 | 040507 | 18 |
3;10115950;611261;106440;3;8d2d9522;2230982599;1232600248;0;65;2;1;43;65;2;1;43;
1641;65;7;0;23811450;2;2;2;2;2;1;0;3;3;994;518;7;0;2;2;1;1;0;140;0;0;0;4;3;0;0;0
;0;0;0;2;25;27;
3;10115951;612309;1100;1;8d31de39;2230983737;1232602026;0;33;2;1;34;33;2;1;34;0;
0;0;0;982014290;2;2;2;0;2;1;0;3;3;995;823;7;0;2;0;1;2;0;56;0;0;0;0;0;0;0;0;0;0;0
;1;25;
3;10115952;612347;0;59;0;2233498694;0;2233498694;0;0;0;0;0;0;0;0;1885;230;7;0;0;
0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;1;8;0;0;0;0;0;0;0;0;0;0;0;0;4802828128;0;
3;10115953;611938;40797;3;44f2a266;2234358432;1075033834;0;12;2;2;2;12;2;2;2;617
;69;7;1;02234204762;2;2;1;1;1;1;0;3;3;993;894;7;0;2;2;1;1;0;84;0;0;0;3;3;0;0;0;0
;0;0;2;25;27;

................

Please read the RULES of these forums. Number 4 - no bumping. Reporting a post to the moderators to have someone look at your post would be considered 'bumping'.

Try...

a=7 b=2230982599 c=8 d=1232600248
awk -F';' "\$$a==$b && \$$c==$d" file