How to retrieve custom profile fields associated with different users

This is a very high-level answer, but should get you in the right direction.

First, you probably need to get all of these users. You can do that with get_users(), which will then return an array of all users.

Next loop through that array and pass each user’s ID into get_user_meta(), if that’s where you’re storing these various fields. You can either pass in a key or nothing to return all users meta associated with that user.

If you’re trying to get data that’s held by WP_User, you can use get_userdata() for each user.

I hope that helps? Most logical location to store this stuff is in user meta, in my opinion, and so update_user_meta() will be useful in actually saving these data to users to begin with.