I recommend a faster, used
Nikon 24-85mm f/2.8-4.0D IF AF Zoom Nikkor Lens for Nikon Digital SLR Cameras
This lens also has a switchable 1:2 Macro capability (close focus) from 35 mm to 85 mm.
Never mind. Your D5100 doesn't have an AF motor in it.
The old 2000-era 24-85 AF-D
will not work right with most of the d-slrs Nikon has been selling for the past eight full years...
The NEWER 24-85mm AF-S G lens (discontinued, about $300 used) from the mid-2000's era is a better performer than the 2.8~4 AF-D model. The current and the newest NEWEST 24-85 VR-G is optically the BEST of the three AF models, and is available affordably on the used market, since it was the "kit" lens bundled with tens of thousands of D600 and D610 bodies, and was basically given away for literally, almost FREE to jump-start the sales of the last of the D600's sold in the USA, for several months.
But....again...24-85 has always been designed for FX or 135 format film; virtually all Nikon lenses designed for APS-C digital begin at 18mm or 16mm or 17mm focal lengths...the old 2000-era 24-85 f/2.8~4 AF-D is like $670 new, and is a 15 year old design....
with only fair optics...we are now up to 24 and 36 Megapixel sensors....that's why there is a BRAND-NEW, modern 24-85 AF-S G with VR, and it's designed for the 24 and 36 MP FX sensors we have today.
Nikon 24-85mm f/2.8-4D AF Nikkor Test Review © 2004 KenRockwell.com
I would consider the 16-85mm AF-S DX, which is actually a ****useful lens** on ALL of the low-,mid- and highest-end APS-C Nikon bodies, AND which has good optics, and uses a modern filter size
16-85mm AF-S DX Lens Review by Thom Hogan
"
Many Nikon DX users had already picked the 18-200mm VR as their walkaround lens, partly because they were seduced by numbers. Quick question, which gives you more range: the 18-200mm or the 16-85mm? The answer might surprise you a bit. The 16-85mm has a horizontal angle of view range of 16 to 73 degrees, the 18-200mm has an angle of view range of 7 to 66 degrees. However, because the 18-200mm changes focal length so much at the long end when focused close, for many situations its angle of view is only 10 to 66 degrees, which is not looking a lot better than the 16-85mm. I personally value those extra 7 degrees at the wide end much more than the extra 6 to 9 degrees at the telephoto end--they make a more dramatic impact on my photography.Bottom line: this new lens has a very useful focal length range, one I like better than and believe is more useful than any of the other consumer DX zooms. That's a pretty positive statement, so the question is whether the other attributes of the lens and its performance hold up to that same "better" level."
and "Performance
A very good performer overall. The 16-85mm doesn't set any performance records, but it also doesn't have any glaring weaknesses.
Autofocus: This lens has the type of AF-S performance we expect. Unlike the least expensive AF-S lenses (the 18-55mm comes to mind), the wave motor in this lens is responsive.
Sharpness: Center sharpness on this lens is pretty darned good at all focal lengths. I don't really measure any differences between the center performance at 16mm and 85mm: it's high and impressive, and it's pretty much that way at maximum aperture. Technically, some of the focal lengths perform slightly better in the central area one stop down, but frankly, it's not enough for me to get excited about"
The way I see it for any DX Nikon owner, buy the USEFUL 16-85mm DX for $629, and NOT the outdated 24-85 AF-D for $699.