Hello lindatonya,
Thanks for that info and for choosing the Apple Support Communities. If we understand correctly, you are unable to connect to cellular data as expected after leaving the range of a Wi-Fi network, even after trying some very good troubleshooting steps. If you haven't already, please manually check for carrier updates since this is an issue with cellular data:
"When a carrier settings update is available, you'll be prompted to install it. Installation takes less than one minute, and you can keep using your device normally. If your carrier releases a mandatory update, you'll see an OK button instead of an Update button to let you know that the update was downloaded and installed.
If you dismiss the installation notification, you can manually update carrier settings by following these steps:
1. Make sure that your device is connected to Wi-Fi or a cellular network.
2. Tap Settings > General > About.
3. Follow the onscreen instructions to install your carrier update.
If you set up a new eSIM or insert a new SIM card into your iPhone or iPad, you might need to download the carrier settings for your new carrier.
To see the version of carrier settings on your device, tap Settings > General > About and look next to Carrier. To see additional carrier information, tap the version number. To verify that you have the latest carrier settings installed, contact your carrier."
And those steps are from here: Manually update your carrier settings on your iPhone or iPad - Apple Support
If you are still having this issue, please contact Apple directly for further investigation: Get Support
Cheers!