Hello,
You still haven't said what kind of resolution you actually NEED, just that you wanted to use 24bits becaue that is what you had. I also asked you earlier if you had the 4-20mA signal converted to 0-5 or 1-5V. With 1-5V it means that you are basically "wasting" 20% of the ADC range.

Now, with a 1-5V signal I'd configure the ADC to use the external Vref inputs instead of the VDD and VSS. That way, if you feed a stable 1V signal into Vref- and a stable 5V into Vref+ you'll use all the available resolution and you'll get 0 for 1V and 1023 for 5V. That way you get a basic resolution of 0.1bar as I outlined earlier and can increase that by oversampling.

If you try the aproach of 1024 samples remember that you need to add them into a 32bit variable as the result may not fit in a 16bit variable.

/Henrik.