I use DELL Latitude E5470 (i5-6300HQ 24GB RAM) at work and HP OMEN 17" UHD i7-7700HQ 16GB RAM at home.
It's not comparable. i7-7700HQ is way way way way faster than i5-6300HQ. If the difference is only $100, get i7-7700HQ.
I own both i7-7700HQ and i-7500u. I am a computer software engineer. i7-7700HQ is way more powerful than i7-7500u.
HP Envy 17" UHD (4K) touch panel 16GB RAM 512GB SSD
HP OMEN 17" UHD 16GB RAM 256GB SSD
I have just upgraded RAM from 12GB to 16GB on OMEN. So both PCs are pretty much same...