Shares of Agilent Technologies (A) - Get Report gained on Thursday after the company reported fiscal third-quarter profit and sales above Wall Street expectations, and also raised its guidance for the year amid what it expects to be continued strong sales.

The maker of lab instruments and other medical technology components posted net income of $1.27 billion, or 60 cents a share, vs. $236 million, or 73 cents a share, in the year-earlier period.

On an adjusted basis, Agilent earned $240 million, or 76 cents a share, compared with $217 million, or 67 cents a share, a year ago. Revenue rose 6% to $1.27 billion.

Analysts polled by FactSet had expected Agilent to report adjusted earnings of 72 cents a share on sales of $1.24 billion.

For fiscal 2019, Agilent raised its revenue guidance to a range between $5.105 billion and $5.125 billion, and its full-year non-GAAP per-share earnings to a range of between $3.07 and $3.09 a share.

Shares of Agilent were up 8.82% at $71.35 in early trading on Thursday.