It's probably cheaper to fly than to take a ferry from Barcelona to Sardinia. The Spanish low cost airline Vueling has non stop flights from BCN to both CAG and OLB on the island (seasonal, summer only).
Sardinia is a very large beautiful island that is a beach and scuba diving paradise. Historic sights are limited, but there are several quaint villages, such as Castelsardo, that could easily rival the Cinque Terre.
Public transportation options are limited and therefore having a car is really a must, especially if you want to reach the most beautiful stretches of the coast. Most roads are curvy 2 lane highways, therefore it takes a long time to go from place to place. Freeways are available only to connect the provincial capitals and are all in the interior valleys, not along the coast.
Sardinia, being so large and sparsely populated, is never super crowded, not even in August, when compared to many beach locations on the mainland (including the Cinque Terre, which RS loves so much, but that is overly crowded on most days). But of course in July and August, they receive a good number of European beach goers, therefore accommodation prices skyrocket, especially in the most famous locales of the Costa Smeralda. If you go in June or very early July, prices are still very affordable, and food is always reasonable in most places. Actually I find Sardinia (outside of the fancy rich people resorts on the Costa Smeralda) to be significantly cheaper than Sicily and way way cheaper than next door Corsica.
As I said, if you aren't willing to rent a car and/or if you have just a couple of days, I wouldn't bother. What can you see in 2 days other than Olbia and the airport?
Rick Steves does not publicize Sardinia because he loves the place and doesn't want it to share with other Americans, because he doesn't want it to become like the Cinque Terre. Most people don't know that Rick Steves secretly goes to Sardinia every year dressed like a local shepherd in order not to be recognized. You can see him here in one of his recent camouflaged trips to the island.