If you have an available primary partition to be the extended partition, then you can install Ubuntu and create a shared NTFS data partition for data.
All partitions will be logical partitions inside the extended partition. I prefer to set up partitions with gparted in advance so I better know sizes. But all but the NTFS data partition can be done as part of the install.
https://help.ubuntu.com/community/WindowsDualBoot
GParted partitioning software - Full tutorial
http://www.dedoimedo.com/computers/gparted.html
For the Total space you want for Ubuntu:
Ubuntu's standard install is just / (root) & swap, but it is better to add another partition for /home if allocating over 30GB.:
Ubuntu partitions - smaller root only where hard drive space is limited.
If total space less than about 30GB just use / not separate /home or standard install.
- 10-25 GB Mountpoint / primary or logical beginning ext4(or ext3)
- all but 2 GB Mountpoint /home logical beginning ext4(or ext3)
- 2 GB Mountpoint swap logical
Depending on how much memory you have you may not absolutely need swap but having some is still recommended. I do not hibernate (boots fast enough for me) but if hibernating then you need swap equal to RAM in GiB not GB. And if dual booting with windows a shared NTFS partition is also recommended. But you usually cannot create that as part of the install, just leave some space. Or partition in advance (recommended).
One advantage of partitioning in advance is that the installer will use the swap space to speed up the install.
https://help.ubuntu.com/community/DiskSpace
/
.