T
Theuns
I tried before, and thanks Peo Sjoblom, but I still do not get what I need
The data I work with starts in Row7 of all Columns, Row1:6 is for Info etc
In Column (C7:C156), I have Registration numbers of vehicles as they fill up each day.
They are NOT sorted (non-alphabetical). They are listed as the days go by for the month. (For daily records
In Column (D7156), I have the odometer(speedo) readings of the vehicles (opposite the Reg. No. in column C.)
In Column AB (AB7:AB73), I have all of the companies vehicle Reg. No's, whether they used fuel or not during the month, sorted in alphanumeric order.
What I now need, is to get the (MIN) speedo reading for each specific Reg. No.(vehicle), and the (MAX) for the same Reg. No. in the AF & AG COLUMNS.
Thus, AF7 will look up the Reg. No. in AB7, and then scroll through C7:C156 to find all entries for that specific Reg. No. , then look in D7156 for the kilos and write the MIN kilos in Column AF7.
Same for MAX.
NOTE: sometimes there is no value in some rows of D7156 (thus zero kilometers)
MIN & MAX formulas by themselves do not do the trick, maybe I have to nest formulas somehow, I would appreciate it if someone could help
Regards
Theun
The data I work with starts in Row7 of all Columns, Row1:6 is for Info etc
In Column (C7:C156), I have Registration numbers of vehicles as they fill up each day.
They are NOT sorted (non-alphabetical). They are listed as the days go by for the month. (For daily records
In Column (D7156), I have the odometer(speedo) readings of the vehicles (opposite the Reg. No. in column C.)
In Column AB (AB7:AB73), I have all of the companies vehicle Reg. No's, whether they used fuel or not during the month, sorted in alphanumeric order.
What I now need, is to get the (MIN) speedo reading for each specific Reg. No.(vehicle), and the (MAX) for the same Reg. No. in the AF & AG COLUMNS.
Thus, AF7 will look up the Reg. No. in AB7, and then scroll through C7:C156 to find all entries for that specific Reg. No. , then look in D7156 for the kilos and write the MIN kilos in Column AF7.
Same for MAX.
NOTE: sometimes there is no value in some rows of D7156 (thus zero kilometers)
MIN & MAX formulas by themselves do not do the trick, maybe I have to nest formulas somehow, I would appreciate it if someone could help
Regards
Theun