We will be leaving Lom in the morning and driving to Alesund in June. We want to be in Alesund by 7pm. We want to take the car ferry between Geiranger and Hellesylt (or vise versa) and we also want to travel the Trollstigen Pass. What is our best route?
If those are the requirements, there is basically only one option.
I don't think that itinerary is possible in one day. Assuming this trip is in summer after the roads are open, you would take highway 63 through Geiranger village up to Andalsnes which includes Trollstigen and several other scenic mountain roads. You would be travelling north and then northeast. From Andalsnes you could continue to Alesund.
The Geiranger fjord lies between Geiranger village and Hellesylt which is WEST of Geiranger. From there you could continue to Alesund.
You probably need to choose - either the fjord or Trollstigen Pass. If you want both, you need to add a day. Maybe drive Lom to Geiranger (I think that's about 100 miles, Google won't show the road right now because it is snow-closed) and a ferry ride round trip in the afternoon if the schedule works. Overnight in Geiranger. Next day drive the mountain roads to Andalsnes, then on to Alesund. 140 miles.
You could also drive from Lom to Hellesylt and take the ferry to Geiranger. But doing that plus the mountain roads to Andalsnes and then on to Alesund is too much for a day. (And we ourselves travel at a fairly fast pace.)
I'd say it can be done in a day, but it will be a long day.