A primary partition is separate and independent of an extended partition.  
Of course, you can only make an extended partition if you have room left over after making a primary partition.
IE if you have a 10GB hard drive, and your primary partition is 10GB, then you can't make an extended without 1st changing the size of your primary.
Remember to create the logical partition inside the extended partition.